Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index ac8a7d3193b590f5a02b33b0e83fad6a7568a7af..f354843e4ada8c2311da5cecc1a1ffb2dd55174b 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -902,8 +902,8 @@ void MacroAssembler::LoadConstantPoolPointerRegister() { |
} |
-void MacroAssembler::Prologue(PrologueFrameMode frame_mode) { |
- if (frame_mode == BUILD_STUB_FRAME) { |
+void MacroAssembler::Prologue(CompilationInfo* info) { |
+ if (info->IsStub()) { |
PushFixedFrame(); |
Push(Smi::FromInt(StackFrame::STUB)); |
// Adjust FP to point to saved FP. |
@@ -913,7 +913,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()); |
add(r0, pc, Operand(-8)); |