[llvm-commits] [llvm] r44961 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Evan Cheng
evan.cheng at apple.com
Wed Dec 12 15:15:59 PST 2007
Author: evancheng
Date: Wed Dec 12 17:15:59 2007
New Revision: 44961
URL: http://llvm.org/viewvc/llvm-project?rev=44961&view=rev
Log:
Cosmetic change.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=44961&r1=44960&r2=44961&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Wed Dec 12 17:15:59 2007
@@ -872,6 +872,9 @@
///
int getNodeId() const { return NodeId; }
+ /// setNodeId - Set unique node id.
+ void setNodeId(int Id) { NodeId = Id; }
+
typedef SmallVector<SDNode*,3>::const_iterator use_iterator;
use_iterator use_begin() const { return Uses.begin(); }
use_iterator use_end() const { return Uses.end(); }
@@ -951,10 +954,6 @@
///
void Profile(FoldingSetNodeID &ID);
- void setNodeId(int Id) {
- NodeId = Id;
- }
-
protected:
friend class SelectionDAG;
More information about the llvm-commits
mailing list