mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 09:21:02 +00:00
If we move the constructors to the .cpp file, we can drop the #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9180 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
11b2dbd5f8
commit
7034adbce2
@ -8,7 +8,6 @@
|
||||
#ifndef EXECUTION_ENGINE_H
|
||||
#define EXECUTION_ENGINE_H
|
||||
|
||||
#include "llvm/ModuleProvider.h"
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <map>
|
||||
@ -18,6 +17,7 @@ class Function;
|
||||
union GenericValue;
|
||||
class GlobalValue;
|
||||
class Module;
|
||||
class ModuleProvider;
|
||||
class TargetData;
|
||||
class Type;
|
||||
|
||||
@ -36,12 +36,8 @@ protected:
|
||||
}
|
||||
|
||||
public:
|
||||
ExecutionEngine(ModuleProvider *P) : CurMod(*(P->getModule())), MP(P) {
|
||||
assert(P && "ModuleProvider is null?");
|
||||
}
|
||||
ExecutionEngine(Module *M) : CurMod(*M), MP(0) {
|
||||
assert(M && "Module is null?");
|
||||
}
|
||||
ExecutionEngine(ModuleProvider *P);
|
||||
ExecutionEngine(Module *M);
|
||||
virtual ~ExecutionEngine();
|
||||
|
||||
Module &getModule() const { return CurMod; }
|
||||
|
Loading…
Reference in New Issue
Block a user