diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2023-05-16 09:27:14 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-05-23 13:53:22 +0200 |
| commit | ba64b7a70eedf6a2023ef86eda542cad6f4b21be (patch) | |
| tree | 2a7663132b2717a2c361c3b0c03b09fe85fcc884 /src/qml/jsruntime/qv4executablecompilationunit.cpp | |
| parent | 1559e6707e276b521b52876c539fcfe5a1e85a4e (diff) | |
Undeprecate AOTCompiledFunction
We're going to call the JavaScript-typed functions a different name.
Change-Id: If92c3fb1b16b1b0bd7d009e7dd712ae6405e1232
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4executablecompilationunit.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4executablecompilationunit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4executablecompilationunit.cpp b/src/qml/jsruntime/qv4executablecompilationunit.cpp index a73d5031ec..ca3e7e3141 100644 --- a/src/qml/jsruntime/qv4executablecompilationunit.cpp +++ b/src/qml/jsruntime/qv4executablecompilationunit.cpp @@ -178,10 +178,10 @@ QV4::Function *ExecutableCompilationUnit::linkToEngine(ExecutionEngine *engine) = qEnvironmentVariableIsSet("QV4_FORCE_INTERPRETER") || !(engine->diskCacheOptions() & ExecutionEngine::DiskCache::AotNative); - const QQmlPrivate::TypedFunction *aotFunction + const QQmlPrivate::AOTCompiledFunction *aotFunction = ignoreAotCompiledFunctions ? nullptr : aotCompiledFunctions; - auto advanceAotFunction = [&](int i) -> const QQmlPrivate::TypedFunction * { + auto advanceAotFunction = [&](int i) -> const QQmlPrivate::AOTCompiledFunction * { if (aotFunction) { if (aotFunction->functionPtr) { if (aotFunction->extraData == i) |
