Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 54adfea6c06b2b470bf65c5eb09e535669a51f93..2c4435cc4cb2d1c89917ee5f11e701b7f737cfac 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -2686,9 +2686,8 @@ HInstruction* HGraphBuilder::AddElementAccess( |
DCHECK(val == NULL); |
HLoadKeyed* load = Add<HLoadKeyed>( |
elements, checked_key, dependency, elements_kind, load_mode); |
- if (FLAG_opt_safe_uint32_operations && |
- (elements_kind == EXTERNAL_UINT32_ELEMENTS || |
- elements_kind == UINT32_ELEMENTS)) { |
+ if (elements_kind == EXTERNAL_UINT32_ELEMENTS || |
+ elements_kind == UINT32_ELEMENTS) { |
graph()->RecordUint32Instruction(load); |
} |
return load; |
@@ -4400,7 +4399,7 @@ bool HGraph::Optimize(BailoutReason* bailout_reason) { |
// Must be performed before canonicalization to ensure that Canonicalize |
// will not remove semantically meaningful ToInt32 operations e.g. BIT_OR with |
// zero. |
- if (FLAG_opt_safe_uint32_operations) Run<HUint32AnalysisPhase>(); |
+ Run<HUint32AnalysisPhase>(); |
if (FLAG_use_canonicalizing) Run<HCanonicalizePhase>(); |
@@ -10456,8 +10455,7 @@ HValue* HGraphBuilder::BuildBinaryOperation( |
break; |
case Token::SHR: |
instr = AddUncasted<HShr>(left, right); |
- if (FLAG_opt_safe_uint32_operations && instr->IsShr() && |
- CanBeZero(right)) { |
+ if (instr->IsShr() && CanBeZero(right)) { |
graph()->RecordUint32Instruction(instr); |
} |
break; |