aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-01-19 16:29:48 +0100
committerLars Knoll <lars.knoll@digia.com>2015-01-23 12:30:43 +0100
commitd24b7fb904771ba078ac52e05984b23327ddff3b (patch)
tree4c67db1a53556187049ba920eabc0137cb4770d9 /src/qml/jsruntime/qv4context_p.h
parent0c2ab6e20ca23e74055d0a95539315cf1bf360bf (diff)
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 <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r--src/qml/jsruntime/qv4context_p.h1
1 files changed, 0 insertions, 1 deletions
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;
};