Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 7002ca4c08a57788645de759a85e8909ba10c654..c7f3517a8e13e157cf6c75c85aafa83df42ebddf 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -706,11 +706,7 @@ LInstruction* LChunkBuilder::DoShift(Token::Value op, |
// Shift operations can only deoptimize if we do a logical shift |
// by 0 and the result cannot be truncated to int32. |
if (op == Token::SHR && constant_value == 0) { |
- if (FLAG_opt_safe_uint32_operations) { |
- does_deopt = !instr->CheckFlag(HInstruction::kUint32); |
- } else { |
- does_deopt = !instr->CheckUsesForFlag(HValue::kTruncatingToInt32); |
- } |
+ does_deopt = !instr->CheckFlag(HInstruction::kUint32); |
} |
LInstruction* result = |