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

Chris Lattner lattner at cs.uiuc.edu
Wed Aug 4 00:28:18 PDT 2004



Changes in directory llvm/lib/VMCore:

Linker.cpp updated: 1.77 -> 1.78
---
Log message:

I swear I compiled this, really I did.


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

Index: llvm/lib/VMCore/Linker.cpp
diff -u llvm/lib/VMCore/Linker.cpp:1.77 llvm/lib/VMCore/Linker.cpp:1.78
--- llvm/lib/VMCore/Linker.cpp:1.77	Wed Aug  4 02:05:54 2004
+++ llvm/lib/VMCore/Linker.cpp	Wed Aug  4 02:28:06 2004
@@ -420,7 +420,7 @@
   ConflictGV->setName("");          // Eliminate the conflict
   GV->setName(Name);                // Force the name back
   ConflictGV->setName(Name);        // This will cause ConflictGV to get renamed
-  assert(GV->getName() == Name() && ConflictGV->getName() != Name &&
+  assert(GV->getName() == Name && ConflictGV->getName() != Name &&
          "ForceRenaming didn't work");
 }
 






More information about the llvm-commits mailing list