Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index f260026e034696b7e78db29028fa7ca765036d38..81292816dd237d075152e10564dd5ecfe3a6fca7 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -908,8 +908,8 @@ void MacroAssembler::AssertNotSmi(Register object) { |
} |
-void MacroAssembler::Prologue(PrologueFrameMode frame_mode) { |
- if (frame_mode == BUILD_STUB_FRAME) { |
+void MacroAssembler::Prologue(CompilationInfo* info) { |
+ if (info->IsStub()) { |
push(ebp); // Caller's frame pointer. |
mov(ebp, esp); |
push(esi); // Callee's context. |
@@ -917,7 +917,7 @@ void MacroAssembler::Prologue(PrologueFrameMode frame_mode) { |
} else { |
PredictableCodeSizeScope predictible_code_size_scope(this, |
kNoCodeAgeSequenceLength); |
- if (isolate()->IsCodePreAgingActive()) { |
+ if (info->IsCodePreAgingActive()) { |
// Pre-age the code. |
call(isolate()->builtins()->MarkCodeAsExecutedOnce(), |
RelocInfo::CODE_AGE_SEQUENCE); |