Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 20c56226e8cca27078e518d32fb357ecd1e5b49b..db1ac61212b36306fc89af5b362049ef6636398b 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -152,10 +152,7 @@ void FullCodeGenerator::Generate() { |
FrameScope frame_scope(masm_, StackFrame::MANUAL); |
info->set_prologue_offset(masm_->pc_offset()); |
- __ push(rbp); // Caller's frame pointer. |
- __ movq(rbp, rsp); |
- __ push(rsi); // Callee's context. |
- __ push(rdi); // Callee's JS Function. |
+ __ Prologue(BUILD_FUNCTION_FRAME); |
info->AddNoFrameRange(0, masm_->pc_offset()); |
{ Comment cmnt(masm_, "[ Allocate locals"); |