1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Keep callers of a weak function calling it, instead of the non-weak equivalent.

llvm-svn: 73235
This commit is contained in:
Nick Lewycky 2009-06-12 17:16:48 +00:00
parent 780e3addf8
commit 32fec8ff24

View File

@ -548,6 +548,7 @@ static bool fold(std::vector<Function *> &FnVec, unsigned i, unsigned j) {
F->getParent());
H->copyAttributesFrom(F);
H->takeName(F);
F->replaceAllUsesWith(H);
ThunkGToF(F, G);
ThunkGToF(F, H);