From 109d51769b6313ba09d4f45d16fb02bb952cdcc5 Mon Sep 17 00:00:00 2001 From: Jan de Mooij Date: Fri, 17 Aug 2012 11:37:53 +0200 Subject: [PATCH] Bug 783272 - Remove code to eagerly spill phis if there's no register available. r=dvander --- js/src/ion/LinearScan.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/js/src/ion/LinearScan.cpp b/js/src/ion/LinearScan.cpp index 28f1ebea8fb..ceac1a7d2d0 100644 --- a/js/src/ion/LinearScan.cpp +++ b/js/src/ion/LinearScan.cpp @@ -868,16 +868,6 @@ LinearScanAllocator::allocateRegisters() 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"); // If we absolutely need a register or our next use is closer than the