Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 6654263989e82501ff86d2f1096061d4de82dd68..256e1616c8bacccab1817792a49ddc4ccab1b2fb 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1820,7 +1820,7 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
__ mov(ip, Operand(scratch1, ASR, 31)); |
__ cmp(ip, Operand(scratch2)); |
__ b(ne, &stub_call); |
- __ tst(scratch1, Operand(scratch1)); |
+ __ cmp(scratch1, Operand(0)); |
__ mov(right, Operand(scratch1), LeaveCC, ne); |
__ b(ne, &done); |
__ add(scratch2, right, Operand(left), SetCC); |