diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-08-16 12:54:30 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-17 09:26:30 +0200 |
commit | 3cfc7e0c026faf70eff8e180a2df3a01b34491c0 (patch) | |
tree | dcac9d9a70e1664452647f5c165cb2f7a5692692 /src/qml/jsruntime/qv4argumentsobject_p.h | |
parent | 51e7447481a472ef542e7c6e7b669574ba366a9d (diff) |
Move arguments object creation into the generated code
So far we've been creating the arguments object at runtime
in initCallContext(). It's much more efficient to simply add
arguments as a local variable in qv4codegen if it's being used
and initialize it through a builtin method.
Change-Id: I6913f3565adf3aa1917adae8dceef9f50ecf1722
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4argumentsobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4argumentsobject_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4argumentsobject_p.h b/src/qml/jsruntime/qv4argumentsobject_p.h index 05016cc8e4..097bc4c31f 100644 --- a/src/qml/jsruntime/qv4argumentsobject_p.h +++ b/src/qml/jsruntime/qv4argumentsobject_p.h @@ -78,7 +78,7 @@ protected: struct ArgumentsObject: Object { CallContext *context; QVector<Value> mappedArguments; - ArgumentsObject(CallContext *context, int formalParameterCount, int actualParameterCount); + ArgumentsObject(CallContext *context); ~ArgumentsObject() {} enum { |