Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 094f5ed346c076f39077fdd1f049083d798fecd6..d75d1b08baaf84019dfa5860318adbb235573279 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2384,7 +2384,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; |
} |