Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 830fc9152df8eb07031306fd4d354990012d5acb..180c07fdeec0805b7ee08f45d58cdbac6578f34f 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -1492,7 +1492,7 @@ LInstruction* LChunkBuilder::DoMul(HMul* instr) { |
} else if (instr->representation().IsDouble()) { |
if (kArchVariant == kMips32r2) { |
- if (instr->UseCount() == 1 && instr->uses().value()->IsAdd()) { |
+ if (instr->HasOneUse() && instr->uses().value()->IsAdd()) { |
HAdd* add = HAdd::cast(instr->uses().value()); |
if (instr == add->left()) { |
// This mul is the lhs of an add. The add and mul will be folded |