| Index: src/a64/code-stubs-a64.cc
|
| diff --git a/src/a64/code-stubs-a64.cc b/src/a64/code-stubs-a64.cc
|
| index 4cf29d373b9291e0307e189ea6a61d43b7671e02..e0dcd3b71de6a85b47c9a2fde690b0a0f78ef652 100644
|
| --- a/src/a64/code-stubs-a64.cc
|
| +++ b/src/a64/code-stubs-a64.cc
|
| @@ -6713,8 +6713,8 @@ void ProfileEntryHookStub::Generate(MacroAssembler* masm) {
|
| #endif
|
|
|
| // The caller's return address is above the saved temporaries.
|
| - // Grab that for the second argument to the hook.
|
| - __ Peek(x1, kNumSavedRegs * kPointerSize);
|
| + // Grab its location for the second argument to the hook.
|
| + __ Add(x1, __ StackPointer(), kNumSavedRegs * kPointerSize);
|
|
|
| {
|
| // Create a dummy frame, as CallCFunction requires this.
|
|
|