| Index: src/compiler.cc
|
| ===================================================================
|
| --- src/compiler.cc (revision 8778)
|
| +++ src/compiler.cc (working copy)
|
| @@ -511,7 +511,6 @@
|
| info.SetPreParseData(pre_data);
|
| if (natives == NATIVES_CODE) {
|
| info.MarkAsAllowingNativesSyntax();
|
| - info.MarkAsNative();
|
| }
|
| result = MakeFunctionInfo(&info);
|
| if (extension == NULL && !result.is_null()) {
|
| @@ -679,7 +678,6 @@
|
| info.SetFunction(literal);
|
| info.SetScope(literal->scope());
|
| if (literal->scope()->is_strict_mode()) info.MarkAsStrictMode();
|
| - if (script->type()->value() == Script::TYPE_NATIVE) info.MarkAsNative();
|
|
|
| LiveEditFunctionTracker live_edit_tracker(info.isolate(), literal);
|
| // Determine if the function can be lazily compiled. This is necessary to
|
|
|