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 | 1e5aa12b7dbbfcddf386cbc013e5f8c1cadf8223 (patch) | |
tree | 411c972084e823d09dc8d7d487a3cb0cecac6ae0 /llvm/lib/CodeGen/SelectionDAG | |
parent | c7cd410657f8c25536d893a963d56e75b23315be (diff) | |
download | bcm5719-llvm-1e5aa12b7dbbfcddf386cbc013e5f8c1cadf8223.tar.gz bcm5719-llvm-1e5aa12b7dbbfcddf386cbc013e5f8c1cadf8223.zip |
SelectionDAG::AssignNodeIds is unused.
llvm-svn: 53636
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 4c951ff118d..f7937137da4 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/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. |