diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-04-29 00:32:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-04-29 00:32:19 +0000 |
commit | 9f795134f3ad884f8e3382551271b6f21fe37fe6 (patch) | |
tree | 33b2a2ece14ed01f9a9f0475f0c49d0c978c7354 /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | |
parent | 084669a1c94ec215e8366ec827ffec21d5a4afeb (diff) | |
download | bcm5719-llvm-9f795134f3ad884f8e3382551271b6f21fe37fe6.tar.gz bcm5719-llvm-9f795134f3ad884f8e3382551271b6f21fe37fe6.zip |
The second part of the change from -fast to -O#. This changes the JIT to accept
an optimization level instead of a simple boolean telling it to generate code
"fast" or the other type of "fast".
llvm-svn: 70347
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp index ac0ee3fb49c..c05eeac0868 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp @@ -37,7 +37,7 @@ namespace llvm { /// create - Create a new interpreter object. This can never fail. /// ExecutionEngine *Interpreter::create(ModuleProvider *MP, std::string* ErrStr, - bool Fast /*unused*/) { + unsigned OptLevel /*unused*/) { // Tell this ModuleProvide to materialize and release the module if (!MP->materializeModule(ErrStr)) // We got an error, just return 0 |