| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 553f4868baa6e05f912d250d7926f974d3eb5f1a..cfba4b22ba2fdf65519036fb45106e10e2ae8b0a 100755
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -529,6 +529,7 @@ Handle<SharedFunctionInfo> Compiler::Compile(Handle<String> source,
|
| info.MarkAsGlobal();
|
| info.SetExtension(extension);
|
| info.SetPreParseData(pre_data);
|
| + if (natives == NATIVES_CODE) info.MarkAsAllowingNativesSyntax();
|
| result = MakeFunctionInfo(&info);
|
| if (extension == NULL && !result.is_null()) {
|
| CompilationCache::PutScript(source, result);
|
|
|