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 | fc8a2d5a8390952029e1c47a623e046b744f44d4 (patch) | |
tree | 628f6fa3e2de0310edd1fed1e72a666dc19bf884 /llvm/lib/ExecutionEngine/Interpreter | |
parent | 91ff94d6d9befda562a1384f43ecde6e43b9db99 (diff) | |
download | bcm5719-llvm-fc8a2d5a8390952029e1c47a623e046b744f44d4.tar.gz bcm5719-llvm-fc8a2d5a8390952029e1c47a623e046b744f44d4.zip |
Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create().
Also a test commit.
llvm-svn: 76276
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp index 902f6768dc8..9be6a9265d6 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp +++ b/llvm/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 diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index 01771cfe9eb..10e53e9a143 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -108,9 +108,7 @@ public: /// create - Create an interpreter ExecutionEngine. This can never fail. /// - static ExecutionEngine *create(ModuleProvider *M, std::string *ErrorStr = 0, - CodeGenOpt::Level = CodeGenOpt::Default, - bool GVsWithCode = true); + static ExecutionEngine *create(ModuleProvider *M, std::string *ErrorStr = 0); /// run - Start execution with the specified function and arguments. /// |