Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index 48155a12c6af18e7715c27df08d7ba553b2f527a..996c8792490552c98138fc90df5559a3e94551c8 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -570,7 +570,7 @@ void AdjustStackPointerForTailCall(MacroAssembler* masm, |
masm->Dsubu(sp, sp, stack_slot_delta * kPointerSize); |
state->IncreaseSPDelta(stack_slot_delta); |
} else if (allow_shrinkage && stack_slot_delta < 0) { |
- masm->Daddu(sp, sp, stack_slot_delta * kPointerSize); |
+ masm->Daddu(sp, sp, -stack_slot_delta * kPointerSize); |
state->IncreaseSPDelta(stack_slot_delta); |
} |
} |