Index: src/hydrogen-gvn.cc |
diff --git a/src/hydrogen-gvn.cc b/src/hydrogen-gvn.cc |
index b32b90951a95f991cadcfe2b4ee7f5a94064337e..f9d1b408a7f7840b0a618340f2488845b3b1ba49 100644 |
--- a/src/hydrogen-gvn.cc |
+++ b/src/hydrogen-gvn.cc |
@@ -863,8 +863,7 @@ void HGlobalValueNumberingPhase::AnalyzeGraph() { |
stream.OutputToStdOut(); |
} |
} |
- if (instr->CheckFlag(HValue::kUseGVN) && |
- !instr->CheckFlag(HValue::kCantBeReplaced)) { |
+ if (instr->CheckFlag(HValue::kUseGVN)) { |
ASSERT(!instr->HasObservableSideEffects()); |
HInstruction* other = map->Lookup(instr); |
if (other != NULL) { |