Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index b517437fcd3366cc42b7e017e054f02d9070c699..ad63d2e67a546e437194b83b31ca6f8419c38010 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -5231,14 +5231,13 @@ 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() || r3.is(argc.reg())); |
@@ -5247,9 +5246,6 @@ static void CallApiFunctionStubHelper(MacroAssembler* masm, |
// load context from callee |
__ ldr(context, FieldMemOperand(callee, JSFunction::kContextOffset)); |
- // callee |
- __ push(callee); |
- |
// call data |
__ push(call_data); |