Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index c3738700c0d7796a412945b133cc7540523b6da8..d1e4106dabe8d720c51ea6770bf489c40e65c4ea 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -2634,14 +2634,13 @@ void MacroAssembler::TruncateHeapNumberToI(Register result, |
void MacroAssembler::StubPrologue() { |
- DCHECK(StackPointer().Is(jssp)); |
UseScratchRegisterScope temps(this); |
Register temp = temps.AcquireX(); |
__ Mov(temp, Smi::FromInt(StackFrame::STUB)); |
// Compiled stubs don't age, and so they don't need the predictable code |
// ageing sequence. |
__ Push(lr, fp, cp, temp); |
- __ Add(fp, jssp, StandardFrameConstants::kFixedFrameSizeFromFp); |
+ __ Add(fp, StackPointer(), StandardFrameConstants::kFixedFrameSizeFromFp); |
} |