Chromium Code Reviews| Index: src/scopes.h |
| diff --git a/src/scopes.h b/src/scopes.h |
| index 59965352058fe18ee26c0fa0e48c288eebbebcde..a8cf636bfff256511f733198a182d1084620b253 100644 |
| --- a/src/scopes.h |
| +++ b/src/scopes.h |
| @@ -128,9 +128,9 @@ class Scope: public ZoneObject { |
| // Declare a parameter in this scope. When there are duplicated |
| // parameters the rightmost one 'wins'. However, the implementation |
| // expects all parameters to be declared and from left to right. |
| - Variable* DeclareParameter( |
| - const AstRawString* name, VariableMode mode, |
| - bool is_optional, bool is_rest, bool* is_duplicate); |
| + Variable* DeclareParameter(const AstRawString* name, VariableMode mode, |
| + bool is_optional, bool is_rest, |
|
Benedikt Meurer
2015/08/27 04:34:51
Also undo this change.
gdeepti
2015/08/27 18:49:17
Done.
|
| + bool* is_duplicate); |
| // Declare a local variable in this scope. If the variable has been |
| // declared before, the previously declared variable is returned. |