[llvm-commits] CVS: llvm/lib/Analysis/IPA/FindUsedTypes.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat May 31 18:32:01 PDT 2003


Changes in directory llvm/lib/Analysis/IPA:

FindUsedTypes.cpp updated: 1.17 -> 1.18

---
Log message:

Fix bug: CBackend/2003-05-31-MissingStructName.ll


---
Diffs of the changes:

Index: llvm/lib/Analysis/IPA/FindUsedTypes.cpp
diff -u llvm/lib/Analysis/IPA/FindUsedTypes.cpp:1.17 llvm/lib/Analysis/IPA/FindUsedTypes.cpp:1.18
--- llvm/lib/Analysis/IPA/FindUsedTypes.cpp:1.17	Mon Sep 23 19:07:21 2002
+++ llvm/lib/Analysis/IPA/FindUsedTypes.cpp	Sat May 31 18:30:52 2003
@@ -45,6 +45,7 @@
     IncorporateType(I->getType());
 
   for (Module::iterator MI = m.begin(), ME = m.end(); MI != ME; ++MI) {
+    IncorporateType(MI->getType());
     const Function &F = *MI;
   
     // Loop over all of the instructions in the function, adding their return





More information about the llvm-commits mailing list