| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index 860646c2fd60417e2fdfe5640eabe15cb61c0211..bf81edc8dd8bc2242f23011bb741ce896b5c6683 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -209,7 +209,15 @@ bool LCodeGen::GeneratePrologue() {
|
| __ push(ebp); // Caller's frame pointer.
|
| __ mov(ebp, esp);
|
| info()->AddNoFrameRange(0, masm_->pc_offset());
|
| - __ push(esi); // Callee's context.
|
| + if (isolate()->is_memory_constrained()) {
|
| + // This sequence marks pre-aged code.
|
| + __ push(esi); // Callee's context.
|
| + __ nop();
|
| + } else {
|
| + // This sequence marks non-aged code.
|
| + __ nop();
|
| + __ push(esi); // Callee's context
|
| + }
|
| if (info()->IsStub()) {
|
| __ push(Immediate(Smi::FromInt(StackFrame::STUB)));
|
| } else {
|
|
|