Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 51755054cb00a3513faae0b6c5684ce5473f105e..19b17270eafd0aeac70850b15e4d1c00b5f6a211 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6585,6 +6585,12 @@ class Script: public Struct { |
inline CompilationState compilation_state(); |
inline void set_compilation_state(CompilationState state); |
+ // [is_debugger_script]: An opaque boolean set by the embedder via |
+ // ScriptOrigin, and used by the embedder to make decisions about the |
+ // script's origin. V8 just passes this through. Encoded in |
+ // the 'flags' field. |
+ DECL_BOOLEAN_ACCESSORS(is_debugger_script) |
+ |
// [is_shared_cross_origin]: An opaque boolean set by the embedder via |
// ScriptOrigin, and used by the embedder to make decisions about the |
// script's level of privilege. V8 just passes this through. Encoded in |
@@ -6641,7 +6647,8 @@ class Script: public Struct { |
// Bit positions in the flags field. |
static const int kCompilationTypeBit = 0; |
static const int kCompilationStateBit = 1; |
- static const int kIsSharedCrossOriginBit = 2; |
+ static const int kIsDebuggerScriptBit = 2; |
+ static const int kIsSharedCrossOriginBit = 3; |
DISALLOW_IMPLICIT_CONSTRUCTORS(Script); |
}; |