Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 86d0e6ef9b048bb5877810521498b5046ad0600b..e81f281d4ba60a6754b0872a16f46e116988049e 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -5467,19 +5467,18 @@ static void CallApiFunctionStubHelper(MacroAssembler* masm, |
typedef FunctionCallbackArguments FCA; |
- STATIC_ASSERT(FCA::kContextSaveIndex == 6); |
- STATIC_ASSERT(FCA::kCalleeIndex == 5); |
+ STATIC_ASSERT(FCA::kContextSaveIndex == 5); |
STATIC_ASSERT(FCA::kDataIndex == 4); |
STATIC_ASSERT(FCA::kReturnValueOffset == 3); |
STATIC_ASSERT(FCA::kReturnValueDefaultValueIndex == 2); |
STATIC_ASSERT(FCA::kIsolateIndex == 1); |
STATIC_ASSERT(FCA::kHolderIndex == 0); |
- STATIC_ASSERT(FCA::kArgsLength == 7); |
+ STATIC_ASSERT(FCA::kArgsLength == 6); |
DCHECK(argc.is_immediate() || a3.is(argc.reg())); |
// Save context, callee and call data. |
- __ Push(context, callee, call_data); |
+ __ Push(context, call_data); |
// Load context from callee. |
__ ld(context, FieldMemOperand(callee, JSFunction::kContextOffset)); |