Chromium Code Reviews| Index: src/arm/lithium-arm.cc |
| =================================================================== |
| --- src/arm/lithium-arm.cc (revision 8369) |
| +++ src/arm/lithium-arm.cc (working copy) |
| @@ -2122,6 +2122,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); |
| } |