| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 1ee22a3d0b5bd787cb3fdd04d4184c93035638ea..19dd24ef389d065f37bc587f999ba10b5fb660ab 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -5135,8 +5135,7 @@ bool ParserApi::Parse(CompilationInfo* info) {
|
| result = parser.ParseLazy(info);
|
| } else {
|
| bool allow_natives_syntax =
|
| - FLAG_allow_natives_syntax ||
|
| - info->isolate()->bootstrapper()->IsActive();
|
| + info->allows_natives_syntax() || FLAG_allow_natives_syntax;
|
| ScriptDataImpl* pre_data = info->pre_parse_data();
|
| Parser parser(script, allow_natives_syntax, info->extension(), pre_data);
|
| if (pre_data != NULL && pre_data->has_error()) {
|
|
|