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

Unified Diff: src/compiler/load-elimination.h

Issue 2301903002: [turbofan] Properly look through FinishRegion in alias analysis. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | src/compiler/load-elimination.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/load-elimination.h
diff --git a/src/compiler/load-elimination.h b/src/compiler/load-elimination.h
index 5aa62b48bd8d603d2e4e748a56078fcf3276d9b8..8da3545b9572c8ea745800d06b28a39d217b6842 100644
--- a/src/compiler/load-elimination.h
+++ b/src/compiler/load-elimination.h
@@ -52,6 +52,8 @@ class LoadElimination final : public AdvancedReducer {
bool Equals(AbstractChecks const* that) const;
AbstractChecks const* Merge(AbstractChecks const* that, Zone* zone) const;
+ void Print() const;
+
private:
Node* nodes_[kMaxTrackedChecks];
size_t next_index_ = 0;
@@ -86,6 +88,8 @@ class LoadElimination final : public AdvancedReducer {
AbstractElements const* Merge(AbstractElements const* that,
Zone* zone) const;
+ void Print() const;
+
private:
struct Element {
Element() {}
@@ -137,6 +141,8 @@ class LoadElimination final : public AdvancedReducer {
return copy;
}
+ void Print() const;
+
private:
ZoneMap<Node*, Node*> info_for_node_;
};
@@ -169,6 +175,8 @@ class LoadElimination final : public AdvancedReducer {
AbstractState const* AddCheck(Node* node, Zone* zone) const;
Node* LookupCheck(Node* node) const;
+ void Print() const;
+
private:
AbstractChecks const* checks_ = nullptr;
AbstractElements const* elements_ = nullptr;
« no previous file with comments | « no previous file | src/compiler/load-elimination.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698