| 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..02ba67b90e3511f8943b927f1c7ad571ef44df08 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");
|
| @@ -1129,7 +1126,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| Handle<Object>(Smi::FromInt(TypeFeedbackCells::kForInFastCaseMarker),
|
| isolate()));
|
| RecordTypeFeedbackCell(stmt->ForInFeedbackId(), cell);
|
| - __ LoadHeapObject(rbx, cell);
|
| + __ Move(rbx, cell);
|
| __ Move(FieldOperand(rbx, Cell::kValueOffset),
|
| Smi::FromInt(TypeFeedbackCells::kForInSlowCaseMarker));
|
|
|
|
|