Index: src/ia32/lithium-ia32.cc |
=================================================================== |
--- src/ia32/lithium-ia32.cc (revision 8369) |
+++ src/ia32/lithium-ia32.cc (working copy) |
@@ -2170,6 +2170,7 @@ |
int spill_index = chunk()->GetNextSpillIndex(false); // Not double-width. |
if (spill_index > LUnallocated::kMaxFixedIndex) { |
Abort("Too many spill slots needed for OSR"); |
+ spill_index = 0; |
} |
return DefineAsSpilled(new LUnknownOSRValue, spill_index); |
} |