Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: src/ast/ast.h

Issue 2306413002: Fully deserialize the scope chain after parsing, not before (Closed)
Patch Set: updates Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/ast/scopes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast.h
diff --git a/src/ast/ast.h b/src/ast/ast.h
index e25bd0767cd48abc3b9c66baa95a3ab071ffe324..b4218c59882f158f6ba4b7aeca84d16d433ce3b2 100644
--- a/src/ast/ast.h
+++ b/src/ast/ast.h
@@ -1176,10 +1176,6 @@ class SloppyBlockFunctionStatement final : public Statement {
public:
Statement* statement() const { return statement_; }
void set_statement(Statement* statement) { statement_ = statement; }
- VariableProxy* from() const { return from_; }
- void set_from(VariableProxy* from) { from_ = from; }
- VariableProxy* to() const { return to_; }
- void set_to(VariableProxy* to) { to_ = to; }
Scope* scope() const { return scope_; }
SloppyBlockFunctionStatement* next() { return next_; }
void set_next(SloppyBlockFunctionStatement* next) { next_ = next; }
@@ -1190,14 +1186,10 @@ class SloppyBlockFunctionStatement final : public Statement {
SloppyBlockFunctionStatement(Statement* statement, Scope* scope)
: Statement(kNoSourcePosition, kSloppyBlockFunctionStatement),
statement_(statement),
- from_(nullptr),
- to_(nullptr),
scope_(scope),
next_(nullptr) {}
Statement* statement_;
- VariableProxy* from_;
- VariableProxy* to_;
Scope* const scope_;
SloppyBlockFunctionStatement* next_;
};
« no previous file with comments | « no previous file | src/ast/scopes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698