Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index e09b72f7d3767f95283896e2441f465ed9d747c9..c265b95aca07510c3a837a823e4cd9cb68ee8257 100755 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -511,7 +511,6 @@ Handle<SharedFunctionInfo> Compiler::Compile(Handle<String> source, |
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 @@ Handle<SharedFunctionInfo> Compiler::BuildFunctionInfo(FunctionLiteral* literal, |
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 |