Simplify the dead node elimination stuff
authorChris Lattner <sabre@nondot.org>
Wed, 25 Feb 2004 23:08:00 +0000 (23:08 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Feb 2004 23:08:00 +0000 (23:08 +0000)
commit51c06abbf17474852d53c2264bbae375ad7337e2
tree3dfe255fe856cc5816f486286e5cc49323590031
parent52fc8d7ec901c851762c3b1722d4b239ef1cb1fa
Simplify the dead node elimination stuff
Make the incompleteness marker faster by looping directly over the globals
instead of over the scalars to find the globals

Fix a bug where we didn't mark a global incomplete if it didn't have any
outgoing edges.  This wouldn't break any current clients but is still wrong.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11848 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/DataStructure/DataStructure.cpp