mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
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:
@@ -45,6 +45,7 @@ bool FindUsedTypes::run(Module &m) {
|
|||||||
IncorporateType(I->getType());
|
IncorporateType(I->getType());
|
||||||
|
|
||||||
for (Module::iterator MI = m.begin(), ME = m.end(); MI != ME; ++MI) {
|
for (Module::iterator MI = m.begin(), ME = m.end(); MI != ME; ++MI) {
|
||||||
|
IncorporateType(MI->getType());
|
||||||
const Function &F = *MI;
|
const Function &F = *MI;
|
||||||
|
|
||||||
// Loop over all of the instructions in the function, adding their return
|
// Loop over all of the instructions in the function, adding their return
|
||||||
|
Reference in New Issue
Block a user