Chromium Code Reviews| Index: src/scopes.h |
| diff --git a/src/scopes.h b/src/scopes.h |
| index b8a1aed0d90443b926982f236e27a25b4b3b254c..9c4b2fbc60c2ef101c61e5f219f139013e0c20c5 100644 |
| --- a/src/scopes.h |
| +++ b/src/scopes.h |
| @@ -359,6 +359,7 @@ class Scope: public ZoneObject { |
| bool scope_contains_with_; // this scope contains a 'with' statement |
| bool scope_calls_eval_; // this scope contains an 'eval' call |
| bool strict_mode_; // this scope is a strict mode scope |
| + bool has_duplicate_parameters_; |
|
Martin Maly
2011/04/07 11:00:49
Is this still needed?
Kevin Millikin (Chromium)
2011/04/07 11:02:00
Good catch, removed.
|
| // Computed via PropagateScopeInfo. |
| bool outer_scope_calls_eval_; |
| @@ -432,6 +433,7 @@ class Scope: public ZoneObject { |
| scope_calls_eval_ = false; |
| // Inherit the strict mode from the parent scope. |
| strict_mode_ = (outer_scope != NULL) && outer_scope->strict_mode_; |
| + has_duplicate_parameters_ = false; |
|
Martin Maly
2011/04/07 11:00:49
ditto.
|
| outer_scope_calls_eval_ = false; |
| inner_scope_calls_eval_ = false; |
| outer_scope_is_eval_scope_ = false; |