diff options
| author | Dan Gohman <gohman@apple.com> | 2008-08-06 15:18:10 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-08-06 15:18:10 +0000 |
| commit | e6975f0150e5af8482bec72e6a2b9a7c98c7507b (patch) | |
| tree | f80bd7dddc21b7b205b9d82d4cc939770c2ab341 /include/llvm/CodeGen/SelectionDAGNodes.h | |
| parent | 8a2d059af794139fb079e4f78505b1218e8a5025 (diff) | |
| download | external_llvm-e6975f0150e5af8482bec72e6a2b9a7c98c7507b.zip external_llvm-e6975f0150e5af8482bec72e6a2b9a7c98c7507b.tar.gz external_llvm-e6975f0150e5af8482bec72e6a2b9a7c98c7507b.tar.bz2 | |
Clarify "node" vs. "value" in some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
| -rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 8b15065..cb8e9a4 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1101,17 +1101,17 @@ public: return ~NodeType; } - /// use_empty - Return true if there are no uses of this value. + /// use_empty - Return true if there are no uses of this node. /// bool use_empty() const { return Uses == NULL; } - /// hasOneUse - Return true if there is exactly one use of this value. + /// hasOneUse - Return true if there is exactly one use of this node. /// bool hasOneUse() const { return !use_empty() && next(use_begin()) == use_end(); } - /// use_size - Return the number of uses of this value. This method takes + /// use_size - Return the number of uses of this node. This method takes /// time proportional to the number of uses. /// size_t use_size() const { return std::distance(use_begin(), use_end()); } |
