| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 301ceba1b168310b356622bda4c812074c177ec0..de18aa886bf50f0c21912e16c27d5757ed33adcf 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -173,6 +173,7 @@ bool LCodeGen::GeneratePrologue() {
|
| __ Addu(fp, sp, Operand(2 * kPointerSize));
|
| }
|
| frame_is_built_ = true;
|
| + info_->AddNoFrameRange(0, masm_->pc_offset());
|
| }
|
|
|
| // Reserve space for the stack slots needed by the code.
|
| @@ -2547,9 +2548,11 @@ void LCodeGen::DoReturn(LReturn* instr) {
|
| count++;
|
| }
|
| }
|
| + int no_frame_start = -1;
|
| if (NeedsEagerFrame()) {
|
| __ mov(sp, fp);
|
| __ Pop(ra, fp);
|
| + no_frame_start = masm_->pc_offset();
|
| }
|
| if (instr->has_constant_parameter_count()) {
|
| int parameter_count = ToInteger32(instr->constant_parameter_count());
|
| @@ -2566,6 +2569,10 @@ void LCodeGen::DoReturn(LReturn* instr) {
|
| }
|
|
|
| __ Jump(ra);
|
| +
|
| + if (no_frame_start != -1) {
|
| + info_->AddNoFrameRange(no_frame_start, masm_->pc_offset());
|
| + }
|
| }
|
|
|
|
|
|
|