Index: src/compiler/node.h |
diff --git a/src/compiler/node.h b/src/compiler/node.h |
index 54c01aa3b8d6e1537992133d635c5f951b2a4d04..46dd041f1fcad8127b667a91c8885e0a360a9ddb 100644 |
--- a/src/compiler/node.h |
+++ b/src/compiler/node.h |
@@ -146,6 +146,9 @@ class Node final { |
return first_use_ && first_use_->from == owner && !first_use_->next; |
} |
+ // Returns true if {owner1} and {owner2} are the only users of {this} node. |
+ bool OwnedBy(Node const* owner1, Node const* owner2) const; |
+ |
private: |
struct Use final : public ZoneObject { |
Node* from; |