forked from OSchip/llvm-project
parent
b89d2afab1
commit
53db94da05
|
@ -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…
Reference in New Issue