diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-04 22:29:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-04 22:29:05 +0000 |
commit | 82b5b219dd3b9035442389ddcd58e6f859aae039 (patch) | |
tree | 2bad609e81d79e3c3b532fffada78cbd10378871 /lib/VMCore | |
parent | d2da229ce3720f594539113bd3617cb57fd8df66 (diff) | |
download | external_llvm-82b5b219dd3b9035442389ddcd58e6f859aae039.zip external_llvm-82b5b219dd3b9035442389ddcd58e6f859aae039.tar.gz external_llvm-82b5b219dd3b9035442389ddcd58e6f859aae039.tar.bz2 |
Fix a typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Linker.cpp b/lib/VMCore/Linker.cpp index d10b2cc..cfb67a0 100644 --- a/lib/VMCore/Linker.cpp +++ b/lib/VMCore/Linker.cpp @@ -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)); |