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

Unified Diff: src/scopes.cc

Issue 1308123007: [es6] conditionally ignore TDZ semantics for formals (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
Index: src/scopes.cc
diff --git a/src/scopes.cc b/src/scopes.cc
index 4bb9aa8f9ce73109f69b9a1a1547dd373b096e22..ae8a4ef5343681ffe12543965e9c73386537fd74 100644
--- a/src/scopes.cc
+++ b/src/scopes.cc
@@ -183,6 +183,7 @@ void Scope::SetDefaults(ScopeType scope_type, Scope* outer_scope,
module_var_ = NULL;
arity_ = 0;
has_simple_parameters_ = true;
+ has_parameter_expressions_ = false;
rest_parameter_ = NULL;
rest_index_ = -1;
scope_info_ = scope_info;

Powered by Google App Engine
This is Rietveld 408576698