| Index: src/arm64/code-stubs-arm64.cc
|
| diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc
|
| index 5ccf0de5bfe40acb57441dead8917c7623d993c7..8e5fa8a35437e2aa9cbfc9b31541ab4702db2ef9 100644
|
| --- a/src/arm64/code-stubs-arm64.cc
|
| +++ b/src/arm64/code-stubs-arm64.cc
|
| @@ -3181,8 +3181,8 @@ void CallICStub::Generate(MacroAssembler* masm) {
|
| void CallICStub::GenerateMiss(MacroAssembler* masm) {
|
| ASM_LOCATION("CallICStub[Miss]");
|
|
|
| - // Get the receiver of the function from the stack; 1 ~ return address.
|
| - __ Peek(x4, (arg_count() + 1) * kPointerSize);
|
| + // Get the receiver of the function from the stack.
|
| + __ Peek(x4, arg_count() * kPointerSize);
|
|
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
|
|