mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
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
This commit is contained in:
parent
d23b1d31c0
commit
4ed17bad69
@ -717,7 +717,7 @@ SchedGraph::addNonSSAEdgesForValue(const Instruction* instr,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif NEED_SEPARATE_NONSSA_EDGES_CODE
|
#endif //NEED_SEPARATE_NONSSA_EDGES_CODE
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -853,7 +853,7 @@ SchedGraph::buildNodesforBB(const TargetMachine& target,
|
|||||||
memNodeVec, regToRefVecMap,valueToDefVecMap);
|
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.
|
// TODO: This could probably be done much more efficiently.
|
||||||
for (BasicBlock::const_iterator II = bb->begin(); II != bb->end(); ++II)
|
for (BasicBlock::const_iterator II = bb->begin(); II != bb->end(); ++II)
|
||||||
this->addNonSSAEdgesForValue(*II, target);
|
this->addNonSSAEdgesForValue(*II, target);
|
||||||
#endif NEED_SEPARATE_NONSSA_EDGES_CODE
|
#endif //NEED_SEPARATE_NONSSA_EDGES_CODE
|
||||||
|
|
||||||
// Then add edges for dependences on machine registers
|
// Then add edges for dependences on machine registers
|
||||||
this->addMachineRegEdges(regToRefVecMap, target);
|
this->addMachineRegEdges(regToRefVecMap, target);
|
||||||
|
@ -717,7 +717,7 @@ SchedGraph::addNonSSAEdgesForValue(const Instruction* instr,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif NEED_SEPARATE_NONSSA_EDGES_CODE
|
#endif //NEED_SEPARATE_NONSSA_EDGES_CODE
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -853,7 +853,7 @@ SchedGraph::buildNodesforBB(const TargetMachine& target,
|
|||||||
memNodeVec, regToRefVecMap,valueToDefVecMap);
|
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.
|
// TODO: This could probably be done much more efficiently.
|
||||||
for (BasicBlock::const_iterator II = bb->begin(); II != bb->end(); ++II)
|
for (BasicBlock::const_iterator II = bb->begin(); II != bb->end(); ++II)
|
||||||
this->addNonSSAEdgesForValue(*II, target);
|
this->addNonSSAEdgesForValue(*II, target);
|
||||||
#endif NEED_SEPARATE_NONSSA_EDGES_CODE
|
#endif //NEED_SEPARATE_NONSSA_EDGES_CODE
|
||||||
|
|
||||||
// Then add edges for dependences on machine registers
|
// Then add edges for dependences on machine registers
|
||||||
this->addMachineRegEdges(regToRefVecMap, target);
|
this->addMachineRegEdges(regToRefVecMap, target);
|
||||||
|
Loading…
Reference in New Issue
Block a user