| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index ecde4f28831eced822e4e9d7a25b9a0293407fef..6fb532dd014f74d586ad0c1bd54435b9899a8408 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -553,7 +553,7 @@ Parser::Parser(ParseInfo* info)
|
| set_allow_harmony_restrictive_generators(FLAG_harmony_restrictive_generators);
|
| set_allow_harmony_trailing_commas(FLAG_harmony_trailing_commas);
|
| set_allow_harmony_class_fields(FLAG_harmony_class_fields);
|
| - set_allow_harmony_object_spread(FLAG_harmony_object_spread);
|
| + set_allow_harmony_object_rest_spread(FLAG_harmony_object_rest_spread);
|
| for (int feature = 0; feature < v8::Isolate::kUseCounterFeatureCount;
|
| ++feature) {
|
| use_counts_[feature] = 0;
|
| @@ -2754,7 +2754,7 @@ Parser::LazyParsingResult Parser::SkipFunction(
|
| SET_ALLOW(harmony_async_await);
|
| SET_ALLOW(harmony_trailing_commas);
|
| SET_ALLOW(harmony_class_fields);
|
| - SET_ALLOW(harmony_object_spread);
|
| + SET_ALLOW(harmony_object_rest_spread);
|
| #undef SET_ALLOW
|
| }
|
| // Aborting inner function preparsing would leave scopes in an inconsistent
|
|
|