Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index dfffe41fca745672ace8ec5ec05774e91de132ed..e7dc81a803135d676f74172eafa5476fa1811b7f 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -4661,10 +4661,6 @@ class HTransitionElementsKind: public HTemplateInstruction<1> { |
transitioned_map_(transitioned_map) { |
SetOperandAt(0, object); |
SetFlag(kUseGVN); |
- // Don't set GVN DependOn flags here. That would defeat GVN's detection of |
- // congruent HTransitionElementsKind instructions. Instruction hoisting |
- // handles HTransitionElementsKind instruction specially, explicitly adding |
- // DependsOn flags during its dependency calculations. |
SetGVNFlag(kChangesElementsKind); |
if (original_map->has_fast_double_elements()) { |
SetGVNFlag(kChangesElementsPointer); |