aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAGNodes.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-10-15 05:30:55 +0000
committerChris Lattner <sabre@nondot.org>2007-10-15 05:30:55 +0000
commit91956887f05d6c5d940ad1622b9d3cc33be0044d (patch)
treecd402bdcd08ed14377d3eee494981de4ef83ba72 /include/llvm/CodeGen/SelectionDAGNodes.h
parent1622768794afca372e55732016dd9c11bd75a9a7 (diff)
remove dead enum, make setNodeId public.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 4dc1139d9f..19f144653f 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;
- }
};