summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-08-08 08:11:34 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-08-08 08:11:34 +0000
commit502f20b17ede40de84503010b7699b328a4f2867 (patch)
tree5c2ccb21d8acceb0846fb0f5e0b162509310cb01 /lib/ExecutionEngine/Interpreter
parent381cb07544a2bc119e39969d7d508a6247773e1c (diff)
downloadllvm-502f20b17ede40de84503010b7699b328a4f2867.tar.gz
llvm-502f20b17ede40de84503010b7699b328a4f2867.tar.bz2
llvm-502f20b17ede40de84503010b7699b328a4f2867.tar.xz
Add new parameter Fast to createJIT to enable the fast codegen path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.cpp3
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index 4234bd9d8c..ac0ee3fb49 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
@@ -36,7 +36,8 @@ namespace llvm {
/// create - Create a new interpreter object. This can never fail.
///
-ExecutionEngine *Interpreter::create(ModuleProvider *MP, std::string* ErrStr) {
+ExecutionEngine *Interpreter::create(ModuleProvider *MP, std::string* ErrStr,
+ bool Fast /*unused*/) {
// Tell this ModuleProvide to materialize and release the module
if (!MP->materializeModule(ErrStr))
// We got an error, just return 0
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 02edaa0264..fc7da18fd0 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -108,7 +108,8 @@ public:
/// create - Create an interpreter ExecutionEngine. This can never fail.
///
- static ExecutionEngine *create(ModuleProvider *M, std::string *ErrorStr = 0);
+ static ExecutionEngine *create(ModuleProvider *M, std::string *ErrorStr = 0,
+ bool Fast /*unused*/ = 0);
/// run - Start execution with the specified function and arguments.
///