diff options
author | Reid Kleckner <reid@kleckner.net> | 2009-07-18 00:42:18 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2009-07-18 00:42:18 +0000 |
commit | 4b1511b027ce0b648b3379f2891816c25b46f515 (patch) | |
tree | cefcab8368bdccbb9f270209acf14cc77f572fa8 /lib/ExecutionEngine/Interpreter/Interpreter.cpp | |
parent | 016de81177ec5c950f1668be4a48992bc1ee0d75 (diff) |
Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create().
Also a test commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp index 902f6768dc..9be6a9265d 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp +++ b/lib/ExecutionEngine/Interpreter/Interpreter.cpp @@ -33,9 +33,7 @@ extern "C" void LLVMLinkInInterpreter() { } /// create - Create a new interpreter object. This can never fail. /// -ExecutionEngine *Interpreter::create(ModuleProvider *MP, std::string* ErrStr, - CodeGenOpt::Level OptLevel, /*unused*/ - bool GVsWithCode /* unused */) { +ExecutionEngine *Interpreter::create(ModuleProvider *MP, std::string* ErrStr) { // Tell this ModuleProvide to materialize and release the module if (!MP->materializeModule(ErrStr)) // We got an error, just return 0 |