Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 6b4848dc4074cd46a9ffe00c635b2eb1fcffd2d6..24e86738f216573ad7e8e4e998dd11b713c7ecc8 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -232,9 +232,9 @@ FunctionLiteral* Parser::DefaultConstructor(const AstRawString* name, |
bool is_duplicate; |
bool is_rest = true; |
bool is_optional = false; |
- Variable* constructor_args = |
- function_scope->DeclareParameter(constructor_args_name, TEMPORARY, |
- is_optional, is_rest, &is_duplicate); |
+ Variable* constructor_args = function_scope->DeclareParameter( |
+ constructor_args_name, TEMPORARY, is_optional, is_rest, &is_duplicate, |
+ ast_value_factory()); |
ZoneList<Expression*>* args = |
new (zone()) ZoneList<Expression*>(2, zone()); |