Revision: 4784
Author: [email protected]
Date: Wed Jun  2 03:47:50 2010
Log: Fix last-minute thinko that I snuck into the last change.
It busted crypto-decrypt.
Review URL: http://codereview.chromium.org/2434005
http://code.google.com/p/v8/source/detail?r=4784

Modified:
 /branches/bleeding_edge/src/arm/codegen-arm.cc

=======================================
--- /branches/bleeding_edge/src/arm/codegen-arm.cc      Wed Jun  2 02:37:02 2010
+++ /branches/bleeding_edge/src/arm/codegen-arm.cc      Wed Jun  2 03:47:50 2010
@@ -869,10 +869,10 @@
         Register smi_test_reg;
         Condition cond;
         if (!rhs_is_smi || !lhs_is_smi) {
-          if (!rhs_is_smi) {
-            smi_test_reg = rhs;
-          } else if (!lhs_is_smi) {
+          if (rhs_is_smi) {
             smi_test_reg = lhs;
+          } else if (lhs_is_smi) {
+            smi_test_reg = rhs;
           } else {
             smi_test_reg = VirtualFrame::scratch0();
             __ orr(smi_test_reg, rhs, Operand(lhs));

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to