Another small speedup, this one to: 2.42s

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8335 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-09-02 22:52:49 +00:00
parent d8d6c76a9a
commit a2f3e1d80b

View File

@@ -429,7 +429,7 @@ bool Type::isTypeAbstract() {
void DerivedType::setDerivedTypeProperties() {
// If the type is currently thought to be abstract, rescan all of our subtypes
// to see if the type has just become concrete!
setAbstract(true);
if (isAbstract())
setAbstract(isTypeAbstract());
}