X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FInlineAsm.h;h=bb046c2a3cb5327389e55c91e281da15a234e968;hb=fc82fabe00b0b820e3c0d7fc9e289bace0295f11;hp=bf7b4194758d0bc799c8d44c99064f51f3571f09;hpb=ed455c8fa25dd37a13b33f0afa66be03ac49b5bb;p=oota-llvm.git diff --git a/include/llvm/InlineAsm.h b/include/llvm/InlineAsm.h index bf7b4194758..bb046c2a3cb 100644 --- a/include/llvm/InlineAsm.h +++ b/include/llvm/InlineAsm.h @@ -2,8 +2,8 @@ // // The LLVM Compiler Infrastructure // -// This file was developed by Chris Lattner and is distributed under -// the University of Illinois Open Source License. See LICENSE.TXT for details. +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // @@ -17,7 +17,6 @@ #define LLVM_INLINEASM_H #include "llvm/Value.h" -#include "llvm/System/IncludeFile.h" #include namespace llvm { @@ -36,12 +35,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, @@ -135,7 +131,4 @@ public: } // End llvm namespace -// Make sure the InlineAsm.cpp file is linked when this one is #included. -FORCE_DEFINING_FILE_TO_BE_LINKED(InlineAsm) - #endif