diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-31 23:30:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-31 23:30:52 +0000 |
commit | a92dc193971daec428337dad437f08b8b2e5ceaf (patch) | |
tree | f60c75982cc27fdf1e9f23ebe241da5423ce92e9 /lib/Analysis/IPA/FindUsedTypes.cpp | |
parent | 8afdc7de1c3f8abcd4660b89621f03119c5415c7 (diff) |
Fix bug: CBackend/2003-05-31-MissingStructName.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6495 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA/FindUsedTypes.cpp')
-rw-r--r-- | lib/Analysis/IPA/FindUsedTypes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/FindUsedTypes.cpp b/lib/Analysis/IPA/FindUsedTypes.cpp index 0916ab8c65..51d1b419f3 100644 --- a/lib/Analysis/IPA/FindUsedTypes.cpp +++ b/lib/Analysis/IPA/FindUsedTypes.cpp @@ -45,6 +45,7 @@ bool FindUsedTypes::run(Module &m) { 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 |