aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmljs
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-01-27 14:20:35 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2017-01-31 18:30:10 +0000
commit8b7d48d99c256182992104eaca5fd630bf41830b (patch)
treefd83907aaa9e0996b3bd3e341f70d96333448933 /tools/qmljs
parent998fe28408429814fa0cd69195d02192f88790f6 (diff)
Make the JIT ISelFactory a template
That way qmldevtools can - in the future - instantiate that also for the cross-compilation targets. Change-Id: If15b195f24e54226dc4f2fd9f0ad6874f44cb5af Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tools/qmljs')
-rw-r--r--tools/qmljs/qmljs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmljs/qmljs.cpp b/tools/qmljs/qmljs.cpp
index 54e1b6cea8..4d0f9d278f 100644
--- a/tools/qmljs/qmljs.cpp
+++ b/tools/qmljs/qmljs.cpp
@@ -141,7 +141,7 @@ int main(int argc, char *argv[])
#endif
#ifdef V4_ENABLE_JIT
} else {
- iSelFactory = new QV4::JIT::ISelFactory;
+ iSelFactory = new QV4::JIT::ISelFactory<>;
#endif // V4_ENABLE_JIT
}