Fix a typeo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15510 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-08-04 22:29:05 +00:00
parent d2da229ce3
commit 82b5b219dd
2 changed files with 2 additions and 2 deletions

View File

@ -605,7 +605,7 @@ static bool LinkFunctionProtos(Module *Dest, const Module *Src,
// visible symbol, DF must be an existing function with internal linkage.
// Rename it.
if (NewDF->getName() != SF->getName() && !NewDF->hasInternalLinkage())
ForceRenaming(DF, SF->getName());
ForceRenaming(NewDF, SF->getName());
// ... and remember this mapping...
ValueMap.insert(std::make_pair(SF, NewDF));

View File

@ -605,7 +605,7 @@ static bool LinkFunctionProtos(Module *Dest, const Module *Src,
// visible symbol, DF must be an existing function with internal linkage.
// Rename it.
if (NewDF->getName() != SF->getName() && !NewDF->hasInternalLinkage())
ForceRenaming(DF, SF->getName());
ForceRenaming(NewDF, SF->getName());
// ... and remember this mapping...
ValueMap.insert(std::make_pair(SF, NewDF));