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
This commit is contained in:
Evan Cheng
2008-08-08 08:11:34 +00:00
parent 381cb07544
commit 502f20b17e
8 changed files with 30 additions and 20 deletions

View File

@@ -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