Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 3435f530c2c5097bcce4fdfbc38a7b4aa986b668..591b320bcee33c356635d91872c490d70bed77d3 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1451,6 +1451,9 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfoForScript( |
} else if (natives == EXTENSION_CODE) { |
script->set_type(Script::TYPE_EXTENSION); |
script->set_hide_source(true); |
+ } else if (natives == INSPECTOR_CODE) { |
+ script->set_type(Script::TYPE_INSPECTOR); |
+ script->set_hide_source(true); |
} |
if (!script_name.is_null()) { |
script->set_name(*script_name); |