Index: src/a64/full-codegen-a64.cc |
diff --git a/src/a64/full-codegen-a64.cc b/src/a64/full-codegen-a64.cc |
index 41ee16e1a92be4aadaed95a3435e2722c9524890..8dc5888f07459914451b5b2de951f3cbc0cb5f6f 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() { |