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

Unified Diff: src/ast/scopes.h

Issue 2902423002: Revert of Make non-Module generators only context allocate parameters. (Closed)
Patch Set: Created 3 years, 7 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/scopes.h
diff --git a/src/ast/scopes.h b/src/ast/scopes.h
index a4f76b6037892ee5ac7292b70f6cffd7fc5080d6..ba7aa020b6c0f44c40cf5584089c7c2feaec1775 100644
--- a/src/ast/scopes.h
+++ b/src/ast/scopes.h
@@ -323,13 +323,6 @@
bool has_forced_context_allocation() const {
return force_context_allocation_;
}
- void ForceContextAllocationForParameters() {
- DCHECK(!already_resolved_);
- force_context_allocation_for_parameters_ = true;
- }
- bool has_forced_context_allocation_for_parameters() const {
- return force_context_allocation_for_parameters_;
- }
// ---------------------------------------------------------------------------
// Predicates.
@@ -581,7 +574,6 @@
// True if one of the inner scopes or the scope itself calls eval.
bool inner_scope_calls_eval_ : 1;
bool force_context_allocation_ : 1;
- bool force_context_allocation_for_parameters_ : 1;
// True if it holds 'var' declarations.
bool is_declaration_scope_ : 1;
« no previous file with comments | « no previous file | src/ast/scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698