Use removeAllCalledFunctions rather than removing
authorDuncan Sands <baldrick@free.fr>
Fri, 5 Sep 2008 14:56:53 +0000 (14:56 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 5 Sep 2008 14:56:53 +0000 (14:56 +0000)
commit6f0a7687ab9a0509e847279fae27554ce7da0ba1
treea15b84887529b0826b868176c89797d15644c532
parenta7212e58260f6d1ead0c4eec7af400cf6c0d289e
Use removeAllCalledFunctions rather than removing
edges one by one by hand.

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