| Index: src/arm/full-codegen-arm.cc
|
| diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc
|
| index 0cbd46ed1d7a0c190e29dd4225339b37199bbb01..831467accfe281270c279f41289fb267caa6eda4 100644
|
| --- a/src/arm/full-codegen-arm.cc
|
| +++ b/src/arm/full-codegen-arm.cc
|
| @@ -70,6 +70,7 @@ class JumpPatchSite BASE_EMBEDDED {
|
| // the inlined smi code.
|
| void EmitJumpIfNotSmi(Register reg, Label* target) {
|
| ASSERT(!patch_site_.is_bound() && !info_emitted_);
|
| + Assembler::BlockConstPoolScope block_const_pool(masm_);
|
| __ bind(&patch_site_);
|
| __ cmp(reg, Operand(reg));
|
| // Don't use b(al, ...) as that might emit the constant pool right after the
|
| @@ -82,6 +83,7 @@ class JumpPatchSite BASE_EMBEDDED {
|
| // the inlined smi code.
|
| void EmitJumpIfSmi(Register reg, Label* target) {
|
| ASSERT(!patch_site_.is_bound() && !info_emitted_);
|
| + Assembler::BlockConstPoolScope block_const_pool(masm_);
|
| __ bind(&patch_site_);
|
| __ cmp(reg, Operand(reg));
|
| __ b(ne, target); // Never taken before patched.
|
|
|