search for: findsafepoints

Displaying 1 result from an estimated 1 matches for "findsafepoints".

2011 Oct 31
2
[LLVMdev] Adding a custom GC safe point creation phase
...p;F) { GCFunctionInfo *FI = new GCFunctionInfo(F, *this); Functions.push_back(FI); @@ -370,6 +379,7 @@ MCSymbol* Label = InsertLabel(*CI->getParent(), RAI, CI->getDebugLoc()); FI->addSafePoint(GC::PostCall, Label, 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().findCustomSafePoi...