Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 0259054e4417e495b8a3e4751a27acd0cac6a6af..32cd2dbc130bfdb4dab1f0856d10d7ff8a0385e9 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -652,8 +652,8 @@ Condition MacroAssembler::CheckBothPositiveSmi(Register first, |
if (first.is(second)) { |
return CheckPositiveSmi(first); |
} |
- movl(kScratchRegister, first); |
- orl(kScratchRegister, second); |
+ movq(kScratchRegister, first); |
+ or_(kScratchRegister, second); |
rol(kScratchRegister, Immediate(1)); |
testl(kScratchRegister, Immediate(0x03)); |
return zero; |