Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 113fd89ba792bbb0b43d9b04261846b0d684df98..c928523f446fc6e17aebd70b7cf102990137a3cb 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -149,7 +149,11 @@ bool LCodeGen::GeneratePrologue() { |
if (NeedsEagerFrame()) { |
ASSERT(!frame_is_built_); |
frame_is_built_ = true; |
- __ Prologue(info()); |
+ if (info()->IsStub()) { |
+ __ StubPrologue(); |
+ } else { |
+ __ Prologue(info()->IsCodePreAgingActive()); |
+ } |
info()->AddNoFrameRange(0, masm_->pc_offset()); |
} |