Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index cffe5b16266170542ac58f82184264f3d3de7650..371c16c8e6dab1daab58c074b95f82178f6ee70b 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2584,7 +2584,7 @@ LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { |
LInstruction* LChunkBuilder::DoUnknownOSRValue(HUnknownOSRValue* instr) { |
int spill_index = chunk()->GetNextSpillIndex(false); // Not double-width. |
- if (spill_index > LUnallocated::kMaxFixedIndex) { |
+ if (spill_index > LUnallocated::kMaxFixedSlotIndex) { |
Abort("Too many spill slots needed for OSR"); |
spill_index = 0; |
} |