Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index c058b0df44a44d3cbdf465f76752e4b76f53b7fb..a449d8efc82614188c9cbcc3109c3cd2912aeab7 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -734,12 +734,7 @@ LInstruction* LChunkBuilder::DoShift(Token::Value op, |
if (FLAG_opt_safe_uint32_operations) { |
does_deopt = !instr->CheckFlag(HInstruction::kUint32); |
} else { |
- for (HUseIterator it(instr->uses()); !it.Done(); it.Advance()) { |
- if (!it.value()->CheckFlag(HValue::kTruncatingToInt32)) { |
- does_deopt = true; |
- break; |
- } |
- } |
+ does_deopt = !instr->CheckUsesForFlag(HValue::kTruncatingToInt32); |
} |
} |