Index: src/ia32/lithium-ia32.cc |
=================================================================== |
--- src/ia32/lithium-ia32.cc (revision 7547) |
+++ src/ia32/lithium-ia32.cc (working copy) |
@@ -1120,9 +1120,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()); |
} |
} |