Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index c39936cc254b531c891beb50a23cb7afdfda9333..9e0ef5f13288b88a334484580b068ce56ac5f624 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1352,6 +1352,7 @@ Handle<SharedFunctionInfo> Compiler::CompileScript( |
Handle<Script> script = isolate->factory()->NewScript(source); |
if (natives == NATIVES_CODE) { |
script->set_type(Smi::FromInt(Script::TYPE_NATIVE)); |
+ script->set_hide_source(true); |
} |
if (!script_name.is_null()) { |
script->set_name(*script_name); |