[llvm-commits] [llvm] r42977 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Chris Lattner
sabre at nondot.org
Sun Oct 14 22:30:55 PDT 2007
Author: lattner
Date: Mon Oct 15 00:30:55 2007
New Revision: 42977
URL: http://llvm.org/viewvc/llvm-project?rev=42977&view=rev
Log:
remove dead enum, make setNodeId public.
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=42977&r1=42976&r2=42977&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Mon Oct 15 00:30:55 2007
@@ -419,13 +419,6 @@
// 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 @@
///
void Profile(FoldingSetNodeID &ID);
+ void setNodeId(int Id) {
+ NodeId = Id;
+ }
+
protected:
friend class SelectionDAG;
@@ -1018,10 +1015,6 @@
}
}
}
-
- void setNodeId(int Id) {
- NodeId = Id;
- }
};
More information about the llvm-commits
mailing list