Two changes:
authorChris Lattner <sabre@nondot.org>
Wed, 25 Feb 2004 23:36:08 +0000 (23:36 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Feb 2004 23:36:08 +0000 (23:36 +0000)
commitcf14e71c5e6efdf4323b150cc52a5411a2ce6e4d
treeb2f6acb50b719f0e0a15c95dc1f844a0f68c0b97
parent26b6dac640907dd79fc88b366ef53110309a2201
Two changes:
 1. Functions do not make things incomplete, only variables
 2. Constant global variables no longer need to be marked incomplete, because
    we are guaranteed that the initializer for the global will be in the
    graph we are hacking on now.  This makes resolution of indirect calls happen
    a lot more in the bu pass, supports things like vtables and the C counterparts
    (giant constant arrays of function pointers), etc...

Testcase here: test/Regression/Analysis/DSGraph/constant_globals.ll

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