From 65cd504822e419298aaa67953fd3f9d0e17c9a5f Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Fri, 24 Oct 2003 19:58:38 +0000 Subject: ExecutionEngine::create no longer takes a TraceMode argument. llvm-svn: 9488 --- llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp') diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp index 38bd14ab726..dd647247c3f 100644 --- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp @@ -47,18 +47,17 @@ ExecutionEngine::~ExecutionEngine() { /// NULL is returned. /// ExecutionEngine *ExecutionEngine::create(ModuleProvider *MP, - bool ForceInterpreter, - bool TraceMode) { + bool ForceInterpreter) { ExecutionEngine *EE = 0; - // If there is nothing that is forcing us to use the interpreter, make a JIT. - if (!ForceInterpreter && !TraceMode) + // Unless the interpreter was explicitly selected, make a JIT. + if (!ForceInterpreter) EE = VM::create(MP); // If we can't make a JIT, make an interpreter instead. try { if (EE == 0) - EE = Interpreter::create(MP->materializeModule(), TraceMode); + EE = Interpreter::create(MP->materializeModule()); } catch (...) { EE = 0; } -- cgit v1.2.3