Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index ecdaddb40c7ff9207eff495b0f47b39166c9ac03..6961a0dcec3fe3084b2fa2117dddc83dabb67caf 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -935,7 +935,7 @@ LInstruction* LChunkBuilder::DoGoto(HGoto* instr) { |
LInstruction* LChunkBuilder::DoBranch(HBranch* instr) { |
HValue* value = instr->value(); |
if (value->EmitAtUses()) { |
- HBasicBlock* successor = HConstant::cast(value)->ToBoolean() |
+ HBasicBlock* successor = HConstant::cast(value)->BooleanValue() |
? instr->FirstSuccessor() |
: instr->SecondSuccessor(); |
return new(zone()) LGoto(successor->block_id()); |