Index: src/a64/full-codegen-a64.cc |
diff --git a/src/a64/full-codegen-a64.cc b/src/a64/full-codegen-a64.cc |
index 4414cb391cf770df81f5ce78eda48e44a1c5d220..776053094ca68ffc553be7bc2aa8840ba5bae300 100644 |
--- a/src/a64/full-codegen-a64.cc |
+++ b/src/a64/full-codegen-a64.cc |
@@ -86,10 +86,10 @@ class JumpPatchSite BASE_EMBEDDED { |
} |
void EmitJumpIfEitherNotSmi(Register reg1, Register reg2, Label* target) { |
- // We need to use ip0, so don't allow access to the MacroAssembler. |
- InstructionAccurateScope scope(masm_); |
- __ orr(ip0, reg1, reg2); |
- EmitJumpIfNotSmi(ip0, target); |
+ UseScratchRegisterScope temps(masm_); |
+ Register temp = temps.AcquireX(); |
+ __ Orr(temp, reg1, reg2); |
+ EmitJumpIfNotSmi(temp, target); |
} |
void EmitPatchInfo() { |