| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index 61eb7d13c14d4d67e8f3c10e1407497ea9b77e69..5f97ac939bd3e823fa3175e5ebf37daeebe7f9a0 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -168,6 +168,7 @@ bool LCodeGen::GeneratePrologue() {
|
| } else {
|
| __ push(rdi); // Callee's JS function.
|
| }
|
| + info()->AddNoFrameRange(0, masm_->pc_offset());
|
| }
|
|
|
| // Reserve space for the stack slots needed by the code.
|
| @@ -2533,9 +2534,11 @@ void LCodeGen::DoReturn(LReturn* instr) {
|
| count++;
|
| }
|
| }
|
| + int no_frame_start = -1;
|
| if (NeedsEagerFrame()) {
|
| __ movq(rsp, rbp);
|
| __ pop(rbp);
|
| + no_frame_start = masm_->pc_offset();
|
| }
|
| if (instr->has_constant_parameter_count()) {
|
| __ Ret((ToInteger32(instr->constant_parameter_count()) + 1) * kPointerSize,
|
| @@ -2550,6 +2553,9 @@ void LCodeGen::DoReturn(LReturn* instr) {
|
| __ addq(rsp, reg);
|
| __ jmp(return_addr_reg);
|
| }
|
| + if (no_frame_start != -1) {
|
| + info_->AddNoFrameRange(no_frame_start, masm_->pc_offset());
|
| + }
|
| }
|
|
|
|
|
|
|