[llvm-commits] CVS: llvm/lib/Target/CBackend/Writer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed May 26 12:24:04 PDT 2004
Changes in directory llvm/lib/Target/CBackend:
Writer.cpp updated: 1.177 -> 1.178
---
Log message:
Fix PR344: http://llvm.cs.uiuc.edu/PR344 : the incorrect remove was being used.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Target/CBackend/Writer.cpp
diff -u llvm/lib/Target/CBackend/Writer.cpp:1.177 llvm/lib/Target/CBackend/Writer.cpp:1.178
--- llvm/lib/Target/CBackend/Writer.cpp:1.177 Tue May 25 03:50:41 2004
+++ llvm/lib/Target/CBackend/Writer.cpp Wed May 26 12:20:52 2004
@@ -226,7 +226,7 @@
// If this is not used, remove it from the symbol table.
std::set<const Type *>::iterator UTI = UT.find(STy);
if (UTI == UT.end())
- MST.remove(I->first, I->second);
+ MST.remove(I->first, (Type*)I->second);
else
UT.erase(UTI);
}
More information about the llvm-commits
mailing list