Bug 783272 - Remove code to eagerly spill phis if there's no register available. r=dvander

This commit is contained in:
Jan de Mooij 2012-08-17 11:37:53 +02:00
parent e2068fe2bb
commit 109d51769b

View File

@ -868,16 +868,6 @@ LinearScanAllocator::allocateRegisters()
continue; continue;
} }
IonSpew(IonSpew_RegAlloc, " Unable to allocate free register");
// Phis can't spill other intervals at their definition
if (!current->index() && current->reg() && current->reg()->ins()->isPhi()) {
IonSpew(IonSpew_RegAlloc, " Can't split at phi, spilling this interval");
if (!spill())
return false;
continue;
}
IonSpew(IonSpew_RegAlloc, " Attempting blocked register allocation"); IonSpew(IonSpew_RegAlloc, " Attempting blocked register allocation");
// If we absolutely need a register or our next use is closer than the // If we absolutely need a register or our next use is closer than the