aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4global_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-06-16 22:37:54 +0200
committerLars Knoll <lars.knoll@qt.io>2017-06-20 10:04:16 +0000
commit5da34373d46d17f2950a4beeb3b78d6edcb208e9 (patch)
tree393cc5bff069941f0fab7826c007749b48931458 /src/qml/jsruntime/qv4global_p.h
parenta9287277e39466d1f6caa697ffd78a36b0cc3f88 (diff)
Always use the interpreter for now
The JIT doesn't work currently. Change-Id: I511f4bac7f0c2c114fb328753fde3ed51b0ed42a Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4global_p.h')
-rw-r--r--src/qml/jsruntime/qv4global_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h
index 8769519a59..15148f6bc7 100644
--- a/src/qml/jsruntime/qv4global_p.h
+++ b/src/qml/jsruntime/qv4global_p.h
@@ -118,6 +118,9 @@ inline double trunc(double d) { return d > 0 ? floor(d) : ceil(d); }
#endif
#endif
+// ### for now we only work with the interpreter
+#undef V4_ENABLE_JIT
+
// For debug purposes: add CONFIG+=force-compile-jit to qmake's command-line to always compile the JIT.
#if defined(V4_FORCE_COMPILE_JIT) && !defined(V4_ENABLE_JIT)
# define V4_ENABLE_JIT