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
This commit is contained in:
Chris Lattner 2003-05-31 23:30:52 +00:00
parent 8afdc7de1c
commit a92dc19397

View File

@ -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