Correctly clone the function with the extra argument types. Now we need
authorChris Lattner <sabre@nondot.org>
Fri, 29 Mar 2002 19:05:48 +0000 (19:05 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 29 Mar 2002 19:05:48 +0000 (19:05 +0000)
commita74445185637b198b53430f0640f858be637ba73
tree10cd4a7599a9b2ebe74e041c3ea3e66a3e09d262
parentf40b4792eb478e6703e9a839a3b0e1bc4776a3d5
Correctly clone the function with the extra argument types.  Now we need
to modify the function next.

This also properly recycles functions so that we don't get exponential
code blowup in the common case.

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