Reviewers: Mads Ager, Description: ARM: Fix condition usage in DeoptimizeIf().
BUG=none TEST=none Please review this at http://codereview.chromium.org/6447003/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/arm/lithium-codegen-arm.cc Index: src/arm/lithium-codegen-arm.cc =================================================================== --- src/arm/lithium-codegen-arm.cc (revision 6672) +++ src/arm/lithium-codegen-arm.cc (working copy) @@ -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 v8-dev@googlegroups.com http://groups.google.com/group/v8-dev