Chromium Code Reviews| Index: src/scopes.cc |
| diff --git a/src/scopes.cc b/src/scopes.cc |
| index 0c8f2106802e4c8a6bab07d9ec132243198f95ce..ea116718152246a8dd6e7fe5a2e00c0f176124ed 100644 |
| --- a/src/scopes.cc |
| +++ b/src/scopes.cc |
| @@ -466,9 +466,9 @@ Variable* Scope::Lookup(const AstRawString* name) { |
| } |
| -Variable* Scope::DeclareParameter( |
| - const AstRawString* name, VariableMode mode, |
| - bool is_optional, bool is_rest, bool* is_duplicate) { |
| +Variable* Scope::DeclareParameter(const AstRawString* name, VariableMode mode, |
|
Benedikt Meurer
2015/08/27 04:34:51
And this one.
gdeepti
2015/08/27 18:49:17
Done.
|
| + bool is_optional, bool is_rest, |
| + bool* is_duplicate) { |
| DCHECK(!already_resolved()); |
| DCHECK(is_function_scope()); |
| DCHECK(!is_optional || !is_rest); |