Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 6659b6c73dacf1b1861dd60cdab12a55e73301b0..3ba2247815863c3585ca1991025fc6707b365d0d 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -162,7 +162,9 @@ bool LCodeGen::GeneratePrologue() { |
__ Push(ra, fp, cp, a1); |
// Add unused nop to ensure prologue sequence is identical for |
// full-codegen and lithium-codegen. |
- __ nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
+ __ nop(isolate()->is_memory_constrained() ? |
+ Assembler::CODE_AGE_PRE_AGED_SEQUENCE_NOP : |
+ Assembler::CODE_AGE_YOUNG_SEQUENCE_NOP); |
// Adj. FP to point to saved FP. |
__ Addu(fp, sp, Operand(2 * kPointerSize)); |
} |