Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index e9430f5b34f5ed25ea0511ef2a964e1e0da3d900..c78c73b3e5b302e15114b78be659bd1275c1a927 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2998,6 +2998,10 @@ class Script: public Struct { |
static inline Script* cast(Object* obj); |
+ // If script source is an external string, check that the underlying |
+ // resource is accessible. Otherwise, always return true. |
+ inline bool HasValidSource(); |
+ |
#ifdef DEBUG |
void ScriptPrint(); |
void ScriptVerify(); |