| Index: src/arm/lithium-arm.cc
 | 
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
 | 
| index 998b73b62e9242a6dd2393a919f199f2af5c1859..12a6290fbcbaef3780f3158d65f5d3c1bcf2541e 100644
 | 
| --- a/src/arm/lithium-arm.cc
 | 
| +++ b/src/arm/lithium-arm.cc
 | 
| @@ -718,12 +718,7 @@ LInstruction* LChunkBuilder::DoShift(Token::Value op,
 | 
|      // Left shifts can deoptimize if we shift by > 0 and the result cannot be
 | 
|      // truncated to smi.
 | 
|      if (instr->representation().IsSmi() && constant_value > 0) {
 | 
| -      for (HUseIterator it(instr->uses()); !it.Done(); it.Advance()) {
 | 
| -        if (!it.value()->CheckFlag(HValue::kTruncatingToSmi)) {
 | 
| -          does_deopt = true;
 | 
| -          break;
 | 
| -        }
 | 
| -      }
 | 
| +      does_deopt = !instr->CheckUsesForFlag(HValue::kTruncatingToSmi);
 | 
|      }
 | 
|    } else {
 | 
|      right = UseRegisterAtStart(right_value);
 | 
| @@ -735,12 +730,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);
 | 
|      }
 | 
|    }
 | 
|  
 | 
| 
 |