diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 147b9772de5..9690d8d57b5 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1199,9 +1199,9 @@ public: /// value. This method ignores uses of other values defined by this operation. bool hasAnyUseOfValue(unsigned Value) const; - /// isOnlyUseOf - Return true if this node is the only use of N. + /// isOnlyUserOf - Return true if this node is the only use of N. /// - bool isOnlyUseOf(SDNode *N) const; + bool isOnlyUserOf(SDNode *N) const; /// isOperandOf - Return true if this node is an operand of N. /// diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 4fa5f580208..366cb4c4294 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -4581,9 +4581,9 @@ bool SDNode::hasAnyUseOfValue(unsigned Value) const { } -/// isOnlyUseOf - Return true if this node is the only use of N. +/// isOnlyUserOf - Return true if this node is the only use of N. /// -bool SDNode::isOnlyUseOf(SDNode *N) const { +bool SDNode::isOnlyUserOf(SDNode *N) const { bool Seen = false; for (SDNode::use_iterator I = N->use_begin(), E = N->use_end(); I != E; ++I) { SDNode *User = I->getUser();