Index: src/arm/lithium-arm.cc |
=================================================================== |
--- src/arm/lithium-arm.cc (revision 7547) |
+++ src/arm/lithium-arm.cc (working copy) |
@@ -1114,9 +1114,9 @@ |
return new LIsConstructCallAndBranch(TempRegister()); |
} else { |
if (v->IsConstant()) { |
- if (HConstant::cast(v)->handle()->IsTrue()) { |
+ if (HConstant::cast(v)->ToBoolean()) { |
return new LGoto(instr->FirstSuccessor()->block_id()); |
- } else if (HConstant::cast(v)->handle()->IsFalse()) { |
+ } else { |
return new LGoto(instr->SecondSuccessor()->block_id()); |
} |
} |