diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-09-02 22:52:49 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-09-02 22:52:49 +0000 |
| commit | cc61a136f71cc2a633f2a9926340f6cba93c6b48 (patch) | |
| tree | 0f617412c539cf01fcd5607acf1bcf691fd423b3 | |
| parent | 188afa5feb6cb28d567668b4f350c3723be293c6 (diff) | |
| download | bcm5719-llvm-cc61a136f71cc2a633f2a9926340f6cba93c6b48.tar.gz bcm5719-llvm-cc61a136f71cc2a633f2a9926340f6cba93c6b48.zip | |
Another small speedup, this one to: 2.42s
llvm-svn: 8335
| -rw-r--r-- | llvm/lib/VMCore/Type.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Type.cpp b/llvm/lib/VMCore/Type.cpp index 54fe4431bab..57c6e636aec 100644 --- a/llvm/lib/VMCore/Type.cpp +++ b/llvm/lib/VMCore/Type.cpp @@ -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()); } |

