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