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:
Misha Brukman 2003-10-16 21:16:21 +00:00
parent 11b2dbd5f8
commit 7034adbce2

View File

@ -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; }