diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-25 16:07:41 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-26 15:45:52 +0200 |
commit | 972094c109febebfb0376970bfc742d4200bcd14 (patch) | |
tree | 43e478c099bb5bafec5779a20d951627beae58ff /tools | |
parent | 8df7aa9d15095641c729aafb694bd553e63b8f4f (diff) |
Disable the JIT on Windows/AMD64 as well as on iOS
Change-Id: I7402981caa2f73fd0712975e657488a4065f403f
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/v4/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/v4/main.cpp b/tools/v4/main.cpp index c4af264e90..5cdd4dfdb9 100644 --- a/tools/v4/main.cpp +++ b/tools/v4/main.cpp @@ -276,7 +276,12 @@ int main(int argc, char *argv[]) use_llvm_compiler, use_llvm_runtime, use_llvm_jit - } mode = use_masm; + } mode; +#ifdef V4_ENABLE_JIT + mode = use_masm; +#else + mode = use_moth; +#endif #ifdef QMLJS_WITH_LLVM QQmlJS::LLVMOutputType fileType = QQmlJS::LLVMOutputObject; |