aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4functionobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4functionobject.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4functionobject.cpp b/src/qml/jsruntime/qv4functionobject.cpp
index a9cd25d569..45ca75008c 100644
--- a/src/qml/jsruntime/qv4functionobject.cpp
+++ b/src/qml/jsruntime/qv4functionobject.cpp
@@ -545,8 +545,9 @@ ReturnedValue ArrowFunction::virtualCall(const QV4::FunctionObject *fo, const Va
});
case Function::JsTyped:
return QV4::coerceAndCall(
- fo->engine(), function->aotCompiledFunction, thisObject, argv, argc,
- [fo](const Value *thisObject, const Value *argv, int argc) {
+ fo->engine(), function->jsTypedFunction, function->compiledFunction,
+ thisObject, argv, argc,
+ [fo](const Value *thisObject, const Value *argv, int argc) {
return qfoDoCall(fo, thisObject, argv, argc);
});
default: