Targets now configure themselves based on the source module, not on the

ad-hoc "Config" flags


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8134 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-08-24 19:50:53 +00:00
parent 62c720a5bd
commit 39c07264da
5 changed files with 36 additions and 22 deletions

View File

@ -51,12 +51,12 @@ public:
/// 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);
static ExecutionEngine *createJIT(Module *M);
/// createInterpreter - Create a new interpreter object. This can never fail.
///
static ExecutionEngine *createInterpreter(Module *M, unsigned Config,
bool DebugMode, bool TraceMode);
static ExecutionEngine *createInterpreter(Module *M, bool DebugMode,
bool TraceMode);
void addGlobalMapping(const Function *F, void *Addr) {
void *&CurVal = GlobalAddress[(const GlobalValue*)F];