Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 3ef6581755dd7eea248137b7dd94f6107cd1b720..f4cf4705fd7895485ddf719e76c7bb611cb51c15 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -5656,18 +5656,19 @@ |
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() || x3.is(argc.reg())); |
// FunctionCallbackArguments: context, callee and call data. |
- __ Push(context, call_data); |
+ __ Push(context, callee, call_data); |
// Load context from callee |
__ Ldr(context, FieldMemOperand(callee, JSFunction::kContextOffset)); |