Index: src/hydrogen-gvn.h |
diff --git a/src/hydrogen-gvn.h b/src/hydrogen-gvn.h |
index 23b24404084d76c0471c6551999732a3f4d53b18..4e4f349adc2f9929f8e11361ff4de7ba0384379a 100644 |
--- a/src/hydrogen-gvn.h |
+++ b/src/hydrogen-gvn.h |
@@ -41,18 +41,9 @@ class HGlobalValueNumberingPhase : public HPhase { |
public: |
explicit HGlobalValueNumberingPhase(HGraph* graph); |
- void Run() { |
- int max_fixpoint_iteration_count = FLAG_gvn_iterations; |
- for (int i = 0; i < max_fixpoint_iteration_count; i++) { |
- Analyze(); |
- if (!removed_side_effects_) break; |
- Reset(); |
- } |
- } |
+ void Run(); |
private: |
- void Reset(); |
- void Analyze(); |
GVNFlagSet CollectSideEffectsOnPathsToDominatedBlock( |
HBasicBlock* dominator, |
HBasicBlock* dominated); |