Another small speedup, this one to: 2.42s

llvm-svn: 8335
This commit is contained in:
Chris Lattner 2003-09-02 22:52:49 +00:00
parent 0cfd2b85b8
commit 4a96f4593e

View File

@ -429,8 +429,8 @@ 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);
setAbstract(isTypeAbstract());
if (isAbstract())
setAbstract(isTypeAbstract());
}