diff options
Diffstat (limited to 'llvm/include/llvm/Constant.h')
-rw-r--r-- | llvm/include/llvm/Constant.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Constant.h b/llvm/include/llvm/Constant.h index d925fdb618e..e48a9c5d740 100644 --- a/llvm/include/llvm/Constant.h +++ b/llvm/include/llvm/Constant.h @@ -43,6 +43,10 @@ protected: : User(Ty, vty, Ops, NumOps) {} void destroyConstantImpl(); + static void destroyThis(Constant*v) { + User::destroyThis(v); + } + friend class Value; public: /// Static constructor to get a '0' constant of arbitrary type... /// |