| Index: src/crankshaft/ppc/lithium-ppc.cc
|
| diff --git a/src/crankshaft/ppc/lithium-ppc.cc b/src/crankshaft/ppc/lithium-ppc.cc
|
| index c959cbccd555a96be936aa544c71735d1c24f417..2a04d9926c1b0677dd807cd891b5c4c981b80644 100644
|
| --- a/src/crankshaft/ppc/lithium-ppc.cc
|
| +++ b/src/crankshaft/ppc/lithium-ppc.cc
|
| @@ -396,8 +396,8 @@ void LTransitionElementsKind::PrintDataTo(StringStream* stream) {
|
|
|
| int LPlatformChunk::GetNextSpillIndex(RegisterKind kind) {
|
| // Skip a slot if for a double-width slot.
|
| - if (kind == DOUBLE_REGISTERS) spill_slot_count_++;
|
| - return spill_slot_count_++;
|
| + if (kind == DOUBLE_REGISTERS) current_frame_slots_++;
|
| + return current_frame_slots_++;
|
| }
|
|
|
|
|
| @@ -2409,6 +2409,7 @@ LInstruction* LChunkBuilder::DoUnknownOSRValue(HUnknownOSRValue* instr) {
|
| Retry(kTooManySpillSlotsNeededForOSR);
|
| spill_index = 0;
|
| }
|
| + spill_index += StandardFrameConstants::kFixedSlotCount;
|
| }
|
| return DefineAsSpilled(new (zone()) LUnknownOSRValue, spill_index);
|
| }
|
|
|