From 2aeba8e15901282edcd78bdb0b1b986637276ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20De=20Canni=C3=A8re?= Date: Mon, 13 Nov 2023 09:35:52 +0100 Subject: Doc: Clarify that QV4_FORCE_INTERPRETER will also not use the compiler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I987b739ff30a92b06bcd5f4c4b57604a930263b9 Reviewed-by: Semih Yavuz Reviewed-by: Fabian Kosmale Reviewed-by: Ulf Hermann Reviewed-by: Olivier De Cannière --- src/qml/doc/src/javascript/finetuning.qdoc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/qml/doc') diff --git a/src/qml/doc/src/javascript/finetuning.qdoc b/src/qml/doc/src/javascript/finetuning.qdoc index fb13c0bab8..0e8a913a2a 100644 --- a/src/qml/doc/src/javascript/finetuning.qdoc +++ b/src/qml/doc/src/javascript/finetuning.qdoc @@ -20,8 +20,11 @@ Running JavaScript code can be influenced by a few environment variables, partic considered for JIT compilation. The default value is 3 times. \row \li \c{QV4_FORCE_INTERPRETER} - \li Setting this environment variable disables the JIT and runs all - functions through the interpreter, no matter how often they are called. + \li Setting this environment variable runs all functions and expressions through the + interpreter. The JIT is never used, no matter how often a function or expression is + called. Functions and expressions may still be compiled ahead of time using + \l{qmlcachegen} or \l{qmlsc}, but only the generated byte code is used at run time. Any + generated C++ code and the machine code resulting from it is ignored. \row \li \c{QV4_JS_MAX_STACK_SIZE} \li The JavaScript engine reserves a special memory area as a stack to run JavaScript. -- cgit v1.2.3