Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index da2d3fd62ce1f8752d108049003369a7dd401ac1..5b6ce4cb38e95a72ea3e772b63b9555698822dd9 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -175,6 +175,7 @@ void FullCodeGenerator::Generate() { |
// Adjust FP to point to saved FP. |
__ add(fp, sp, Operand(2 * kPointerSize)); |
} |
+ info->AddNoFrameRange(0, masm_->pc_offset()); |
{ Comment cmnt(masm_, "[ Allocate locals"); |
int locals_count = info->scope()->num_stack_slots(); |
@@ -438,9 +439,11 @@ void FullCodeGenerator::EmitReturnSequence() { |
PredictableCodeSizeScope predictable(masm_, -1); |
__ RecordJSReturn(); |
masm_->mov(sp, fp); |
+ int no_frame_start = masm_->pc_offset(); |
masm_->ldm(ia_w, sp, fp.bit() | lr.bit()); |
masm_->add(sp, sp, Operand(sp_delta)); |
masm_->Jump(lr); |
+ info_->AddNoFrameRange(no_frame_start, masm_->pc_offset()); |
} |
#ifdef DEBUG |