| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index cd1266701adef19770e8d8a9920fd11b92da2cff..723cbb9feaa9731ab8710f7c5da4b960d87be97c 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -5220,14 +5220,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() || rax.is(argc.reg()));
|
|
|
| @@ -5236,9 +5235,6 @@ static void CallApiFunctionStubHelper(MacroAssembler* masm,
|
| // context save
|
| __ Push(context);
|
|
|
| - // callee
|
| - __ Push(callee);
|
| -
|
| // call data
|
| __ Push(call_data);
|
| Register scratch = call_data;
|
|
|