Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 0e6e8681279f4075a4a74430f8a9d759ce775734..04debfadde9524bed82687b48142191ea8d538fc 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4014,10 +4014,7 @@ bool HGraph::Optimize(SmartArrayPointer<char>* bailout_reason) { |
if (FLAG_use_canonicalizing) Canonicalize(); |
- if (FLAG_use_gvn) { |
- HGlobalValueNumberingPhase phase(this); |
- phase.Run(); |
- } |
+ if (FLAG_use_gvn) Run<HGlobalValueNumberingPhase>(); |
if (FLAG_use_range) { |
HRangeAnalysis rangeAnalysis(this); |