projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revision of Brian's threading support library to be a bit more generic and
[oota-llvm.git]
/
include
/
llvm
/
AbstractTypeUser.h
diff --git
a/include/llvm/AbstractTypeUser.h
b/include/llvm/AbstractTypeUser.h
index 8a18f5896c9cc786581b9441df7611567bbe023a..d21116539419235e99acfec25e859edb79116526 100644
(file)
--- a/
include/llvm/AbstractTypeUser.h
+++ b/
include/llvm/AbstractTypeUser.h
@@
-143,6
+143,8
@@
public:
addRef();
}
+ ~PATypeHolder() { dropRef(); }
+
operator const Type *() const { return get(); }
const Type *get() const;