Ejemplo n.º 1
0
void LinearScan::insertAllocFreeSpill(Trace* trace, uint32 numExtraSpillLocs) {
  insertAllocFreeSpillAux(trace, numExtraSpillLocs);
  Trace::List& exitTraces = trace->getExitTraces();
  for (Trace::Iterator it = exitTraces.begin(); it != exitTraces.end(); ++it) {
    insertAllocFreeSpillAux(*it, numExtraSpillLocs);
  }
}
Ejemplo n.º 2
0
void LinearScan::insertAllocFreeSpill(Trace* trace, uint32 numExtraSpillLocs) {
  insertAllocFreeSpillAux(trace, numExtraSpillLocs);
  for (Trace* exit : trace->getExitTraces()) {
    insertAllocFreeSpillAux(exit, numExtraSpillLocs);
  }
}