Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 7e81ca60e8cd3d4465385d0a8cdee13da80ecce2..0d84ef37bb4c3c6a3068e0259dec87448510396b 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2453,7 +2453,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; |
} |