diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-08-21 10:32:50 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-02 17:27:36 +0200 |
commit | ac1d0075a8a379de1aa31a588c7b86ce0813e48c (patch) | |
tree | fb78932dd6574736d8e6478522ebf2a669bdc6bc /src/qml/jsruntime/qv4context_p.h | |
parent | e360eaa02fb1a9baae89b473e2b5e8cc9d1bc609 (diff) |
Move call context creation into the ExecutionContext class
Change-Id: Ie66a5892b0e5ab74bead1fcb59ffad5a867e0509
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.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h index 271df3a8c0..07937541e2 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -112,6 +112,9 @@ struct Q_QML_EXPORT ExecutionContext interpreterInstructionPointer = 0; } + CallContext *newCallContext(void *stackSpace, FunctionObject *f, const QV4::Value &thisObject, QV4::Value *args, int argc); + + String * const *formals() const; unsigned int formalCount() const; String * const *variables() const; @@ -157,8 +160,6 @@ struct SimpleCallContext : public ExecutionContext struct CallContext : public SimpleCallContext { - void initCallContext(ExecutionContext *parentContext, FunctionObject *function, Value *args, int argc, - const Value &thisObject); void initQmlContext(ExecutionContext *parentContext, Object *qml, QV4::FunctionObject *function); bool needsOwnArguments() const; |