Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index cefe97c8a5c27a4cd941e929fab78bf47261d9b5..56276102a03d4aa56a8ee277ba10c69b91fdb2c3 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -5441,19 +5441,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. |
__ lw(context, FieldMemOperand(callee, JSFunction::kContextOffset)); |