Index: src/arm/fast-codegen-arm.cc |
=================================================================== |
--- src/arm/fast-codegen-arm.cc (revision 3618) |
+++ src/arm/fast-codegen-arm.cc (working copy) |
@@ -1592,13 +1592,13 @@ |
__ pop(r1); |
break; |
case Token::GT: |
- // Reverse left and right sizes to obtain ECMA-262 conversion order. |
+ // Reverse left and right sides to obtain ECMA-262 conversion order. |
cc = lt; |
__ pop(r1); |
__ pop(r0); |
break; |
case Token::LTE: |
- // Reverse left and right sizes to obtain ECMA-262 conversion order. |
+ // Reverse left and right sides to obtain ECMA-262 conversion order. |
cc = ge; |
__ pop(r1); |
__ pop(r0); |
@@ -1627,7 +1627,7 @@ |
__ bind(&slow_case); |
CompareStub stub(cc, strict); |
__ CallStub(&stub); |
- __ tst(r0, r0); |
+ __ cmp(r0, Operand(0)); |
__ b(cc, if_true); |
__ jmp(if_false); |
} |