Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Unified Diff: src/hydrogen.cc

Issue 17587008: Refactor Hydrogen environment liveness analysis into an HPhase. (Closed) Base URL: git@github.com:v8/v8.git@master
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 9fe495cae417f0b6cc7dffeb9bfee8a2b7b245a5..90ebdbb5b5013bd2c159e0e5e87fc00408217ad4 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -3978,8 +3978,7 @@ bool HGraph::Optimize(SmartArrayPointer<char>* bailout_reason) {
#endif
if (FLAG_analyze_environment_liveness) {
- EnvironmentSlotLivenessAnalyzer esla(this);
- esla.AnalyzeAndTrim();
+ Run<EnvironmentSlotLivenessAnalyzer>();
}
PropagateDeoptimizingMark();

Powered by Google App Engine
This is Rietveld 408576698