Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 25cc823be229225215c39ca859bb5d0a53718ddf..394637cf3da6e46d6d587245240c62cf28c4ade0 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -945,7 +945,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()); |