diff options
author | Erik Verbruggen <[email protected]> | 2017-11-23 11:34:27 +0100 |
---|---|---|
committer | Erik Verbruggen <[email protected]> | 2017-12-14 09:24:03 +0000 |
commit | 6793683b165bca058e4bd9ee1b3beac8cff12b9d (patch) | |
tree | a3d4b875bd7a5f98d67cd5a870ceb7e756c9f63c /src/qml/jsruntime/qv4function_p.h | |
parent | a1fd2866465c4be2815a6ada776867b3d4efc557 (diff) |
V4: Only start JITting after a minimum of 3 calls
Change-Id: I748e06041f3085980ce48391ba2d829a9d86a727
Reviewed-by: Lars Knoll <[email protected]>
Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4function_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4function_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4function_p.h b/src/qml/jsruntime/qv4function_p.h index 0e61be5115..dcbd41f2e6 100644 --- a/src/qml/jsruntime/qv4function_p.h +++ b/src/qml/jsruntime/qv4function_p.h @@ -83,6 +83,7 @@ struct Q_QML_EXPORT Function { // first nArguments names in internalClass are the actual arguments InternalClass *internalClass; uint nFormals; + int interpreterCallCount = 0; bool hasQmlDependencies; Function(ExecutionEngine *engine, CompiledData::CompilationUnit *unit, const CompiledData::Function *function, Code codePtr); |