Chromium Code Reviews| Index: src/ast/scopes.cc |
| diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc |
| index 0258ff023a1abe9f9579ab13e12b10a940b97379..4a13f2ca256f53cdad873bd31a6ea4567d9e9ce5 100644 |
| --- a/src/ast/scopes.cc |
| +++ b/src/ast/scopes.cc |
| @@ -1927,6 +1927,7 @@ void DeclarationScope::AllocateParameterLocals() { |
| DCHECK_EQ(this, var->scope()); |
| if (uses_sloppy_arguments) { |
| var->set_is_used(); |
| + var->set_maybe_assigned(); |
| var->ForceContextAllocation(); |
| } |
| AllocateParameter(var, i); |