From d24b7fb904771ba078ac52e05984b23327ddff3b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 19 Jan 2015 16:29:48 +0100 Subject: Remove the realArgumentsCount member in CallContext The data is easily available through the CallData, only used by the Arguments object and we save a pointer in Heap::CallData this way. For this to work, let CallData::argc always return the real number of arguments passed into the function. Change-Id: I59c7c41e8c1af160db09fa794977ab7084c9e12d Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4context_p.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/qml/jsruntime/qv4context_p.h') diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h index 1431c5ac82..93cd9d4ea9 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -107,7 +107,6 @@ struct CallContext : ExecutionContext { CallContext(ExecutionEngine *engine, QV4::Object *qml, QV4::FunctionObject *function); FunctionObject *function; - int realArgumentCount; Value *locals; Object *activation; }; -- cgit v1.2.3