Displaying 1 result from an estimated 1 matches for "getstrategy".
Did you mean:
netstrategy
2011 Oct 31
2
[LLVMdev] Adding a custom GC safe point creation phase
...el, CI->getDebugLoc());
}
+
}
void MachineCodeAnalysis::FindSafePoints(MachineFunction &MF) {
@@ -405,9 +415,13 @@
// Find the size of the stack frame.
FI->setFrameSize(MF.getFrameInfo()->getStackSize());
-
+
// Find all safe points.
- FindSafePoints(MF);
+ if (FI->getStrategy().customSafePoints()) {
+ FI->getStrategy().findCustomSafePoints(*FI, MF);
+ } else {
+ FindSafePoints(MF);
+ }
// Find the stack offsets for all roots.
FindStackOffsets(MF);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/...