From ba64b7a70eedf6a2023ef86eda542cad6f4b21be Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 16 May 2023 09:27:14 +0200 Subject: Undeprecate AOTCompiledFunction We're going to call the JavaScript-typed functions a different name. Change-Id: If92c3fb1b16b1b0bd7d009e7dd712ae6405e1232 Reviewed-by: Fabian Kosmale --- src/qml/jsruntime/qv4functionobject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/jsruntime/qv4functionobject.cpp') diff --git a/src/qml/jsruntime/qv4functionobject.cpp b/src/qml/jsruntime/qv4functionobject.cpp index 3fd85ab44d..a9cd25d569 100644 --- a/src/qml/jsruntime/qv4functionobject.cpp +++ b/src/qml/jsruntime/qv4functionobject.cpp @@ -539,13 +539,13 @@ ReturnedValue ArrowFunction::virtualCall(const QV4::FunctionObject *fo, const Va switch (function->kind) { case Function::AotCompiled: return QV4::convertAndCall( - fo->engine(), function->typedFunction, thisObject, argv, argc, + fo->engine(), function->aotCompiledFunction, thisObject, argv, argc, [fo](QObject *thisObject, void **a, const QMetaType *types, int argc) { ArrowFunction::virtualCallWithMetaTypes(fo, thisObject, a, types, argc); }); case Function::JsTyped: return QV4::coerceAndCall( - fo->engine(), function->typedFunction, thisObject, argv, argc, + fo->engine(), function->aotCompiledFunction, thisObject, argv, argc, [fo](const Value *thisObject, const Value *argv, int argc) { return qfoDoCall(fo, thisObject, argv, argc); }); -- cgit v1.2.3