diff options
Diffstat (limited to 'src/v4/qv4context.h')
-rw-r--r-- | src/v4/qv4context.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/v4/qv4context.h b/src/v4/qv4context.h index 7e6156a6ff..b2d644d39c 100644 --- a/src/v4/qv4context.h +++ b/src/v4/qv4context.h @@ -100,7 +100,6 @@ struct ExecutionContext // ### move to CallContext Value *arguments; unsigned int argumentCount; - Object *activation; String * const *formals() const; unsigned int formalCount() const; @@ -108,7 +107,6 @@ struct ExecutionContext unsigned int variableCount() const; void createMutableBinding(String *name, bool deletable); - bool setMutableBinding(ExecutionContext *scope, String *name, const Value &value); void Q_NORETURN throwError(const Value &value); void Q_NORETURN throwError(const QString &message); @@ -140,11 +138,14 @@ struct CallContext : public ExecutionContext FunctionObject *function; Value *locals; + Object *activation; }; struct GlobalContext : public ExecutionContext { void init(ExecutionEngine *e); + + Object *global; }; struct CatchContext : public ExecutionContext |