diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-15 18:29:32 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-15 18:29:32 +0000 |
commit | 4093d8301021c9dde8d3577903366cfb8b5d82d0 (patch) | |
tree | ec43d507e06e509326966a5c7b0620d75cf4fc3f /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 90a7b8fba69503c950aa598fac2edc77123b6bf0 (diff) |
SelectionDAG::AssignNodeIds is unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53636 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 4c951ff118..f7937137da 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -4228,17 +4228,6 @@ void SelectionDAG::ReplaceAllUsesOfValueWith(SDOperand From, SDOperand To, } } -/// AssignNodeIds - Assign a unique node id for each node in the DAG based on -/// their allnodes order. It returns the maximum id. -unsigned SelectionDAG::AssignNodeIds() { - unsigned Id = 0; - for (allnodes_iterator I = allnodes_begin(), E = allnodes_end(); I != E; ++I){ - SDNode *N = I; - N->setNodeId(Id++); - } - return Id; -} - /// AssignTopologicalOrder - Assign a unique node id for each node in the DAG /// based on their topological order. It returns the maximum id and a vector /// of the SDNodes* in assigned order by reference. |