Clean up RemoveDeadNodes significantly, by eliminating the need for a temporary
authorChris Lattner <sabre@nondot.org>
Tue, 8 Nov 2005 18:52:27 +0000 (18:52 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Nov 2005 18:52:27 +0000 (18:52 +0000)
commitf469cb654600969db1131eb80002fc7ff53d1f5e
tree2e93d9a14cc7f521d07fc3f9432f0296215bad3e
parentdf2e425f2a3b64eb17be927539cd39cb1f1c5f77
Clean up RemoveDeadNodes significantly, by eliminating the need for a temporary
set and eliminating the need to iterate whenever something is removed (which
can be really slow in some cases).  Thx to Jim for pointing out something silly
I was getting stuck on. :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24241 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp