Revision: 6685
Author: [email protected]
Date: Tue Feb  8 10:09:19 2011
Log: ARM: Fix condition usage in DeoptimizeIf().

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6447003
http://code.google.com/p/v8/source/detail?r=6685

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

=======================================
--- /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Tue Feb 8 06:37:50 2011 +++ /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Tue Feb 8 10:09:19 2011
@@ -647,7 +647,7 @@
     return;
   }

-  if (cc == kNoCondition) {
+  if (cc == al) {
     if (FLAG_trap_on_deopt) __ stop("trap_on_deopt");
     __ Jump(entry, RelocInfo::RUNTIME_ENTRY);
   } else {
@@ -1189,7 +1189,7 @@
     __ b(ne, &done);
     if (instr->InputAt(1)->IsConstantOperand()) {
       if (ToInteger32(LConstantOperand::cast(instr->InputAt(1))) <= 0) {
-        DeoptimizeIf(kNoCondition, instr->environment());
+        DeoptimizeIf(al, instr->environment());
       }
     } else {
       // Test the non-zero operand for negative sign.
@@ -3834,7 +3834,7 @@


 void LCodeGen::DoDeoptimize(LDeoptimize* instr) {
-  DeoptimizeIf(kNoCondition, instr->environment());
+  DeoptimizeIf(al, instr->environment());
 }


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

Reply via email to