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; |