Clarify "node" vs. "value" in some comments.
authorDan Gohman <gohman@apple.com>
Wed, 6 Aug 2008 15:18:10 +0000 (15:18 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 6 Aug 2008 15:18:10 +0000 (15:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54409 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 8b15065bfbb8d00a3c65bc5b29bbb9844905d6b1..cb8e9a4560c22f34e7e9325089ed63ff167556f9 100644 (file)
@@ -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()); }