Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index ff748cf20ff444f2b8675a36ae5a90385815ed4c..3435f530c2c5097bcce4fdfbc38a7b4aa986b668 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1447,8 +1447,10 @@ |
if (FLAG_trace_deopt) Script::InitLineEnds(script); |
if (natives == NATIVES_CODE) { |
script->set_type(Script::TYPE_NATIVE); |
+ script->set_hide_source(true); |
} else if (natives == EXTENSION_CODE) { |
script->set_type(Script::TYPE_EXTENSION); |
+ script->set_hide_source(true); |
} |
if (!script_name.is_null()) { |
script->set_name(*script_name); |