mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 21:31:03 +00:00
Follow the pattern of all other atu's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a3ad5b21e8
commit
3e80abee49
@ -110,12 +110,8 @@ void BytecodeParser::refineAbstractType(const DerivedType *OldType,
|
||||
"Can't refine a type I don't know about!");
|
||||
}
|
||||
|
||||
if (OldType == NewType) {
|
||||
assert(!OldType->isAbstract());
|
||||
I->removeUserFromConcrete();
|
||||
} else {
|
||||
*I = NewType; // Update to point to new, more refined type.
|
||||
}
|
||||
I->removeUserFromConcrete();
|
||||
*I = NewType; // Update to point to new, more refined type.
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user