Make Module::getNamedFunction prefer non-external functions if there is more than
authorChris Lattner <sabre@nondot.org>
Wed, 23 Jul 2003 20:21:30 +0000 (20:21 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Jul 2003 20:21:30 +0000 (20:21 +0000)
commitb6ede8aaa0501f875f8b3b73fcd5e4bc71b4c2e2
tree8760b455c9591d2b37c55b40b3f06ce23a5da4b2
parenta84983ea72ca5569585a4f321e2bb89cf78d6d9c
Make Module::getNamedFunction prefer non-external functions if there is more than
one function of the same name

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7274 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Module.cpp