Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index ad63d2e67a546e437194b83b31ca6f8419c38010..b517437fcd3366cc42b7e017e054f02d9070c699 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -5231,13 +5231,14 @@ |
typedef FunctionCallbackArguments FCA; |
- STATIC_ASSERT(FCA::kContextSaveIndex == 5); |
+ STATIC_ASSERT(FCA::kContextSaveIndex == 6); |
+ STATIC_ASSERT(FCA::kCalleeIndex == 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 == 6); |
+ STATIC_ASSERT(FCA::kArgsLength == 7); |
DCHECK(argc.is_immediate() || r3.is(argc.reg())); |
@@ -5245,6 +5246,9 @@ |
__ push(context); |
// load context from callee |
__ ldr(context, FieldMemOperand(callee, JSFunction::kContextOffset)); |
+ |
+ // callee |
+ __ push(callee); |
// call data |
__ push(call_data); |