aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4global_p.h
diff options
context:
space:
mode:
authorJulien Brianceau <jbriance@cisco.com>2015-04-15 09:40:37 +0200
committerFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-04-27 15:59:09 +0000
commit9d5627ff648cd578c54625dba5158f450779ea8b (patch)
treedefda99be82e4d9f58ecd5006203ea4743ae6e19 /src/qml/jsruntime/qv4global_p.h
parent5d2f97791ccff58bb945acbc28df65fa0521a1f6 (diff)
V4: add JIT support for mips platforms (32-bit) and enable it
[ChangeLog][QtQml] Enabled Just-In-Time compilation for JavaScript on MIPS Change-Id: Idce070f29645760d6376767ef67e4592828c104d Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4global_p.h')
-rw-r--r--src/qml/jsruntime/qv4global_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h
index 3385547710..9f37ede2c1 100644
--- a/src/qml/jsruntime/qv4global_p.h
+++ b/src/qml/jsruntime/qv4global_p.h
@@ -88,6 +88,8 @@ inline double trunc(double d) { return d > 0 ? floor(d) : ceil(d); }
#define V4_ENABLE_JIT
#endif
+#elif defined(Q_PROCESSOR_MIPS_32) && defined(Q_OS_LINUX)
+#define V4_ENABLE_JIT
#endif
// Black list some platforms