diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-11-26 18:56:52 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-11-26 18:56:52 +0000 |
| commit | 0c8eea1b6fbd6de7f2da657f51f98131c73433a0 (patch) | |
| tree | 004d3f8bcbbbab07f48f9017348cd9109032d2b3 /llvm/lib | |
| parent | 2263733dcfe04769a36c38ef8208745fead9c427 (diff) | |
| download | bcm5719-llvm-0c8eea1b6fbd6de7f2da657f51f98131c73433a0.tar.gz bcm5719-llvm-0c8eea1b6fbd6de7f2da657f51f98131c73433a0.zip | |
Stuff after a #endif is not valid CPP input and breaks some compilers
llvm-svn: 1375
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedGraph.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp b/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp index 03eb104edb6..9d3651a256e 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/llvm/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); |

