| Index: src/mips/macro-assembler-mips.cc
|
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
|
| index e1a86ed0c0af502c5dbe2667864e39f8a9d01399..fa2e813bba0edf7dc3103bc8887de3ff21c4f9b0 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -4452,8 +4452,8 @@ void MacroAssembler::LoadGlobalFunctionInitialMap(Register function,
|
| }
|
|
|
|
|
| -void MacroAssembler::Prologue(PrologueFrameMode frame_mode) {
|
| - if (frame_mode == BUILD_STUB_FRAME) {
|
| +void MacroAssembler::Prologue(CompilationInfo* info) {
|
| + if (info->IsStub()) {
|
| Push(ra, fp, cp);
|
| Push(Smi::FromInt(StackFrame::STUB));
|
| // Adjust FP to point to saved FP.
|
| @@ -4463,7 +4463,7 @@ void MacroAssembler::Prologue(PrologueFrameMode frame_mode) {
|
| this, kNoCodeAgeSequenceLength);
|
| // The following three instructions must remain together and unmodified
|
| // for code aging to work properly.
|
| - if (isolate()->IsCodePreAgingActive()) {
|
| + if (info->IsCodePreAgingActive()) {
|
| // Pre-age the code.
|
| Code* stub = Code::GetPreAgedCodeAgeStub(isolate());
|
| nop(Assembler::CODE_AGE_MARKER_NOP);
|
|
|