diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-12-01 14:05:07 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-12-02 15:50:37 +0100 |
commit | 2104e7fdcb9c16cabc58e93f0cd1d11e36bdca34 (patch) | |
tree | ebd2686e7cf8f0e4b561394f28e0aa4cc5b35eb4 /qmljs_engine.h | |
parent | b589811f735ffde5dd1272bd9dd69599de421000 (diff) |
Remove the DeclarativeEnvironment class again
The class is a specification detail that we can implement
in a more performant way. ExecutionContext now contains
everything needed again.
Change-Id: Ideb5f04eeeecaf2b8543676c626e3943e4d6d7a1
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qmljs_engine.h')
-rw-r--r-- | qmljs_engine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qmljs_engine.h b/qmljs_engine.h index 9b91f01c04..a6f1808676 100644 --- a/qmljs_engine.h +++ b/qmljs_engine.h @@ -138,7 +138,7 @@ struct ExecutionEngine struct ExceptionHandler { ExecutionContext *context; - DeclarativeEnvironment::With *with; + ExecutionContext::With *with; const uchar *code; // Interpreter state int targetTempIndex; // Interpreter state jmp_buf stackFrame; @@ -186,7 +186,7 @@ struct ExecutionEngine Object *newErrorObject(const Value &value); Object *newSyntaxErrorObject(ExecutionContext *ctx, DiagnosticMessage *message); Object *newMathObject(ExecutionContext *ctx); - Object *newActivationObject(DeclarativeEnvironment *ctx); + Object *newActivationObject(ExecutionContext *ctx); Object *newForEachIteratorObject(Object *o); }; |