Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 2cfa1ff6e3fa5e1af149475acdb0d817deb1ede1..f98e6c0306c8ee000cdfa4488e5777d460431def 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -991,7 +991,7 @@ LInstruction* LChunkBuilder::DoBranch(HBranch* instr) { |
if (value->EmitAtUses()) { |
ASSERT(value->IsConstant()); |
ASSERT(!value->representation().IsDouble()); |
- HBasicBlock* successor = HConstant::cast(value)->ToBoolean() |
+ HBasicBlock* successor = HConstant::cast(value)->BooleanValue() |
? instr->FirstSuccessor() |
: instr->SecondSuccessor(); |
return new(zone()) LGoto(successor->block_id()); |