Commit 3616229f authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[turbofan] Improve a comment

Change-Id: I4ddb49bb4cb2cda52247354c53386369ad0e0844
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1817610Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63931}
parent e121d235
...@@ -149,7 +149,7 @@ class V8_EXPORT_PRIVATE Node final { ...@@ -149,7 +149,7 @@ class V8_EXPORT_PRIVATE Node final {
Uses uses() { return Uses(this); } Uses uses() { return Uses(this); }
// Returns true if {owner} is the user of {this} node. // Returns true if {owner} is the only user of {this} node.
bool OwnedBy(Node* owner) const { bool OwnedBy(Node* owner) const {
return first_use_ && first_use_->from() == owner && !first_use_->next; return first_use_ && first_use_->from() == owner && !first_use_->next;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment