| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 0725a0a7d35f3148d17926c2e4d79ed2a499ed21..98dfa2bc447cec384abef0a1deb7d8fc0da9e90b 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -5133,7 +5133,7 @@ bool ParserApi::Parse(CompilationInfo* info) {
|
| result = parser.ParseLazy(info);
|
| } else {
|
| bool allow_natives_syntax =
|
| - FLAG_allow_natives_syntax || 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()) {
|
|
|