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 84613c4eba
commit ec06695579
1 changed files with 1 additions and 0 deletions

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);