diff options
Diffstat (limited to 'chromium/v8/src/compiler/store-store-elimination.cc')
-rw-r--r-- | chromium/v8/src/compiler/store-store-elimination.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/chromium/v8/src/compiler/store-store-elimination.cc b/chromium/v8/src/compiler/store-store-elimination.cc index 8fb7b350205..1ed12d245b1 100644 --- a/chromium/v8/src/compiler/store-store-elimination.cc +++ b/chromium/v8/src/compiler/store-store-elimination.cc @@ -79,7 +79,6 @@ struct UnobservableStore { StoreOffset offset_; bool operator==(const UnobservableStore) const; - bool operator!=(const UnobservableStore) const; bool operator<(const UnobservableStore) const; }; @@ -140,7 +139,6 @@ class RedundantStoreFinder final { void Visit(Node* node); private: - static bool IsEffectful(Node* node); void VisitEffectfulNode(Node* node); UnobservablesSet RecomputeUseIntersection(Node* node); UnobservablesSet RecomputeSet(Node* node, UnobservablesSet uses); @@ -251,10 +249,6 @@ void StoreStoreElimination::Run(JSGraph* js_graph, Zone* temp_zone) { } } -bool RedundantStoreFinder::IsEffectful(Node* node) { - return (node->op()->EffectInputCount() >= 1); -} - // Recompute unobservables-set for a node. Will also mark superfluous nodes // as to be removed. @@ -552,9 +546,6 @@ bool UnobservableStore::operator==(const UnobservableStore other) const { return (id_ == other.id_) && (offset_ == other.offset_); } -bool UnobservableStore::operator!=(const UnobservableStore other) const { - return !(*this == other); -} bool UnobservableStore::operator<(const UnobservableStore other) const { return (id_ < other.id_) || (id_ == other.id_ && offset_ < other.offset_); |