From 91956887f05d6c5d940ad1622b9d3cc33be0044d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 15 Oct 2007 05:30:55 +0000 Subject: [PATCH] remove dead enum, make setNodeId public. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42977 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAGNodes.h | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 4dc1139d9f5..19f144653f6 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -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; - } };