Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index bc4b2e3951660164e3463146bfabd0d3be2e36aa..d084b68e96c6bd44b1019a202194636a8a451dba 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -448,9 +448,11 @@ void FullCodeGenerator::EmitReturnSequence() { |
PredictableCodeSizeScope predictable(masm_, -1); |
__ RecordJSReturn(); |
int no_frame_start = __ LeaveFrame(StackFrame::JAVA_SCRIPT); |
- __ add(sp, sp, Operand(sp_delta)); |
- __ Jump(lr); |
- info_->AddNoFrameRange(no_frame_start, masm_->pc_offset()); |
+ { ConstantPoolUnavailableScope constant_pool_unavailable(masm_); |
+ __ add(sp, sp, Operand(sp_delta)); |
+ __ Jump(lr); |
+ info_->AddNoFrameRange(no_frame_start, masm_->pc_offset()); |
+ } |
} |
#ifdef DEBUG |