diff options
Diffstat (limited to 'src/v4/qv4context.h')
-rw-r--r-- | src/v4/qv4context.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/v4/qv4context.h b/src/v4/qv4context.h index ff375fea18..7e6156a6ff 100644 --- a/src/v4/qv4context.h +++ b/src/v4/qv4context.h @@ -101,7 +101,6 @@ struct ExecutionContext Value *arguments; unsigned int argumentCount; Object *activation; - FunctionObject *function; String * const *formals() const; unsigned int formalCount() const; @@ -111,8 +110,6 @@ struct ExecutionContext void createMutableBinding(String *name, bool deletable); bool setMutableBinding(ExecutionContext *scope, String *name, const Value &value); - void wireUpPrototype(); - void Q_NORETURN throwError(const Value &value); void Q_NORETURN throwError(const QString &message); void Q_NORETURN throwSyntaxError(DiagnosticMessage *message); @@ -131,8 +128,6 @@ struct ExecutionContext inline Value argument(unsigned int index = 0); - bool needsOwnArguments() const; - void mark(); inline CallContext *asCallContext(); @@ -141,7 +136,9 @@ struct ExecutionContext struct CallContext : public ExecutionContext { void initCallContext(QQmlJS::VM::ExecutionEngine *engine); + bool needsOwnArguments() const; + FunctionObject *function; Value *locals; }; |