| Index: src/crankshaft/arm64/lithium-arm64.cc
|
| diff --git a/src/crankshaft/arm64/lithium-arm64.cc b/src/crankshaft/arm64/lithium-arm64.cc
|
| index c4b0520cb1278ae3da40eab485230016982bbc8c..298e6b519f1256461c40fdb08758a71b9f932dd4 100644
|
| --- a/src/crankshaft/arm64/lithium-arm64.cc
|
| +++ b/src/crankshaft/arm64/lithium-arm64.cc
|
| @@ -527,7 +527,11 @@
|
| return operand;
|
| }
|
|
|
| -int LPlatformChunk::GetNextSpillIndex() { return current_frame_slots_++; }
|
| +
|
| +int LPlatformChunk::GetNextSpillIndex() {
|
| + return spill_slot_count_++;
|
| +}
|
| +
|
|
|
| LOperand* LPlatformChunk::GetNextSpillSlot(RegisterKind kind) {
|
| int index = GetNextSpillIndex();
|
| @@ -2643,7 +2647,6 @@
|
| Retry(kTooManySpillSlotsNeededForOSR);
|
| spill_index = 0;
|
| }
|
| - spill_index += StandardFrameConstants::kFixedSlotCount;
|
| }
|
| return DefineAsSpilled(new(zone()) LUnknownOSRValue, spill_index);
|
| }
|
|
|