| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 388187445fe524bdb5aa7d6e31f0c074b51abe34..e2b1b323ba7930d545d3116d6fbae73779f9f2f7 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -5873,6 +5873,10 @@ class Script: public Struct {
|
| inline CompilationState compilation_state();
|
| inline void set_compilation_state(CompilationState state);
|
|
|
| + // [passed_access_check]: did the script pass access control checks (CORS)
|
| + // when loaded? Encodedin the 'flags' field.
|
| + DECL_BOOLEAN_ACCESSORS(passed_access_check)
|
| +
|
| static inline Script* cast(Object* obj);
|
|
|
| // If script source is an external string, check that the underlying
|
| @@ -5904,6 +5908,7 @@ class Script: public Struct {
|
| // Bit positions in the flags field.
|
| static const int kCompilationTypeBit = 0;
|
| static const int kCompilationStateBit = 1;
|
| + static const int kPassedAccessCheckBit = 2;
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(Script);
|
| };
|
|
|