remove dead enum, make setNodeId public.
authorChris Lattner <sabre@nondot.org>
Mon, 15 Oct 2007 05:30:55 +0000 (05:30 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Oct 2007 05:30:55 +0000 (05:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42977 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 4dc1139d9f5e661eea3bc63e6f3fc6b87756e93c..19f144653f6c0427cd56275d36f9d7c390645dfd 100644 (file)
@@ -419,13 +419,6 @@ namespace ISD {
     // indexed memory ops).
     LOAD, STORE,
     
-    // TRUNCSTORE - This operators truncates (for integer) or rounds (for FP) a
-    // value and stores it to memory in one operation.  This can be used for
-    // either integer or floating point operands.  The first four operands of
-    // this are the same as a standard store.  The fifth is the ValueType to
-    // store it as (which will be smaller than the source value).
-    TRUNCSTORE,
-
     // DYNAMIC_STACKALLOC - Allocate some number of bytes on the stack aligned
     // to a specified boundary.  This node always has two return values: a new
     // stack pointer value and a chain. The first operand is the token chain,
@@ -950,6 +943,10 @@ public:
   ///
   void Profile(FoldingSetNodeID &ID);
 
+  void setNodeId(int Id) {
+    NodeId = Id;
+  }
+  
 protected:
   friend class SelectionDAG;
   
@@ -1018,10 +1015,6 @@ protected:
       }
     }
   }
-
-  void setNodeId(int Id) {
-    NodeId = Id;
-  }
 };