projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8d6c76
)
Another small speedup, this one to: 2.42s
author
Chris Lattner
<sabre@nondot.org>
Tue, 2 Sep 2003 22:52:49 +0000
(22:52 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 2 Sep 2003 22:52:49 +0000
(22:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8335
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Type.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Type.cpp
b/lib/VMCore/Type.cpp
index 54fe4431bab84f56128074e00bbc1040b66e4f55..57c6e636aec7b7a4ce59ab5febfff7f7de7bac62 100644
(file)
--- a/
lib/VMCore/Type.cpp
+++ b/
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());
}