Fix an incredibly nasty iterator invalidation problem. I am too spoiled by ilists :)
authorChris Lattner <sabre@nondot.org>
Wed, 21 Apr 2004 20:44:33 +0000 (20:44 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 Apr 2004 20:44:33 +0000 (20:44 +0000)
commit3e1358a9fa1ebd3f51c94eb69da55d693895fe7c
tree1d2c19445331ab3ee49c59e8d82feeb9ae4cf719
parent6df29c6453df93ffe53f7dc5a2d47fb48fb652ef
Fix an incredibly nasty iterator invalidation problem.  I am too spoiled by ilists :)
Eventually it would be nice if CallGraph maintained an ilist of CallGraphNode's instead
of a vector of pointers to them, but today is not that day.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13100 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/Inliner.cpp