if there is already a prototype for malloc/free, use it, even if it's incorrect.
authorChris Lattner <sabre@nondot.org>
Sat, 28 Feb 2004 18:51:45 +0000 (18:51 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Feb 2004 18:51:45 +0000 (18:51 +0000)
commitb99df4f8c242e13e5321c4916eab4bbecf1eadb2
tree81b63635e2b709dadf172479443a90dd668fb02b
parent8a4045e4d7495ac19935caf65cf39b8cc4e987b1
if there is already a prototype for malloc/free, use it, even if it's incorrect.
Do not just inject a new prototype.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11951 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LowerAllocations.cpp