Index: src/ast/scopes.cc |
diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc |
index acba74d699805cfbd4c14a9f2d5e70d43be1f35e..dbc634245661775e83f8066d4dcb88f402f3ef38 100644 |
--- a/src/ast/scopes.cc |
+++ b/src/ast/scopes.cc |
@@ -1936,6 +1936,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); |