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:
651ad13
)
fix unit test that I broke.
author
Chris Lattner
<sabre@nondot.org>
Tue, 22 Dec 2009 01:38:23 +0000
(
01:38
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 22 Dec 2009 01:38:23 +0000
(
01:38
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91877
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Type.h
patch
|
blob
|
history
diff --git
a/include/llvm/Type.h
b/include/llvm/Type.h
index 47a62f8253044add825bd12976f7650184b048ba..e5169824f805500d6eb44923c301ef4dcb5e829d 100644
(file)
--- a/
include/llvm/Type.h
+++ b/
include/llvm/Type.h
@@
-408,7
+408,7
@@
public:
// If this is the last PATypeHolder using this object, and there are no
// PATypeHandles using it, the type is dead, delete it now.
- if (
RefCount--
== 0 && AbstractTypeUsers.empty())
+ if (
--RefCount
== 0 && AbstractTypeUsers.empty())
this->destroy();
}