Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 56717a29e129e19071133d6fecb60db19bfbad56..e718d10cd87ca6daef1100dea515a123cf18c029 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -260,7 +260,7 @@ bool LCodeGen::GenerateDeferredCode() { |
__ stm(db_w, sp, cp.bit() | fp.bit() | lr.bit()); |
__ mov(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); |
__ push(scratch0()); |
- __ add(fp, sp, Operand(2 * kPointerSize)); |
+ __ add(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); |
Comment(";;; Deferred code"); |
} |
code->Generate(); |
@@ -325,7 +325,7 @@ bool LCodeGen::GenerateDeoptJumpTable() { |
ASSERT(info()->IsStub()); |
__ mov(scratch0(), Operand(Smi::FromInt(StackFrame::STUB))); |
__ push(scratch0()); |
- __ add(fp, sp, Operand(2 * kPointerSize)); |
+ __ add(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); |
__ mov(lr, Operand(pc), LeaveCC, al); |
__ mov(pc, ip); |
} |