const std::vector<std::string> &Args,
const char ** envp) = 0;
- /// createJIT - Create an return a new JIT compiler if there is one available
- /// for the current target. Otherwise it returns null.
- ///
- static ExecutionEngine *createJIT(Module *M, unsigned Config);
-
- /// createInterpreter - Create a new interpreter object. This can never fail.
- ///
- static ExecutionEngine *createInterpreter(Module *M, unsigned Config,
- bool DebugMode, bool TraceMode);
+ static ExecutionEngine *create (Module *M, bool ForceInterpreter,
+ bool TraceMode);
void addGlobalMapping(const Function *F, void *Addr) {
void *&CurVal = GlobalAddress[(const GlobalValue*)F];