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

Unified Diff: src/compiler/escape-analysis-reducer.h

Issue 1491903002: [turbofan] Refactor escape analysis to only expose one class. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ensure only EscapeAnalysis can create EscapeStatusAnalysis Created 5 years 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
« no previous file with comments | « src/compiler/escape-analysis.cc ('k') | src/compiler/escape-analysis-reducer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/escape-analysis-reducer.h
diff --git a/src/compiler/escape-analysis-reducer.h b/src/compiler/escape-analysis-reducer.h
index 87aa35f8d67a94061d4e25e9784adba032e9f6f1..12863d6b265030ec0aa5e6c81ed35e0e6082ffdf 100644
--- a/src/compiler/escape-analysis-reducer.h
+++ b/src/compiler/escape-analysis-reducer.h
@@ -19,8 +19,7 @@ class JSGraph;
class EscapeAnalysisReducer final : public AdvancedReducer {
public:
EscapeAnalysisReducer(Editor* editor, JSGraph* jsgraph,
- EscapeStatusAnalysis* escape_status,
- EscapeObjectAnalysis* escape_analysis, Zone* zone);
+ EscapeAnalysis* escape_analysis, Zone* zone);
Reduction Reduce(Node* node) final;
@@ -34,13 +33,11 @@ class EscapeAnalysisReducer final : public AdvancedReducer {
Reduction ReplaceWithDeoptDummy(Node* node);
JSGraph* jsgraph() const { return jsgraph_; }
- EscapeObjectAnalysis* escape_analysis() const { return escape_analysis_; }
- EscapeStatusAnalysis* escape_status() const { return escape_status_; }
+ EscapeAnalysis* escape_analysis() const { return escape_analysis_; }
Zone* zone() const { return zone_; }
JSGraph* const jsgraph_;
- EscapeStatusAnalysis* escape_status_;
- EscapeObjectAnalysis* escape_analysis_;
+ EscapeAnalysis* escape_analysis_;
Zone* const zone_;
DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer);
« no previous file with comments | « src/compiler/escape-analysis.cc ('k') | src/compiler/escape-analysis-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698