Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 3c24a2abd6299b669a97abd82380f037abd92f8b..2b0f6118236d58ccf69d04fd28c3f4554cbb825c 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2898,9 +2898,11 @@ void LCodeGen::DoReturn(LReturn* instr) { |
count++; |
} |
} |
+ int no_frame_start = -1; |
if (NeedsEagerFrame()) { |
__ mov(sp, fp); |
__ ldm(ia_w, sp, fp.bit() | lr.bit()); |
+ no_frame_start = masm_->pc_offset(); |
} |
if (instr->has_constant_parameter_count()) { |
int parameter_count = ToInteger32(instr->constant_parameter_count()); |
@@ -2916,6 +2918,10 @@ void LCodeGen::DoReturn(LReturn* instr) { |
} |
__ Jump(lr); |
+ |
+ if (no_frame_start != -1) { |
+ info_->AddNoFrameRange(no_frame_start, masm_->pc_offset()); |
+ } |
} |