[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Jim Laskey jlaskey at apple.com
Fri Oct 27 16:53:05 PDT 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAG.cpp updated: 1.357 -> 1.358
---
Log message:

Clean up.

---
Diffs of the changes:  (+12 -2)

 SelectionDAG.cpp |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.357 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.358
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.357	Fri Oct 27 18:46:08 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp	Fri Oct 27 18:52:51 2006
@@ -260,6 +260,9 @@
 static unsigned getNodeIDOpcode(FoldingSetNodeID &ID)  {
   return ID.getRawData(0);
 }
+
+/// AddNodeIDOpcode - Add the node opcode to the NodeID data.
+///
 static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC)  {
   ID.AddInteger(OpC);
 }
@@ -270,15 +273,18 @@
   ID.AddPointer(VTList.VTs);  
 }
 
-
+/// AddNodeIDOperand - Add an operands data to the NodeID data.
+///
 static void AddNodeIDOperand(FoldingSetNodeID &ID, SDOperand Op) {
   ID.AddPointer(Op.Val);
   ID.AddInteger(Op.ResNo);
 }
 
+/// AddNodeIDOperands - Various routines for adding operands to the NodeID data.
+///
 static void AddNodeIDOperands(FoldingSetNodeID &ID) {
 }
-void AddNodeIDOperands(FoldingSetNodeID &ID, SDOperand Op) {
+static void AddNodeIDOperands(FoldingSetNodeID &ID, SDOperand Op) {
   AddNodeIDOperand(ID, Op);
 }
 static void AddNodeIDOperands(FoldingSetNodeID &ID,
@@ -298,6 +304,8 @@
     AddNodeIDOperand(ID, *Ops);
 }
 
+/// AddNodeIDOperands - Various routines for adding node info to the NodeID
+/// data.
 static void AddNodeIDNode(FoldingSetNodeID &ID,
                           unsigned short OpC, SDVTList VTList) {
   AddNodeIDOpcode(ID, OpC);
@@ -333,6 +341,8 @@
   AddNodeIDOperands(ID, OpList, N);
 }
 
+/// AddNodeIDNode - Generic routine for adding a nodes info to the NodeID
+/// data.
 static void AddNodeIDNode(FoldingSetNodeID &ID, SDNode *N) {
   AddNodeIDOpcode(ID, N->getOpcode());
   // Add the return value info.






More information about the llvm-commits mailing list