aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compilercontext.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2018-11-23 12:50:27 +0100
committerErik Verbruggen <erik.verbruggen@qt.io>2019-03-04 12:55:16 +0000
commit80f9634f7e3a1c31cda0c804d811c532aeee103b (patch)
treef9fb44f5f8a952021014109e109411ca29698897 /src/qml/compiler/qv4compilercontext.cpp
parent00bcc365403f253e0c6fd54b7b1715ba974679c5 (diff)
V4: Add IR that can use traced information to JIT
This is the in a series of patches for a JIT that can use traced information to generate better code. In this patch, traced information is not used/stored yet. It allows testing the basic infrastructure without trying to do any optimizations, therefore making it easier to debug, test, and review. Change-Id: I589bdadf731c36542331abe64e1b39e305b6723e Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compilercontext.cpp')
-rw-r--r--src/qml/compiler/qv4compilercontext.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qml/compiler/qv4compilercontext.cpp b/src/qml/compiler/qv4compilercontext.cpp
index 419c77fc03..931759fa72 100644
--- a/src/qml/compiler/qv4compilercontext.cpp
+++ b/src/qml/compiler/qv4compilercontext.cpp
@@ -423,9 +423,7 @@ bool Context::canUseTracingJit() const
if (!onlyTrace.isEmpty())
return onlyTrace.contains(name);
- //### the next condition should be refined and have the IR distinguish between escaping and
- // non-escaping locals
- return !hasTry && !requiresExecutionContext && !hasNestedFunctions;
+ return true;
#else
return false;
#endif