Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 48d1ff0b858087f394624175fbecb0acb38ed649..2b0e51b977d970a668181a6f891c363fb8466e18 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13073,6 +13073,8 @@ bool Script::GetPositionInfo(Handle<Script> script, int position, |
return script->GetPositionInfo(position, info, offset_flag); |
} |
+bool Script::IsUserJavaScript() { return type() == Script::TYPE_NORMAL; } |
+ |
namespace { |
bool GetPositionInfoSlow(const Script* script, int position, |
Script::PositionInfo* info) { |