diff options
Diffstat (limited to 'include/llvm/InlineAsm.h')
-rw-r--r-- | include/llvm/InlineAsm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/llvm/InlineAsm.h b/include/llvm/InlineAsm.h index 20c184ac2e..bf7b419475 100644 --- a/include/llvm/InlineAsm.h +++ b/include/llvm/InlineAsm.h @@ -36,9 +36,12 @@ class InlineAsm : public Value { InlineAsm(const FunctionType *Ty, const std::string &AsmString, const std::string &Constraints, bool hasSideEffects); - virtual ~InlineAsm(); +protected: + static void destroyThis(InlineAsm*v) { + Value::destroyThis(v); + } + friend class Value; public: - /// InlineAsm::get - Return the the specified uniqued inline asm string. /// static InlineAsm *get(const FunctionType *Ty, const std::string &AsmString, |