[llvm-commits] CVS: llvm/lib/VMCore/Linker.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Aug 4 15:29:17 PDT 2004



Changes in directory llvm/lib/VMCore:

Linker.cpp updated: 1.81 -> 1.82
---
Log message:

Fix a typeo


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/VMCore/Linker.cpp
diff -u llvm/lib/VMCore/Linker.cpp:1.81 llvm/lib/VMCore/Linker.cpp:1.82
--- llvm/lib/VMCore/Linker.cpp:1.81	Wed Aug  4 03:30:43 2004
+++ llvm/lib/VMCore/Linker.cpp	Wed Aug  4 17:29:05 2004
@@ -605,7 +605,7 @@
       // 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));






More information about the llvm-commits mailing list