aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-06 15:18:10 +0000
committerDan Gohman <gohman@apple.com>2008-08-06 15:18:10 +0000
commit6da38a05f6d904bd4c2bf51d43938e28e00402ab (patch)
treef80bd7dddc21b7b205b9d82d4cc939770c2ab341
parent46bbad217b9fe616cc9309e6ee6b507a118cd618 (diff)
Clarify "node" vs. "value" in some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54409 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 8b15065bfb..cb8e9a4560 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()); }