| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index 9daee95600d6424a0621c32d727fe89c0f126a88..5c6f1aa8f433229e9426c96f236d748684af70cc 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -5327,12 +5327,11 @@ Expression* Parser::CloseTemplateLiteral(TemplateLiteralState* state, int start,
|
| ZoneList<Expression*>* args = new (zone()) ZoneList<Expression*>(4, zone());
|
| args->Add(factory()->NewArrayLiteral(
|
| const_cast<ZoneList<Expression*>*>(cooked_strings),
|
| - cooked_idx, is_strong(language_mode()), pos),
|
| + cooked_idx, pos),
|
| zone());
|
| args->Add(
|
| factory()->NewArrayLiteral(
|
| - const_cast<ZoneList<Expression*>*>(raw_strings), raw_idx,
|
| - is_strong(language_mode()), pos),
|
| + const_cast<ZoneList<Expression*>*>(raw_strings), raw_idx, pos),
|
| zone());
|
|
|
| // Ensure hash is suitable as a Smi value
|
| @@ -5421,7 +5420,6 @@ ZoneList<v8::internal::Expression*>* Parser::PrepareSpreadArguments(
|
| }
|
| int literal_index = function_state_->NextMaterializedLiteralIndex();
|
| args->Add(factory()->NewArrayLiteral(unspread, literal_index,
|
| - is_strong(language_mode()),
|
| RelocInfo::kNoPosition),
|
| zone());
|
|
|
|
|