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