From c953f8b550b7ea9e7989f9fddaaa14324354aea3 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 2 Dec 2016 15:19:45 +0100 Subject: Avoid the creation of a FunctionObject for most bindings Change-Id: Ia62d380945250015009d9c2b6ed65f6d830277ef Reviewed-by: Simon Hausmann --- src/qml/qml/qqmljavascriptexpression_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/qml/qqmljavascriptexpression_p.h') diff --git a/src/qml/qml/qqmljavascriptexpression_p.h b/src/qml/qml/qqmljavascriptexpression_p.h index 36024082c9..8a230efeeb 100644 --- a/src/qml/qml/qqmljavascriptexpression_p.h +++ b/src/qml/qml/qqmljavascriptexpression_p.h @@ -159,6 +159,7 @@ protected: } void setFunctionObject(const QV4::FunctionObject *o); + void setupFunction(QV4::QmlContext *qmlContext, QV4::Function *f); private: friend class QQmlContextData; -- cgit v1.2.3