Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index b233d519e50edec8c24366cc6b253c443589c928..757ae1c768d1496e96ad032c8a53dde61a1a322f 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -928,7 +928,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()); |