summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-24 19:58:38 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-24 19:58:38 +0000
commit65cd504822e419298aaa67953fd3f9d0e17c9a5f (patch)
treeab31b8487bb8ff7a5738e917ef76fa051564ff2b /llvm/lib/ExecutionEngine/ExecutionEngine.cpp
parentf314a4b7aaa4d7b1fb26b33c52bae2339813683e (diff)
downloadbcm5719-llvm-65cd504822e419298aaa67953fd3f9d0e17c9a5f.tar.gz
bcm5719-llvm-65cd504822e419298aaa67953fd3f9d0e17c9a5f.zip
ExecutionEngine::create no longer takes a TraceMode argument.
llvm-svn: 9488
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/ExecutionEngine.cpp9
1 files changed, 4 insertions, 5 deletions
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;
}
OpenPOWER on IntegriCloud