Chromium Code Reviews| Index: src/ia32/full-codegen-ia32.cc |
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
| index 6d39cc1e6e5045bd2f7237e835f2384d37085f1b..3a32a49a42d6fad52f726e3c2df12c76eaf25f96 100644 |
| --- a/src/ia32/full-codegen-ia32.cc |
| +++ b/src/ia32/full-codegen-ia32.cc |
| @@ -160,7 +160,15 @@ void FullCodeGenerator::Generate() { |
| info->set_prologue_offset(masm_->pc_offset()); |
| __ push(ebp); // Caller's frame pointer. |
| __ mov(ebp, esp); |
| - __ push(esi); // Callee's context. |
| + if (isolate()->is_memory_constrained()) { |
| + // This sequence marks pre-aged code. |
| + __ push(esi); // Callee's context. |
| + __ nop(); |
|
Michael Starzinger
2013/09/17 22:56:44
IIUC this is a glorified way to store exactly one
|
| + } else { |
| + // This sequence marks non-aged code. |
| + __ nop(); |
| + __ push(esi); // Callee's context |
| + } |
| __ push(edi); // Callee's JS Function. |
| info->AddNoFrameRange(0, masm_->pc_offset()); |