Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 33727cc6dcf1252e23bc44f5b494a1be0c46610a..894747f24349242a8758687373a3a5ec5bec81fa 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -4940,7 +4940,8 @@ static void CallApiFunctionStubHelper(MacroAssembler* masm, |
} |
MemOperand return_value_operand(fp, return_value_offset * kPointerSize); |
int stack_space = 0; |
- MemOperand is_construct_call_operand = MemOperand(sp, 4 * kPointerSize); |
+ MemOperand is_construct_call_operand = |
+ MemOperand(sp, 4 * kPointerSize + kCArgsSlotsSize); |
MemOperand* stack_space_operand = &is_construct_call_operand; |
if (argc.is_immediate()) { |
stack_space = argc.immediate() + FCA::kArgsLength + 1; |