Reviewers: danno, dcarney, gergely.kis.imgtec, paul.l..., balazs.kilvady, dusmil.imgtec,

Message:
PTAL.

Description:
MIPS: Fix after 'MIPS: split api call stubs into accessor and function call
stubs'.

Port 6950ead0b0a8373441dc8f8d3b2c316e82549ce9

This commit fixes the remaining test failures after:
ec52f8df7f0956ecaed0422110847ee5634c1304

BUG=

Please review this at https://codereview.chromium.org/855183003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+2, -1 lines):
  M src/mips/code-stubs-mips.cc


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;


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to