aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/InstrSched/SchedGraph.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-26 18:56:52 +0000
committerChris Lattner <sabre@nondot.org>2001-11-26 18:56:52 +0000
commit4ed17bad69ef7f61bf6236e757732b9ecffa1c59 (patch)
tree55c5e5ad1d5f656c3754cf3e3bd30c40964f1877 /lib/CodeGen/InstrSched/SchedGraph.cpp
parentd23b1d31c0a4d46f3ee78cd5393bea571c29888c (diff)
Stuff after a #endif is not valid CPP input and breaks some compilers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1375 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSched/SchedGraph.cpp')
-rw-r--r--lib/CodeGen/InstrSched/SchedGraph.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/InstrSched/SchedGraph.cpp b/lib/CodeGen/InstrSched/SchedGraph.cpp
index 03eb104edb..9d3651a256 100644
--- a/lib/CodeGen/InstrSched/SchedGraph.cpp
+++ b/lib/CodeGen/InstrSched/SchedGraph.cpp
@@ -717,7 +717,7 @@ SchedGraph::addNonSSAEdgesForValue(const Instruction* instr,
}
}
}
-#endif NEED_SEPARATE_NONSSA_EDGES_CODE
+#endif //NEED_SEPARATE_NONSSA_EDGES_CODE
void
@@ -853,7 +853,7 @@ SchedGraph::buildNodesforBB(const TargetMachine& target,
memNodeVec, regToRefVecMap,valueToDefVecMap);
}
}
-#endif REALLY_NEED_TO_SEARCH_SUCCESSOR_PHIS
+#endif //REALLY_NEED_TO_SEARCH_SUCCESSOR_PHIS
}
@@ -939,7 +939,7 @@ SchedGraph::buildGraph(const TargetMachine& target)
// TODO: This could probably be done much more efficiently.
for (BasicBlock::const_iterator II = bb->begin(); II != bb->end(); ++II)
this->addNonSSAEdgesForValue(*II, target);
-#endif NEED_SEPARATE_NONSSA_EDGES_CODE
+#endif //NEED_SEPARATE_NONSSA_EDGES_CODE
// Then add edges for dependences on machine registers
this->addMachineRegEdges(regToRefVecMap, target);