diff options
Diffstat (limited to 'deps/v8/src/objects/scope-info.h')
-rw-r--r-- | deps/v8/src/objects/scope-info.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/deps/v8/src/objects/scope-info.h b/deps/v8/src/objects/scope-info.h index 3fe5c2c5ad..1593a720c1 100644 --- a/deps/v8/src/objects/scope-info.h +++ b/deps/v8/src/objects/scope-info.h @@ -271,6 +271,7 @@ class ScopeInfo : public TorqueGeneratedScopeInfo<ScopeInfo, HeapObject> { V8_EXPORT_PRIVATE static Handle<ScopeInfo> CreateForEmptyFunction( Isolate* isolate); static Handle<ScopeInfo> CreateForNativeContext(Isolate* isolate); + static Handle<ScopeInfo> CreateForShadowRealmNativeContext(Isolate* isolate); static Handle<ScopeInfo> CreateGlobalThisBinding(Isolate* isolate); // Creates a copy of a {ScopeInfo} but with the provided locals blocklist @@ -315,8 +316,6 @@ class ScopeInfo : public TorqueGeneratedScopeInfo<ScopeInfo, HeapObject> { V8_EXPORT_PRIVATE uint32_t Hash(); private: - friend class WebSnapshotDeserializer; - int InlinedLocalNamesLookup(String name); int ContextLocalNamesIndex() const; @@ -363,7 +362,7 @@ class ScopeInfo : public TorqueGeneratedScopeInfo<ScopeInfo, HeapObject> { return index; } - enum class BootstrappingType { kScript, kFunction, kNative }; + enum class BootstrappingType { kScript, kFunction, kNative, kShadowRealm }; static Handle<ScopeInfo> CreateForBootstrapping(Isolate* isolate, BootstrappingType type); |