From 412eb94de4cae754130ae855236420ebd5c42482 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sun, 3 Nov 2013 15:23:05 +0100 Subject: Simplify & speed up function calling Get rid of the SimpleCallContext, instead simply use the CallContext data structure, but don't initialize the unused variables. Change-Id: I11b311986da180c62c815b516a2c55844156d0ab Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4qobjectwrapper_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/jsruntime/qv4qobjectwrapper_p.h') diff --git a/src/qml/jsruntime/qv4qobjectwrapper_p.h b/src/qml/jsruntime/qv4qobjectwrapper_p.h index eb3cf15bff..f6c333f401 100644 --- a/src/qml/jsruntime/qv4qobjectwrapper_p.h +++ b/src/qml/jsruntime/qv4qobjectwrapper_p.h @@ -121,8 +121,8 @@ private: static_cast(that)->~QObjectWrapper(); } - static ReturnedValue method_connect(SimpleCallContext *ctx); - static ReturnedValue method_disconnect(SimpleCallContext *ctx); + static ReturnedValue method_connect(CallContext *ctx); + static ReturnedValue method_disconnect(CallContext *ctx); }; struct QObjectMethod : public QV4::FunctionObject -- cgit v1.2.3