mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Add a virtual dtor to the InlineAsm class so that the principle method of
the class can be defined in InlineAsm.cpp llvm-svn: 28718
This commit is contained in:
parent
038432eeb3
commit
71f6e90ae3
@ -35,6 +35,7 @@ class InlineAsm : public Value {
|
||||
|
||||
InlineAsm(const FunctionType *Ty, const std::string &AsmString,
|
||||
const std::string &Constraints, bool hasSideEffects);
|
||||
~InlineAsm();
|
||||
public:
|
||||
|
||||
/// InlineAsm::get - Return the the specified uniqued inline asm string.
|
||||
|
@ -17,6 +17,12 @@
|
||||
#include <cctype>
|
||||
using namespace llvm;
|
||||
|
||||
// Implement the first virtual method in this class in this file so the
|
||||
// InlineAsm vtable is emitted here.
|
||||
InlineAsm::~InlineAsm() {
|
||||
}
|
||||
|
||||
|
||||
// NOTE: when memoizing the function type, we have to be careful to handle the
|
||||
// case when the type gets refined.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user