Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index d346a29b0b94d254ec6a7575417e9c4d891d741f..79817c31f84a7c07109f16e292b7c48a9388f92f 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2328,7 +2328,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; |
} |