[llvm-commits] CVS: llvm/lib/Transforms/Utils/Linker.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 24 14:31:01 PDT 2003
Changes in directory llvm/lib/Transforms/Utils:
Linker.cpp updated: 1.52 -> 1.53
---
Log message:
Fix bug: Linker/2003-08-23-GlobalVarLinking.ll
---
Diffs of the changes:
Index: llvm/lib/Transforms/Utils/Linker.cpp
diff -u llvm/lib/Transforms/Utils/Linker.cpp:1.52 llvm/lib/Transforms/Utils/Linker.cpp:1.53
--- llvm/lib/Transforms/Utils/Linker.cpp:1.52 Sun Aug 24 14:26:42 2003
+++ llvm/lib/Transforms/Utils/Linker.cpp Sun Aug 24 14:30:20 2003
@@ -348,7 +348,7 @@
// table, checking each of them for a type-compatible version.
//
for (SymbolTable::iterator I = ST->begin(), E = ST->end(); I != E; ++I)
- if (I->first->getType() != Type::TypeTy) {
+ if (I->first != Type::TypeTy) {
SymbolTable::VarMap &VM = I->second;
// Does this type plane contain an entry with the specified name?
SymbolTable::type_iterator TI = VM.find(Name);
More information about the llvm-commits
mailing list