| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index bc7e6a14b83e57077260088ee6e277a2ec72c05e..a2a6151d1947999c99a5c3074ad4b4cd36a5b45c 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -174,6 +174,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.
|
| @@ -2521,9 +2522,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,
|
| @@ -2538,6 +2541,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());
|
| + }
|
| }
|
|
|
|
|
|
|