switch InlineInfo.DevirtualizedCalls's list to be of WeakVH.
authorChris Lattner <sabre@nondot.org>
Fri, 23 Apr 2010 18:37:01 +0000 (18:37 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 23 Apr 2010 18:37:01 +0000 (18:37 +0000)
commit076863225ce070345ff7048f48b3550e00598a10
tree3dcc9895af7b024b61389b147692a32176c3f725
parenta56c1c5d4c87896be2a04a855235cfa423252e32
switch InlineInfo.DevirtualizedCalls's list to be of WeakVH.
This fixes a bug where calls inlined into an invoke would get
changed into an invoke but the array would keep pointing to
the (now dead) call.  The improved inliner behavior is still
disabled for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102196 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/Cloning.h
lib/Transforms/IPO/Inliner.cpp
lib/Transforms/Utils/InlineFunction.cpp