webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | List of all members
GlobalObject Class Reference
Inheritance diagram for GlobalObject:
JSC::JSGlobalObject JSC::JSGlobalObject JSC::JSSegmentedVariableObject JSC::JSSegmentedVariableObject JSC::JSSegmentedVariableObject JSC::JSSegmentedVariableObject JSC::JSSymbolTableObject JSC::JSSymbolTableObject JSC::JSSymbolTableObject JSC::JSSymbolTableObject JSC::JSSymbolTableObject JSC::JSSymbolTableObject JSC::JSSymbolTableObject JSC::JSSymbolTableObject

Public Types

typedef JSGlobalObject Base
 
typedef JSGlobalObject Base
 
- Public Types inherited from JSC::JSGlobalObject
template<typename T >
using Initializer = typename LazyProperty< JSGlobalObject, T >::Initializer
 
typedef JSSegmentedVariableObject Base
 
template<typename T >
using Initializer = typename LazyProperty< JSGlobalObject, T >::Initializer
 
typedef JSSegmentedVariableObject Base
 
- Public Types inherited from JSC::JSSegmentedVariableObject
typedef JSSymbolTableObject Base
 
typedef JSSymbolTableObject Base
 
- Public Types inherited from JSC::JSSymbolTableObject
typedef JSScope Base
 
typedef JSScope Base
 
- Public Types inherited from JSC::JSScope
typedef JSNonFinalObject Base
 
typedef JSNonFinalObject Base
 
- Public Types inherited from JSC::JSNonFinalObject
typedef JSObject Base
 
typedef JSObject Base
 
- Public Types inherited from JSC::JSObject
typedef JSCell Base
 
typedef JSCell Base
 
- Public Types inherited from JSC::JSCell
enum  CreatingEarlyCellTag { CreatingEarlyCell, CreatingEarlyCell }
 
enum  CreatingEarlyCellTag { CreatingEarlyCell, CreatingEarlyCell }
 
- Public Types inherited from JSC::HeapCell
enum  Kind : int8_t { JSCell, Auxiliary, JSCell, Auxiliary }
 
enum  Kind : int8_t { JSCell, Auxiliary, JSCell, Auxiliary }
 

Static Public Member Functions

static GlobalObjectcreate (VM &vm, Structure *structure, const Vector< String > &arguments)
 
static StructurecreateStructure (VM &vm, JSValue prototype)
 
static RuntimeFlags javaScriptRuntimeFlags (const JSGlobalObject *)
 
static GlobalObjectcreate (VM &vm, Structure *structure, const Vector< String > &arguments)
 
static StructurecreateStructure (VM &vm, JSValue prototype)
 
- Static Public Member Functions inherited from JSC::JSGlobalObject
static JS_EXPORT_PRIVATE JSGlobalObjectcreate (VM &, Structure *)
 
static JS_EXPORT_PRIVATE void destroy (JSCell *)
 
static JS_EXPORT_PRIVATE void visitChildren (JSCell *, SlotVisitor &)
 
static JS_EXPORT_PRIVATE bool getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
static JS_EXPORT_PRIVATE bool put (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
static JS_EXPORT_PRIVATE void defineGetter (JSObject *, ExecState *, PropertyName, JSObject *getterFunc, unsigned attributes)
 
static JS_EXPORT_PRIVATE void defineSetter (JSObject *, ExecState *, PropertyName, JSObject *setterFunc, unsigned attributes)
 
static JS_EXPORT_PRIVATE bool defineOwnProperty (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool shouldThrow)
 
static bool supportsRichSourceInfo (const JSGlobalObject *)
 
static bool shouldInterruptScript (const JSGlobalObject *)
 
static bool shouldInterruptScriptBeforeTimeout (const JSGlobalObject *)
 
static RuntimeFlags javaScriptRuntimeFlags (const JSGlobalObject *)
 
static StructurecreateStructure (VM &vm, JSValue prototype)
 
static ptrdiff_t weakRandomOffset ()
 
static JS_EXPORT_PRIVATE JSGlobalObjectcreate (VM &, Structure *)
 
static JS_EXPORT_PRIVATE void destroy (JSCell *)
 
static JS_EXPORT_PRIVATE void visitChildren (JSCell *, SlotVisitor &)
 
static JS_EXPORT_PRIVATE bool getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
static JS_EXPORT_PRIVATE bool put (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
static JS_EXPORT_PRIVATE void defineGetter (JSObject *, ExecState *, PropertyName, JSObject *getterFunc, unsigned attributes)
 
static JS_EXPORT_PRIVATE void defineSetter (JSObject *, ExecState *, PropertyName, JSObject *setterFunc, unsigned attributes)
 
static JS_EXPORT_PRIVATE bool defineOwnProperty (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool shouldThrow)
 
static bool supportsRichSourceInfo (const JSGlobalObject *)
 
static bool shouldInterruptScript (const JSGlobalObject *)
 
static bool shouldInterruptScriptBeforeTimeout (const JSGlobalObject *)
 
static RuntimeFlags javaScriptRuntimeFlags (const JSGlobalObject *)
 
static StructurecreateStructure (VM &vm, JSValue prototype)
 
static ptrdiff_t weakRandomOffset ()
 
- Static Public Member Functions inherited from JSC::JSSegmentedVariableObject
static JS_EXPORT_PRIVATE void visitChildren (JSCell *, SlotVisitor &)
 
static JS_EXPORT_PRIVATE void heapSnapshot (JSCell *, HeapSnapshotBuilder &)
 
static void destroy (JSCell *)
 
template<typename >
static SubspacesubspaceFor (VM &vm)
 
static JS_EXPORT_PRIVATE void visitChildren (JSCell *, SlotVisitor &)
 
static JS_EXPORT_PRIVATE void heapSnapshot (JSCell *, HeapSnapshotBuilder &)
 
static void destroy (JSCell *)
 
template<typename >
static SubspacesubspaceFor (VM &vm)
 
- Static Public Member Functions inherited from JSC::JSSymbolTableObject
static JS_EXPORT_PRIVATE bool deleteProperty (JSCell *, ExecState *, PropertyName)
 
static JS_EXPORT_PRIVATE void getOwnNonIndexPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static ptrdiff_t offsetOfSymbolTable ()
 
static JS_EXPORT_PRIVATE bool deleteProperty (JSCell *, ExecState *, PropertyName)
 
static JS_EXPORT_PRIVATE void getOwnNonIndexPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static ptrdiff_t offsetOfSymbolTable ()
 
- Static Public Member Functions inherited from JSC::JSScope
static size_t offsetOfNext ()
 
static JSObjectobjectAtScope (JSScope *)
 
static JSObjectresolve (ExecState *, JSScope *, const Identifier &)
 
static ResolveOp abstractResolve (ExecState *, size_t depthOffset, JSScope *, const Identifier &, GetOrPut, ResolveType, InitializationMode)
 
static bool hasConstantScope (ResolveType)
 
static JSScopeconstantScopeForCodeBlock (ResolveType, CodeBlock *)
 
static void collectClosureVariablesUnderTDZ (JSScope *, VariableEnvironment &result)
 
static void visitChildren (JSCell *, SlotVisitor &)
 
static size_t offsetOfNext ()
 
static JSObjectobjectAtScope (JSScope *)
 
static JSObjectresolve (ExecState *, JSScope *, const Identifier &)
 
static ResolveOp abstractResolve (ExecState *, size_t depthOffset, JSScope *, const Identifier &, GetOrPut, ResolveType, InitializationMode)
 
static bool hasConstantScope (ResolveType)
 
static JSScopeconstantScopeForCodeBlock (ResolveType, CodeBlock *)
 
static void collectClosureVariablesUnderTDZ (JSScope *, VariableEnvironment &result)
 
static void visitChildren (JSCell *, SlotVisitor &)
 
- Static Public Member Functions inherited from JSC::JSNonFinalObject
static StructurecreateStructure (VM &vm, JSGlobalObject *globalObject, JSValue prototype)
 
static StructurecreateStructure (VM &vm, JSGlobalObject *globalObject, JSValue prototype)
 
- Static Public Member Functions inherited from JSC::JSObject
static JSObjectcreateRawObject (ExecState *exec, Structure *structure, Butterfly *=nullptr)
 
static JS_EXPORT_PRIVATE size_t estimatedSize (JSCell *)
 
static JS_EXPORT_PRIVATE void visitChildren (JSCell *, SlotVisitor &)
 
static JS_EXPORT_PRIVATE void heapSnapshot (JSCell *, HeapSnapshotBuilder &)
 
static JS_EXPORT_PRIVATE String className (const JSObject *)
 
static JS_EXPORT_PRIVATE String calculatedClassName (JSObject *)
 
static JS_EXPORT_PRIVATE String toStringName (const JSObject *, ExecState *)
 
static JS_EXPORT_PRIVATE JSValue getPrototype (JSObject *, ExecState *)
 
static JS_EXPORT_PRIVATE bool setPrototype (JSObject *, ExecState *, JSValue prototype, bool shouldThrowIfCantSet)
 
static bool getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
static JS_EXPORT_PRIVATE bool getOwnPropertySlotByIndex (JSObject *, ExecState *, unsigned propertyName, PropertySlot &)
 
static bool putInline (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
static JS_EXPORT_PRIVATE bool put (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
static JS_EXPORT_PRIVATE bool putByIndex (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow)
 
static JS_EXPORT_PRIVATE bool deleteProperty (JSCell *, ExecState *, PropertyName)
 
static JS_EXPORT_PRIVATE bool deletePropertyByIndex (JSCell *, ExecState *, unsigned propertyName)
 
static JS_EXPORT_PRIVATE JSValue defaultValue (const JSObject *, ExecState *, PreferredPrimitiveType)
 
static bool defaultHasInstance (ExecState *, JSValue, JSValue prototypeProperty)
 
static JS_EXPORT_PRIVATE void getOwnPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static JS_EXPORT_PRIVATE void getOwnNonIndexPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static JS_EXPORT_PRIVATE void getPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static JS_EXPORT_PRIVATE uint32_t getEnumerableLength (ExecState *, JSObject *)
 
static JS_EXPORT_PRIVATE void getStructurePropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static JS_EXPORT_PRIVATE void getGenericPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static JS_EXPORT_PRIVATE JSValue toThis (JSCell *, ExecState *, ECMAMode)
 
static JS_EXPORT_PRIVATE bool defineOwnProperty (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool shouldThrow)
 
static JS_EXPORT_PRIVATE bool preventExtensions (JSObject *, ExecState *)
 
static JS_EXPORT_PRIVATE bool isExtensible (JSObject *, ExecState *)
 
static size_t offsetOfInlineStorage ()
 
static ptrdiff_t butterflyOffset ()
 
static JSObjectcreateRawObject (ExecState *exec, Structure *structure, Butterfly *=nullptr)
 
static JS_EXPORT_PRIVATE size_t estimatedSize (JSCell *)
 
static JS_EXPORT_PRIVATE void visitChildren (JSCell *, SlotVisitor &)
 
static JS_EXPORT_PRIVATE void heapSnapshot (JSCell *, HeapSnapshotBuilder &)
 
static JS_EXPORT_PRIVATE String className (const JSObject *)
 
static JS_EXPORT_PRIVATE String calculatedClassName (JSObject *)
 
static JS_EXPORT_PRIVATE String toStringName (const JSObject *, ExecState *)
 
static JS_EXPORT_PRIVATE JSValue getPrototype (JSObject *, ExecState *)
 
static JS_EXPORT_PRIVATE bool setPrototype (JSObject *, ExecState *, JSValue prototype, bool shouldThrowIfCantSet)
 
static bool getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
static JS_EXPORT_PRIVATE bool getOwnPropertySlotByIndex (JSObject *, ExecState *, unsigned propertyName, PropertySlot &)
 
static bool putInline (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
static JS_EXPORT_PRIVATE bool put (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
static JS_EXPORT_PRIVATE bool putByIndex (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow)
 
static JS_EXPORT_PRIVATE bool deleteProperty (JSCell *, ExecState *, PropertyName)
 
static JS_EXPORT_PRIVATE bool deletePropertyByIndex (JSCell *, ExecState *, unsigned propertyName)
 
static JS_EXPORT_PRIVATE JSValue defaultValue (const JSObject *, ExecState *, PreferredPrimitiveType)
 
static bool defaultHasInstance (ExecState *, JSValue, JSValue prototypeProperty)
 
static JS_EXPORT_PRIVATE void getOwnPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static JS_EXPORT_PRIVATE void getOwnNonIndexPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static JS_EXPORT_PRIVATE void getPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static JS_EXPORT_PRIVATE uint32_t getEnumerableLength (ExecState *, JSObject *)
 
static JS_EXPORT_PRIVATE void getStructurePropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static JS_EXPORT_PRIVATE void getGenericPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static JS_EXPORT_PRIVATE JSValue toThis (JSCell *, ExecState *, ECMAMode)
 
static JS_EXPORT_PRIVATE bool defineOwnProperty (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool shouldThrow)
 
static JS_EXPORT_PRIVATE bool preventExtensions (JSObject *, ExecState *)
 
static JS_EXPORT_PRIVATE bool isExtensible (JSObject *, ExecState *)
 
static size_t offsetOfInlineStorage ()
 
static ptrdiff_t butterflyOffset ()
 
- Static Public Member Functions inherited from JSC::JSCell
template<typename CellType >
static SubspacesubspaceFor (VM &)
 
static JSCellseenMultipleCalleeObjects ()
 
static JS_EXPORT_PRIVATE CallType getCallData (JSCell *, CallData &)
 
static JS_EXPORT_PRIVATE ConstructType getConstructData (JSCell *, ConstructData &)
 
static JS_EXPORT_PRIVATE void dumpToStream (const JSCell *, PrintStream &)
 
static JS_EXPORT_PRIVATE size_t estimatedSize (JSCell *)
 
static void visitChildren (JSCell *, SlotVisitor &)
 
static void visitOutputConstraints (JSCell *, SlotVisitor &)
 
static JS_EXPORT_PRIVATE void heapSnapshot (JSCell *, HeapSnapshotBuilder &)
 
static bool put (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
static bool putByIndex (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow)
 
static bool deleteProperty (JSCell *, ExecState *, PropertyName)
 
static bool deletePropertyByIndex (JSCell *, ExecState *, unsigned propertyName)
 
static JSValue toThis (JSCell *, ExecState *, ECMAMode)
 
static bool canUseFastGetOwnProperty (const Structure &)
 
static ptrdiff_t structureIDOffset ()
 
static ptrdiff_t typeInfoFlagsOffset ()
 
static ptrdiff_t typeInfoTypeOffset ()
 
static ptrdiff_t indexingTypeAndMiscOffset ()
 
static ptrdiff_t cellStateOffset ()
 
template<typename CellType >
static SubspacesubspaceFor (VM &)
 
static JSCellseenMultipleCalleeObjects ()
 
static JS_EXPORT_PRIVATE CallType getCallData (JSCell *, CallData &)
 
static JS_EXPORT_PRIVATE ConstructType getConstructData (JSCell *, ConstructData &)
 
static JS_EXPORT_PRIVATE void dumpToStream (const JSCell *, PrintStream &)
 
static JS_EXPORT_PRIVATE size_t estimatedSize (JSCell *)
 
static void visitChildren (JSCell *, SlotVisitor &)
 
static void visitOutputConstraints (JSCell *, SlotVisitor &)
 
static JS_EXPORT_PRIVATE void heapSnapshot (JSCell *, HeapSnapshotBuilder &)
 
static bool put (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
static bool putByIndex (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow)
 
static bool deleteProperty (JSCell *, ExecState *, PropertyName)
 
static bool deletePropertyByIndex (JSCell *, ExecState *, unsigned propertyName)
 
static JSValue toThis (JSCell *, ExecState *, ECMAMode)
 
static bool canUseFastGetOwnProperty (const Structure &)
 
static ptrdiff_t structureIDOffset ()
 
static ptrdiff_t typeInfoFlagsOffset ()
 
static ptrdiff_t typeInfoTypeOffset ()
 
static ptrdiff_t indexingTypeAndMiscOffset ()
 
static ptrdiff_t cellStateOffset ()
 

Public Attributes

 DECLARE_INFO
 
- Public Attributes inherited from JSC::JSGlobalObject
Register m_globalCallFrame [CallFrame::headerSizeInRegisters]
 
WriteBarrier< JSObjectm_globalThis
 
WriteBarrier< JSGlobalLexicalEnvironmentm_globalLexicalEnvironment
 
WriteBarrier< JSScopem_globalScopeExtension
 
WriteBarrier< JSObjectm_globalCallee
 
WriteBarrier< RegExpConstructorm_regExpConstructor
 
WriteBarrier< ErrorConstructorm_errorConstructor
 
WriteBarrier< Structurem_nativeErrorPrototypeStructure
 
WriteBarrier< Structurem_nativeErrorStructure
 
LazyProperty< JSGlobalObject, NativeErrorConstructorm_evalErrorConstructor
 
WriteBarrier< NativeErrorConstructorm_rangeErrorConstructor
 
LazyProperty< JSGlobalObject, NativeErrorConstructorm_referenceErrorConstructor
 
LazyProperty< JSGlobalObject, NativeErrorConstructorm_syntaxErrorConstructor
 
WriteBarrier< NativeErrorConstructorm_typeErrorConstructor
 
LazyProperty< JSGlobalObject, NativeErrorConstructorm_URIErrorConstructor
 
WriteBarrier< ObjectConstructorm_objectConstructor
 
WriteBarrier< ArrayConstructorm_arrayConstructor
 
WriteBarrier< JSPromiseConstructorm_promiseConstructor
 
WriteBarrier< JSInternalPromiseConstructorm_internalPromiseConstructor
 
WriteBarrier< NullGetterFunctionm_nullGetterFunction
 
WriteBarrier< NullSetterFunctionm_nullSetterFunction
 
WriteBarrier< JSFunctionm_parseIntFunction
 
WriteBarrier< JSFunctionm_evalFunction
 
WriteBarrier< JSFunctionm_callFunction
 
WriteBarrier< JSFunctionm_applyFunction
 
WriteBarrier< JSFunctionm_throwTypeErrorFunction
 
LazyProperty< JSGlobalObject, JSFunctionm_arrayProtoToStringFunction
 
LazyProperty< JSGlobalObject, JSFunctionm_arrayProtoValuesFunction
 
LazyProperty< JSGlobalObject, JSFunctionm_initializePromiseFunction
 
LazyProperty< JSGlobalObject, JSFunctionm_iteratorProtocolFunction
 
WriteBarrier< JSFunctionm_objectProtoValueOfFunction
 
WriteBarrier< JSFunctionm_newPromiseCapabilityFunction
 
WriteBarrier< JSFunctionm_functionProtoHasInstanceSymbolFunction
 
LazyProperty< JSGlobalObject, GetterSetterm_throwTypeErrorGetterSetter
 
WriteBarrier< JSObjectm_regExpProtoExec
 
WriteBarrier< JSObjectm_regExpProtoSymbolReplace
 
WriteBarrier< JSObjectm_regExpProtoGlobalGetter
 
WriteBarrier< JSObjectm_regExpProtoUnicodeGetter
 
WriteBarrier< GetterSetterm_throwTypeErrorArgumentsCalleeAndCallerGetterSetter
 
WriteBarrier< JSModuleLoaderm_moduleLoader
 
WriteBarrier< ObjectPrototypem_objectPrototype
 
WriteBarrier< FunctionPrototypem_functionPrototype
 
WriteBarrier< ArrayPrototypem_arrayPrototype
 
WriteBarrier< RegExpPrototypem_regExpPrototype
 
WriteBarrier< IteratorPrototypem_iteratorPrototype
 
WriteBarrier< GeneratorFunctionPrototypem_generatorFunctionPrototype
 
WriteBarrier< GeneratorPrototypem_generatorPrototype
 
WriteBarrier< ModuleLoaderPrototypem_moduleLoaderPrototype
 
LazyProperty< JSGlobalObject, Structurem_debuggerScopeStructure
 
LazyProperty< JSGlobalObject, Structurem_withScopeStructure
 
WriteBarrier< Structurem_strictEvalActivationStructure
 
WriteBarrier< Structurem_lexicalEnvironmentStructure
 
LazyProperty< JSGlobalObject, Structurem_moduleEnvironmentStructure
 
WriteBarrier< Structurem_directArgumentsStructure
 
WriteBarrier< Structurem_scopedArgumentsStructure
 
WriteBarrier< Structurem_clonedArgumentsStructure
 
WriteBarrier< Structurem_objectStructureForObjectConstructor
 
WriteBarrier< Structurem_originalArrayStructureForIndexingShape [NumberOfIndexingShapes]
 
WriteBarrier< Structurem_arrayStructureForIndexingShapeDuringAllocation [NumberOfIndexingShapes]
 
LazyProperty< JSGlobalObject, Structurem_callbackConstructorStructure
 
LazyProperty< JSGlobalObject, Structurem_callbackFunctionStructure
 
LazyProperty< JSGlobalObject, Structurem_callbackObjectStructure
 
WriteBarrier< Structurem_propertyNameIteratorStructure
 
LazyProperty< JSGlobalObject, Structurem_nullPrototypeObjectStructure
 
WriteBarrier< Structurem_calleeStructure
 
WriteBarrier< Structurem_functionStructure
 
LazyProperty< JSGlobalObject, Structurem_boundFunctionStructure
 
LazyProperty< JSGlobalObject, Structurem_customGetterSetterFunctionStructure
 
WriteBarrier< Structurem_getterSetterStructure
 
LazyProperty< JSGlobalObject, Structurem_nativeStdFunctionStructure
 
LazyProperty< JSGlobalObject, Structurem_namedFunctionStructure
 
PropertyOffset m_functionNameOffset
 
WriteBarrier< Structurem_privateNameStructure
 
WriteBarrier< Structurem_regExpStructure
 
WriteBarrier< AsyncFunctionPrototypem_asyncFunctionPrototype
 
WriteBarrier< Structurem_asyncFunctionStructure
 
WriteBarrier< Structurem_generatorFunctionStructure
 
WriteBarrier< Structurem_dollarVMStructure
 
WriteBarrier< Structurem_iteratorResultObjectStructure
 
WriteBarrier< Structurem_regExpMatchesArrayStructure
 
WriteBarrier< Structurem_moduleRecordStructure
 
WriteBarrier< Structurem_moduleNamespaceObjectStructure
 
WriteBarrier< Structurem_proxyObjectStructure
 
WriteBarrier< Structurem_callableProxyObjectStructure
 
WriteBarrier< Structurem_proxyRevokeStructure
 
WriteBarrier< Structurem_moduleLoaderStructure
 
WriteBarrier< JSArrayBufferPrototypem_arrayBufferPrototype
 
WriteBarrier< Structurem_arrayBufferStructure
 
WriteBarrier< JSArrayBufferPrototypem_sharedArrayBufferPrototype
 
WriteBarrier< Structurem_sharedArrayBufferStructure
 
WriteBarrier< GetterSetterm_speciesGetterSetter
 
LazyProperty< JSGlobalObject, JSTypedArrayViewPrototypem_typedArrayProto
 
LazyProperty< JSGlobalObject, JSTypedArrayViewConstructorm_typedArraySuperConstructor
 
JSCellm_specialPointers [Special::TableSize]
 
JSCellm_linkTimeConstants [LinkTimeConstantCount]
 
String m_name
 
Debuggerm_debugger
 
VMm_vm
 
RefPtr< WatchpointSetm_masqueradesAsUndefinedWatchpoint
 
RefPtr< WatchpointSetm_havingABadTimeWatchpoint
 
RefPtr< WatchpointSetm_varInjectionWatchpoint
 
std::unique_ptr< JSGlobalObjectRareData > m_rareData
 
WeakRandom m_weakRandom
 
InlineWatchpointSet m_arrayIteratorProtocolWatchpoint
 
InlineWatchpointSet m_arraySpeciesWatchpoint
 
std::unique_ptr< ArrayIteratorAdaptiveWatchpointm_arrayPrototypeSymbolIteratorWatchpoint
 
std::unique_ptr< ArrayIteratorAdaptiveWatchpointm_arrayIteratorPrototypeNext
 
TemplateRegistry m_templateRegistry
 
bool m_evalEnabled
 
String m_evalDisabledErrorMessage
 
RuntimeFlags m_runtimeFlags
 
ConsoleClientm_consoleClient
 
const GlobalObjectMethodTablem_globalObjectMethodTable
 
 DECLARE_EXPORT_INFO
 
- Public Attributes inherited from JSC::JSSymbolTableObject
 DECLARE_EXPORT_INFO
 
- Public Attributes inherited from JSC::JSObject
 DECLARE_EXPORT_INFO
 

Static Public Attributes

static const bool needsDestruction = false
 
static const GlobalObjectMethodTable s_globalObjectMethodTable
 
static const bool needsDestructor = false
 
- Static Public Attributes inherited from JSC::JSGlobalObject
static JS_EXPORTDATA const GlobalObjectMethodTable s_globalObjectMethodTable
 
static const unsigned StructureFlags = Base::StructureFlags | HasStaticPropertyTable | OverridesGetOwnPropertySlot | OverridesGetPropertyNames | OverridesToThis
 
- Static Public Attributes inherited from JSC::JSSymbolTableObject
static const unsigned StructureFlags = Base::StructureFlags | OverridesGetPropertyNames
 
- Static Public Attributes inherited from JSC::JSScope
static const unsigned StructureFlags = Base::StructureFlags
 
- Static Public Attributes inherited from JSC::JSCell
static const unsigned StructureFlags = 0
 
static const bool needsDestruction = false
 
static const TypedArrayType TypedArrayStorageType = NotTypedArray
 

Protected Member Functions

void finishCreation (VM &vm, const Vector< String > &arguments)
 
void addFunction (VM &vm, JSObject *object, const char *name, NativeFunction function, unsigned arguments)
 
void addFunction (VM &vm, const char *name, NativeFunction function, unsigned arguments)
 
void addConstructableFunction (VM &vm, const char *name, NativeFunction function, unsigned arguments)
 
void finishCreation (VM &vm, const Vector< String > &arguments)
 
- Protected Member Functions inherited from JSC::JSGlobalObject
JS_EXPORT_PRIVATE JSGlobalObject (VM &, Structure *, const GlobalObjectMethodTable *=0)
 
JS_EXPORT_PRIVATE void finishCreation (VM &)
 
JS_EXPORT_PRIVATE void finishCreation (VM &, JSObject *)
 
void addGlobalVar (const Identifier &)
 
JS_EXPORT_PRIVATE void addStaticGlobals (GlobalPropertyInfo *, int count)
 
void setNeedsSiteSpecificQuirks (bool needQuirks)
 
JS_EXPORT_PRIVATE JSGlobalObject (VM &, Structure *, const GlobalObjectMethodTable *=0)
 
JS_EXPORT_PRIVATE void finishCreation (VM &)
 
JS_EXPORT_PRIVATE void finishCreation (VM &, JSObject *)
 
void addGlobalVar (const Identifier &)
 
JS_EXPORT_PRIVATE void addStaticGlobals (GlobalPropertyInfo *, int count)
 
void setNeedsSiteSpecificQuirks (bool needQuirks)
 
- Protected Member Functions inherited from JSC::JSSegmentedVariableObject
 JSSegmentedVariableObject (VM &, Structure *, JSScope *)
 
 ~JSSegmentedVariableObject ()
 
void finishCreation (VM &)
 
 JSSegmentedVariableObject (VM &, Structure *, JSScope *)
 
 ~JSSegmentedVariableObject ()
 
void finishCreation (VM &)
 
- Protected Member Functions inherited from JSC::JSSymbolTableObject
 JSSymbolTableObject (VM &vm, Structure *structure, JSScope *scope)
 
 JSSymbolTableObject (VM &vm, Structure *structure, JSScope *scope, SymbolTable *symbolTable)
 
void setSymbolTable (VM &vm, SymbolTable *symbolTable)
 
 JSSymbolTableObject (VM &vm, Structure *structure, JSScope *scope)
 
 JSSymbolTableObject (VM &vm, Structure *structure, JSScope *scope, SymbolTable *symbolTable)
 
void setSymbolTable (VM &vm, SymbolTable *symbolTable)
 
- Protected Member Functions inherited from JSC::JSScope
 JSScope (VM &, Structure *, JSScope *next)
 
 JSScope (VM &, Structure *, JSScope *next)
 
- Protected Member Functions inherited from JSC::JSNonFinalObject
 JSNonFinalObject (VM &vm, Structure *structure, Butterfly *butterfly=0)
 
void finishCreation (VM &vm)
 
 JSNonFinalObject (VM &vm, Structure *structure, Butterfly *butterfly=0)
 
void finishCreation (VM &vm)
 
- Protected Member Functions inherited from JSC::JSObject
void finishCreation (VM &vm)
 
 JSObject (VM &, Structure *, Butterfly *=0)
 
StructurevisitButterfly (SlotVisitor &)
 
StructurevisitButterflyImpl (SlotVisitor &)
 
void markAuxiliaryAndVisitOutOfLineProperties (SlotVisitor &, Butterfly *, Structure *, PropertyOffset lastOffset)
 
ArrayStoragearrayStorage ()
 
ArrayStoragearrayStorageOrNull ()
 
size_t butterflyTotalSize ()
 
size_t butterflyPreCapacity ()
 
ButterflycreateInitialUndecided (VM &, unsigned length)
 
ContiguousJSValues createInitialInt32 (VM &, unsigned length)
 
ContiguousDoubles createInitialDouble (VM &, unsigned length)
 
ContiguousJSValues createInitialContiguous (VM &, unsigned length)
 
void convertUndecidedForValue (VM &, JSValue)
 
void createInitialForValueAndSet (VM &, unsigned index, JSValue)
 
void convertInt32ForValue (VM &, JSValue)
 
ArrayStoragecreateArrayStorage (VM &, unsigned length, unsigned vectorLength)
 
ArrayStoragecreateInitialArrayStorage (VM &)
 
ContiguousJSValues convertUndecidedToInt32 (VM &)
 
ContiguousDoubles convertUndecidedToDouble (VM &)
 
ContiguousJSValues convertUndecidedToContiguous (VM &)
 
ArrayStorageconvertUndecidedToArrayStorage (VM &, NonPropertyTransition)
 
ArrayStorageconvertUndecidedToArrayStorage (VM &)
 
ContiguousDoubles convertInt32ToDouble (VM &)
 
ContiguousJSValues convertInt32ToContiguous (VM &)
 
ArrayStorageconvertInt32ToArrayStorage (VM &, NonPropertyTransition)
 
ArrayStorageconvertInt32ToArrayStorage (VM &)
 
ContiguousJSValues convertDoubleToContiguous (VM &)
 
ArrayStorageconvertDoubleToArrayStorage (VM &, NonPropertyTransition)
 
ArrayStorageconvertDoubleToArrayStorage (VM &)
 
ArrayStorageconvertContiguousToArrayStorage (VM &, NonPropertyTransition)
 
ArrayStorageconvertContiguousToArrayStorage (VM &)
 
ArrayStorageensureArrayStorageExistsAndEnterDictionaryIndexingMode (VM &)
 
bool defineOwnNonIndexProperty (ExecState *, PropertyName, const PropertyDescriptor &, bool throwException)
 
template<IndexingType indexingShape>
bool putByIndexBeyondVectorLengthWithoutAttributes (ExecState *, unsigned propertyName, JSValue)
 
bool putByIndexBeyondVectorLengthWithArrayStorage (ExecState *, unsigned propertyName, JSValue, bool shouldThrow, ArrayStorage *)
 
bool increaseVectorLength (VM &, unsigned newLength)
 
void deallocateSparseIndexMap ()
 
bool defineOwnIndexedProperty (ExecState *, unsigned, const PropertyDescriptor &, bool throwException)
 
SparseArrayValueMapallocateSparseIndexMap (VM &)
 
void notifyPresenceOfIndexedAccessors (VM &)
 
bool attemptToInterceptPutByIndexOnHole (ExecState *, unsigned index, JSValue, bool shouldThrow, bool &putResult)
 
bool WARN_UNUSED_RETURN ensureLength (VM &vm, unsigned length)
 
void reallocateAndShrinkButterfly (VM &, unsigned length)
 
template<IndexingType indexingShape>
unsigned countElements (Butterfly *)
 
unsigned countElements ()
 
void finishCreation (VM &vm)
 
 JSObject (VM &, Structure *, Butterfly *=0)
 
StructurevisitButterfly (SlotVisitor &)
 
StructurevisitButterflyImpl (SlotVisitor &)
 
void markAuxiliaryAndVisitOutOfLineProperties (SlotVisitor &, Butterfly *, Structure *, PropertyOffset lastOffset)
 
ArrayStoragearrayStorage ()
 
ArrayStoragearrayStorageOrNull ()
 
size_t butterflyTotalSize ()
 
size_t butterflyPreCapacity ()
 
ButterflycreateInitialUndecided (VM &, unsigned length)
 
ContiguousJSValues createInitialInt32 (VM &, unsigned length)
 
ContiguousDoubles createInitialDouble (VM &, unsigned length)
 
ContiguousJSValues createInitialContiguous (VM &, unsigned length)
 
void convertUndecidedForValue (VM &, JSValue)
 
void createInitialForValueAndSet (VM &, unsigned index, JSValue)
 
void convertInt32ForValue (VM &, JSValue)
 
ArrayStoragecreateArrayStorage (VM &, unsigned length, unsigned vectorLength)
 
ArrayStoragecreateInitialArrayStorage (VM &)
 
ContiguousJSValues convertUndecidedToInt32 (VM &)
 
ContiguousDoubles convertUndecidedToDouble (VM &)
 
ContiguousJSValues convertUndecidedToContiguous (VM &)
 
ArrayStorageconvertUndecidedToArrayStorage (VM &, NonPropertyTransition)
 
ArrayStorageconvertUndecidedToArrayStorage (VM &)
 
ContiguousDoubles convertInt32ToDouble (VM &)
 
ContiguousJSValues convertInt32ToContiguous (VM &)
 
ArrayStorageconvertInt32ToArrayStorage (VM &, NonPropertyTransition)
 
ArrayStorageconvertInt32ToArrayStorage (VM &)
 
ContiguousJSValues convertDoubleToContiguous (VM &)
 
ArrayStorageconvertDoubleToArrayStorage (VM &, NonPropertyTransition)
 
ArrayStorageconvertDoubleToArrayStorage (VM &)
 
ArrayStorageconvertContiguousToArrayStorage (VM &, NonPropertyTransition)
 
ArrayStorageconvertContiguousToArrayStorage (VM &)
 
ArrayStorageensureArrayStorageExistsAndEnterDictionaryIndexingMode (VM &)
 
bool defineOwnNonIndexProperty (ExecState *, PropertyName, const PropertyDescriptor &, bool throwException)
 
template<IndexingType indexingShape>
bool putByIndexBeyondVectorLengthWithoutAttributes (ExecState *, unsigned propertyName, JSValue)
 
bool putByIndexBeyondVectorLengthWithArrayStorage (ExecState *, unsigned propertyName, JSValue, bool shouldThrow, ArrayStorage *)
 
bool increaseVectorLength (VM &, unsigned newLength)
 
void deallocateSparseIndexMap ()
 
bool defineOwnIndexedProperty (ExecState *, unsigned, const PropertyDescriptor &, bool throwException)
 
SparseArrayValueMapallocateSparseIndexMap (VM &)
 
void notifyPresenceOfIndexedAccessors (VM &)
 
bool attemptToInterceptPutByIndexOnHole (ExecState *, unsigned index, JSValue, bool shouldThrow, bool &putResult)
 
bool WARN_UNUSED_RETURN ensureLength (VM &vm, unsigned length)
 
void reallocateAndShrinkButterfly (VM &, unsigned length)
 
template<IndexingType indexingShape>
unsigned countElements (Butterfly *)
 
unsigned countElements ()
 
- Protected Member Functions inherited from JSC::JSCell
 JSCell (VM &, Structure *)
 
void finishCreation (VM &)
 
void finishCreation (VM &, Structure *, CreatingEarlyCellTag)
 
 JSCell (VM &, Structure *)
 
void finishCreation (VM &)
 
void finishCreation (VM &, Structure *, CreatingEarlyCellTag)
 

Static Protected Member Functions

static JSInternalPromisemoduleLoaderImportModule (JSGlobalObject *, ExecState *, JSModuleLoader *, JSString *, const SourceOrigin &)
 
static JSInternalPromisemoduleLoaderResolve (JSGlobalObject *, ExecState *, JSModuleLoader *, JSValue, JSValue, JSValue)
 
static JSInternalPromisemoduleLoaderFetch (JSGlobalObject *, ExecState *, JSModuleLoader *, JSValue, JSValue)
 
- Static Protected Member Functions inherited from JSC::JSGlobalObject
static JS_EXPORT_PRIVATE JSC::JSValue toThis (JSC::JSCell *, JSC::ExecState *, ECMAMode)
 
static JS_EXPORT_PRIVATE JSC::JSValue toThis (JSC::JSCell *, JSC::ExecState *, ECMAMode)
 
- Static Protected Member Functions inherited from JSC::JSSymbolTableObject
static void visitChildren (JSCell *, SlotVisitor &)
 
static void visitChildren (JSCell *, SlotVisitor &)
 
- Static Protected Member Functions inherited from JSC::JSObject
static StructurecreateStructure (VM &vm, JSGlobalObject *globalObject, JSValue prototype)
 
static ButterflycreateArrayStorageButterfly (VM &, JSCell *intendedOwner, Structure *, unsigned length, unsigned vectorLength, Butterfly *oldButterfly=nullptr)
 
static StructurecreateStructure (VM &vm, JSGlobalObject *globalObject, JSValue prototype)
 
static ButterflycreateArrayStorageButterfly (VM &, JSCell *intendedOwner, Structure *, unsigned length, unsigned vectorLength, Butterfly *oldButterfly=nullptr)
 
- Static Protected Member Functions inherited from JSC::JSCell
static JS_EXPORT_PRIVATE void destroy (JSCell *)
 
static JSValue defaultValue (const JSObject *, ExecState *, PreferredPrimitiveType)
 
static NO_RETURN_DUE_TO_CRASH void getOwnPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getOwnNonIndexPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static uint32_t getEnumerableLength (ExecState *, JSObject *)
 
static NO_RETURN_DUE_TO_CRASH void getStructurePropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getGenericPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH bool preventExtensions (JSObject *, ExecState *)
 
static NO_RETURN_DUE_TO_CRASH bool isExtensible (JSObject *, ExecState *)
 
static NO_RETURN_DUE_TO_CRASH bool setPrototype (JSObject *, ExecState *, JSValue, bool)
 
static NO_RETURN_DUE_TO_CRASH JSValue getPrototype (JSObject *, ExecState *)
 
static String className (const JSObject *)
 
static String toStringName (const JSObject *, ExecState *)
 
static JS_EXPORT_PRIVATE bool customHasInstance (JSObject *, ExecState *, JSValue)
 
static bool defineOwnProperty (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool shouldThrow)
 
static bool getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
static bool getOwnPropertySlotByIndex (JSObject *, ExecState *, unsigned propertyName, PropertySlot &)
 
static JS_EXPORT_PRIVATE ArrayBufferslowDownAndWasteMemory (JSArrayBufferView *)
 
static JS_EXPORT_PRIVATE RefPtr< ArrayBufferViewgetTypedArrayImpl (JSArrayBufferView *)
 
static JS_EXPORT_PRIVATE void destroy (JSCell *)
 
static JSValue defaultValue (const JSObject *, ExecState *, PreferredPrimitiveType)
 
static NO_RETURN_DUE_TO_CRASH void getOwnPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getOwnNonIndexPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static uint32_t getEnumerableLength (ExecState *, JSObject *)
 
static NO_RETURN_DUE_TO_CRASH void getStructurePropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getGenericPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH bool preventExtensions (JSObject *, ExecState *)
 
static NO_RETURN_DUE_TO_CRASH bool isExtensible (JSObject *, ExecState *)
 
static NO_RETURN_DUE_TO_CRASH bool setPrototype (JSObject *, ExecState *, JSValue, bool)
 
static NO_RETURN_DUE_TO_CRASH JSValue getPrototype (JSObject *, ExecState *)
 
static String className (const JSObject *)
 
static String toStringName (const JSObject *, ExecState *)
 
static JS_EXPORT_PRIVATE bool customHasInstance (JSObject *, ExecState *, JSValue)
 
static bool defineOwnProperty (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool shouldThrow)
 
static bool getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
static bool getOwnPropertySlotByIndex (JSObject *, ExecState *, unsigned propertyName, PropertySlot &)
 
static JS_EXPORT_PRIVATE ArrayBufferslowDownAndWasteMemory (JSArrayBufferView *)
 
static JS_EXPORT_PRIVATE RefPtr< ArrayBufferViewgetTypedArrayImpl (JSArrayBufferView *)
 

Additional Inherited Members

- Public Member Functions inherited from JSC::JSGlobalObject
InlineWatchpointSetarrayIteratorProtocolWatchpoint ()
 
InlineWatchpointSetarraySpeciesWatchpoint ()
 
bool isArrayIteratorProtocolFastAndNonObservable ()
 
void createRareDataIfNeeded ()
 
bool hasDebugger () const
 
bool hasInteractiveDebugger () const
 
const RuntimeFlagsruntimeFlags () const
 
JS_EXPORT_PRIVATE ~JSGlobalObject ()
 
void addVar (ExecState *exec, const Identifier &propertyName)
 
void addFunction (ExecState *, const Identifier &)
 
JSScopeglobalScope ()
 
JSGlobalLexicalEnvironmentglobalLexicalEnvironment ()
 
JSScopeglobalScopeExtension ()
 
void setGlobalScopeExtension (JSScope *)
 
void clearGlobalScopeExtension ()
 
GetterSetterspeciesGetterSetter () const
 
RegExpConstructorregExpConstructor () const
 
ErrorConstructorerrorConstructor () const
 
ArrayConstructorarrayConstructor () const
 
ObjectConstructorobjectConstructor () const
 
JSPromiseConstructorpromiseConstructor () const
 
JSInternalPromiseConstructorinternalPromiseConstructor () const
 
NativeErrorConstructorevalErrorConstructor () const
 
NativeErrorConstructorrangeErrorConstructor () const
 
NativeErrorConstructorreferenceErrorConstructor () const
 
NativeErrorConstructorsyntaxErrorConstructor () const
 
NativeErrorConstructortypeErrorConstructor () const
 
NativeErrorConstructorURIErrorConstructor () const
 
NullGetterFunctionnullGetterFunction () const
 
NullSetterFunctionnullSetterFunction () const
 
JSFunctionparseIntFunction () const
 
JSFunctionevalFunction () const
 
JSFunctioncallFunction () const
 
JSFunctionapplyFunction () const
 
JSFunctionthrowTypeErrorFunction () const
 
JSFunctionarrayProtoToStringFunction () const
 
JSFunctionarrayProtoValuesFunction () const
 
JSFunctioninitializePromiseFunction () const
 
JSFunctioniteratorProtocolFunction () const
 
JSFunctionobjectProtoValueOfFunction () const
 
JSFunctionnewPromiseCapabilityFunction () const
 
JSFunctionfunctionProtoHasInstanceSymbolFunction () const
 
JSObjectregExpProtoExecFunction () const
 
JSObjectregExpProtoSymbolReplaceFunction () const
 
JSObjectregExpProtoGlobalGetter () const
 
JSObjectregExpProtoUnicodeGetter () const
 
GetterSetterthrowTypeErrorArgumentsCalleeAndCallerGetterSetter ()
 
JSModuleLoadermoduleLoader () const
 
ObjectPrototypeobjectPrototype () const
 
FunctionPrototypefunctionPrototype () const
 
ArrayPrototypearrayPrototype () const
 
JSObjectbooleanPrototype () const
 
StringPrototypestringPrototype () const
 
SymbolPrototypesymbolPrototype () const
 
JSObjectnumberPrototype () const
 
JSObjectdatePrototype () const
 
RegExpPrototyperegExpPrototype () const
 
ErrorPrototypeerrorPrototype () const
 
IteratorPrototypeiteratorPrototype () const
 
GeneratorFunctionPrototypegeneratorFunctionPrototype () const
 
GeneratorPrototypegeneratorPrototype () const
 
AsyncFunctionPrototypeasyncFunctionPrototype () const
 
StructuredebuggerScopeStructure () const
 
StructurewithScopeStructure () const
 
StructurestrictEvalActivationStructure () const
 
StructureactivationStructure () const
 
StructuremoduleEnvironmentStructure () const
 
StructuredirectArgumentsStructure () const
 
StructurescopedArgumentsStructure () const
 
StructureclonedArgumentsStructure () const
 
StructureobjectStructureForObjectConstructor () const
 
StructureoriginalArrayStructureForIndexingType (IndexingType indexingType) const
 
StructurearrayStructureForIndexingTypeDuringAllocation (IndexingType indexingType) const
 
StructurearrayStructureForIndexingTypeDuringAllocation (ExecState *exec, IndexingType indexingType, JSValue newTarget) const
 
StructurearrayStructureForProfileDuringAllocation (ExecState *exec, ArrayAllocationProfile *profile, JSValue newTarget) const
 
bool isOriginalArrayStructure (Structure *structure)
 
StructurebooleanObjectStructure () const
 
StructurecallbackConstructorStructure () const
 
StructurecallbackFunctionStructure () const
 
StructurecallbackObjectStructure () const
 
StructurepropertyNameIteratorStructure () const
 
StructuredateStructure () const
 
StructurenullPrototypeObjectStructure () const
 
StructureerrorStructure () const
 
StructurecalleeStructure () const
 
StructurefunctionStructure () const
 
StructureboundFunctionStructure () const
 
StructurecustomGetterSetterFunctionStructure () const
 
StructuregetterSetterStructure () const
 
StructurenativeStdFunctionStructure () const
 
StructurenamedFunctionStructure () const
 
PropertyOffset functionNameOffset () const
 
StructurenumberObjectStructure () const
 
StructureprivateNameStructure () const
 
StructuremapStructure () const
 
StructureregExpStructure () const
 
StructuregeneratorFunctionStructure () const
 
StructureasyncFunctionStructure () const
 
StructuresetStructure () const
 
StructurestringObjectStructure () const
 
StructuresymbolObjectStructure () const
 
StructureiteratorResultObjectStructure () const
 
StructureregExpMatchesArrayStructure () const
 
StructuremoduleRecordStructure () const
 
StructuremoduleNamespaceObjectStructure () const
 
StructureproxyObjectStructure () const
 
StructurecallableProxyObjectStructure () const
 
StructureproxyRevokeStructure () const
 
StructuremoduleLoaderStructure () const
 
StructurerestParameterStructure () const
 
JS_EXPORT_PRIVATE void setRemoteDebuggingEnabled (bool)
 
JS_EXPORT_PRIVATE bool remoteDebuggingEnabled () const
 
void setConsoleClient (ConsoleClient *consoleClient)
 
ConsoleClientconsoleClient () const
 
void setName (const String &)
 
const Stringname () const
 
JSArrayBufferPrototypearrayBufferPrototype (ArrayBufferSharingMode sharingMode) const
 
StructurearrayBufferStructure (ArrayBufferSharingMode sharingMode) const
 
LazyClassStructurelazyTypedArrayStructure (TypedArrayType type)
 
const LazyClassStructurelazyTypedArrayStructure (TypedArrayType type) const
 
StructuretypedArrayStructure (TypedArrayType type) const
 
StructuretypedArrayStructureConcurrently (TypedArrayType type) const
 
bool isOriginalTypedArrayStructure (Structure *structure)
 
JSObjecttypedArrayConstructor (TypedArrayType type) const
 
JSCellactualPointerFor (Special::Pointer pointer)
 
JSCelljsCellForLinkTimeConstant (LinkTimeConstant type)
 
WatchpointSetmasqueradesAsUndefinedWatchpoint ()
 
WatchpointSethavingABadTimeWatchpoint ()
 
WatchpointSetvarInjectionWatchpoint ()
 
bool isHavingABadTime () const
 
void haveABadTime (VM &)
 
bool objectPrototypeIsSane ()
 
bool arrayPrototypeChainIsSane ()
 
bool stringPrototypeChainIsSane ()
 
void setProfileGroup (unsigned value)
 
unsigned profileGroup () const
 
Debuggerdebugger () const
 
void setDebugger (Debugger *debugger)
 
const GlobalObjectMethodTableglobalObjectMethodTable () const
 
JS_EXPORT_PRIVATE ExecStateglobalExec ()
 
void queueMicrotask (Ref< Microtask > &&)
 
bool evalEnabled () const
 
const StringevalDisabledErrorMessage () const
 
void setEvalEnabled (bool enabled, const String &errorMessage=String())
 
void resetPrototype (VM &, JSValue prototype)
 
VMvm () const
 
JSObjectglobalThis () const
 
void registerWeakMap (OpaqueJSWeakObjectMap *map)
 
void unregisterWeakMap (OpaqueJSWeakObjectMap *map)
 
OpaqueJSClassDataMap & opaqueJSClassData ()
 
TemplateRegistrytemplateRegistry ()
 
double weakRandomNumber ()
 
unsigned weakRandomInteger ()
 
WeakRandom & weakRandom ()
 
bool needsSiteSpecificQuirks () const
 
InlineWatchpointSetarrayIteratorProtocolWatchpoint ()
 
InlineWatchpointSetarraySpeciesWatchpoint ()
 
bool isArrayIteratorProtocolFastAndNonObservable ()
 
void createRareDataIfNeeded ()
 
bool hasDebugger () const
 
bool hasInteractiveDebugger () const
 
const RuntimeFlagsruntimeFlags () const
 
JS_EXPORT_PRIVATE ~JSGlobalObject ()
 
void addVar (ExecState *exec, const Identifier &propertyName)
 
void addFunction (ExecState *, const Identifier &)
 
JSScopeglobalScope ()
 
JSGlobalLexicalEnvironmentglobalLexicalEnvironment ()
 
JSScopeglobalScopeExtension ()
 
void setGlobalScopeExtension (JSScope *)
 
void clearGlobalScopeExtension ()
 
GetterSetterspeciesGetterSetter () const
 
RegExpConstructorregExpConstructor () const
 
ErrorConstructorerrorConstructor () const
 
ArrayConstructorarrayConstructor () const
 
ObjectConstructorobjectConstructor () const
 
JSPromiseConstructorpromiseConstructor () const
 
JSInternalPromiseConstructorinternalPromiseConstructor () const
 
NativeErrorConstructorevalErrorConstructor () const
 
NativeErrorConstructorrangeErrorConstructor () const
 
NativeErrorConstructorreferenceErrorConstructor () const
 
NativeErrorConstructorsyntaxErrorConstructor () const
 
NativeErrorConstructortypeErrorConstructor () const
 
NativeErrorConstructorURIErrorConstructor () const
 
NullGetterFunctionnullGetterFunction () const
 
NullSetterFunctionnullSetterFunction () const
 
JSFunctionparseIntFunction () const
 
JSFunctionevalFunction () const
 
JSFunctioncallFunction () const
 
JSFunctionapplyFunction () const
 
JSFunctionthrowTypeErrorFunction () const
 
JSFunctionarrayProtoToStringFunction () const
 
JSFunctionarrayProtoValuesFunction () const
 
JSFunctioninitializePromiseFunction () const
 
JSFunctioniteratorProtocolFunction () const
 
JSFunctionobjectProtoValueOfFunction () const
 
JSFunctionnewPromiseCapabilityFunction () const
 
JSFunctionfunctionProtoHasInstanceSymbolFunction () const
 
JSObjectregExpProtoExecFunction () const
 
JSObjectregExpProtoSymbolReplaceFunction () const
 
JSObjectregExpProtoGlobalGetter () const
 
JSObjectregExpProtoUnicodeGetter () const
 
GetterSetterthrowTypeErrorArgumentsCalleeAndCallerGetterSetter ()
 
JSModuleLoadermoduleLoader () const
 
ObjectPrototypeobjectPrototype () const
 
FunctionPrototypefunctionPrototype () const
 
ArrayPrototypearrayPrototype () const
 
JSObjectbooleanPrototype () const
 
StringPrototypestringPrototype () const
 
SymbolPrototypesymbolPrototype () const
 
JSObjectnumberPrototype () const
 
JSObjectdatePrototype () const
 
RegExpPrototyperegExpPrototype () const
 
ErrorPrototypeerrorPrototype () const
 
IteratorPrototypeiteratorPrototype () const
 
GeneratorFunctionPrototypegeneratorFunctionPrototype () const
 
GeneratorPrototypegeneratorPrototype () const
 
AsyncFunctionPrototypeasyncFunctionPrototype () const
 
StructuredebuggerScopeStructure () const
 
StructurewithScopeStructure () const
 
StructurestrictEvalActivationStructure () const
 
StructureactivationStructure () const
 
StructuremoduleEnvironmentStructure () const
 
StructuredirectArgumentsStructure () const
 
StructurescopedArgumentsStructure () const
 
StructureclonedArgumentsStructure () const
 
StructureobjectStructureForObjectConstructor () const
 
StructureoriginalArrayStructureForIndexingType (IndexingType indexingType) const
 
StructurearrayStructureForIndexingTypeDuringAllocation (IndexingType indexingType) const
 
StructurearrayStructureForIndexingTypeDuringAllocation (ExecState *exec, IndexingType indexingType, JSValue newTarget) const
 
StructurearrayStructureForProfileDuringAllocation (ExecState *exec, ArrayAllocationProfile *profile, JSValue newTarget) const
 
bool isOriginalArrayStructure (Structure *structure)
 
StructurebooleanObjectStructure () const
 
StructurecallbackConstructorStructure () const
 
StructurecallbackFunctionStructure () const
 
StructurecallbackObjectStructure () const
 
StructurepropertyNameIteratorStructure () const
 
StructuredateStructure () const
 
StructurenullPrototypeObjectStructure () const
 
StructureerrorStructure () const
 
StructurecalleeStructure () const
 
StructurefunctionStructure () const
 
StructureboundFunctionStructure () const
 
StructurecustomGetterSetterFunctionStructure () const
 
StructuregetterSetterStructure () const
 
StructurenativeStdFunctionStructure () const
 
StructurenamedFunctionStructure () const
 
PropertyOffset functionNameOffset () const
 
StructurenumberObjectStructure () const
 
StructureprivateNameStructure () const
 
StructuremapStructure () const
 
StructureregExpStructure () const
 
StructuregeneratorFunctionStructure () const
 
StructureasyncFunctionStructure () const
 
StructuresetStructure () const
 
StructurestringObjectStructure () const
 
StructuresymbolObjectStructure () const
 
StructureiteratorResultObjectStructure () const
 
StructureregExpMatchesArrayStructure () const
 
StructuremoduleRecordStructure () const
 
StructuremoduleNamespaceObjectStructure () const
 
StructureproxyObjectStructure () const
 
StructurecallableProxyObjectStructure () const
 
StructureproxyRevokeStructure () const
 
StructuremoduleLoaderStructure () const
 
StructurerestParameterStructure () const
 
JS_EXPORT_PRIVATE void setRemoteDebuggingEnabled (bool)
 
JS_EXPORT_PRIVATE bool remoteDebuggingEnabled () const
 
void setConsoleClient (ConsoleClient *consoleClient)
 
ConsoleClientconsoleClient () const
 
void setName (const String &)
 
const Stringname () const
 
JSArrayBufferPrototypearrayBufferPrototype (ArrayBufferSharingMode sharingMode) const
 
StructurearrayBufferStructure (ArrayBufferSharingMode sharingMode) const
 
LazyClassStructurelazyTypedArrayStructure (TypedArrayType type)
 
const LazyClassStructurelazyTypedArrayStructure (TypedArrayType type) const
 
StructuretypedArrayStructure (TypedArrayType type) const
 
StructuretypedArrayStructureConcurrently (TypedArrayType type) const
 
bool isOriginalTypedArrayStructure (Structure *structure)
 
JSObjecttypedArrayConstructor (TypedArrayType type) const
 
JSCellactualPointerFor (Special::Pointer pointer)
 
JSCelljsCellForLinkTimeConstant (LinkTimeConstant type)
 
WatchpointSetmasqueradesAsUndefinedWatchpoint ()
 
WatchpointSethavingABadTimeWatchpoint ()
 
WatchpointSetvarInjectionWatchpoint ()
 
bool isHavingABadTime () const
 
void haveABadTime (VM &)
 
bool objectPrototypeIsSane ()
 
bool arrayPrototypeChainIsSane ()
 
bool stringPrototypeChainIsSane ()
 
void setProfileGroup (unsigned value)
 
unsigned profileGroup () const
 
Debuggerdebugger () const
 
void setDebugger (Debugger *debugger)
 
const GlobalObjectMethodTableglobalObjectMethodTable () const
 
JS_EXPORT_PRIVATE ExecStateglobalExec ()
 
void queueMicrotask (Ref< Microtask > &&)
 
bool evalEnabled () const
 
const StringevalDisabledErrorMessage () const
 
void setEvalEnabled (bool enabled, const String &errorMessage=String())
 
void resetPrototype (VM &, JSValue prototype)
 
VMvm () const
 
JSObjectglobalThis () const
 
void registerWeakMap (OpaqueJSWeakObjectMap *map)
 
void unregisterWeakMap (OpaqueJSWeakObjectMap *map)
 
OpaqueJSClassDataMap & opaqueJSClassData ()
 
TemplateRegistrytemplateRegistry ()
 
double weakRandomNumber ()
 
unsigned weakRandomInteger ()
 
WeakRandom & weakRandom ()
 
bool needsSiteSpecificQuirks () const
 
- Public Member Functions inherited from JSC::JSSegmentedVariableObject
bool isValidScopeOffset (ScopeOffset offset)
 
WriteBarrier< Unknown > & variableAt (ScopeOffset offset)
 
JS_EXPORT_PRIVATE ScopeOffset findVariableIndex (void *)
 
WriteBarrier< Unknown > * assertVariableIsInThisObject (WriteBarrier< Unknown > *variablePointer)
 
JS_EXPORT_PRIVATE ScopeOffset addVariables (unsigned numberOfVariablesToAdd, JSValue)
 
const ClassInfoclassInfo () const
 
bool isValidScopeOffset (ScopeOffset offset)
 
WriteBarrier< Unknown > & variableAt (ScopeOffset offset)
 
JS_EXPORT_PRIVATE ScopeOffset findVariableIndex (void *)
 
WriteBarrier< Unknown > * assertVariableIsInThisObject (WriteBarrier< Unknown > *variablePointer)
 
JS_EXPORT_PRIVATE ScopeOffset addVariables (unsigned numberOfVariablesToAdd, JSValue)
 
const ClassInfoclassInfo () const
 
- Public Member Functions inherited from JSC::JSSymbolTableObject
SymbolTablesymbolTable () const
 
SymbolTablesymbolTable () const
 
- Public Member Functions inherited from JSC::JSScope
bool isVarScope ()
 
bool isLexicalScope ()
 
bool isModuleScope ()
 
bool isCatchScope ()
 
bool isFunctionNameScopeObject ()
 
bool isNestedLexicalScope ()
 
ScopeChainIterator begin ()
 
ScopeChainIterator end ()
 
JSScopenext ()
 
JSGlobalObjectglobalObject ()
 
JSGlobalObjectglobalObject (VM &)
 
JSObjectglobalThis ()
 
SymbolTablesymbolTable (VM &)
 
bool isVarScope ()
 
bool isLexicalScope ()
 
bool isModuleScope ()
 
bool isCatchScope ()
 
bool isFunctionNameScopeObject ()
 
bool isNestedLexicalScope ()
 
ScopeChainIterator begin ()
 
ScopeChainIterator end ()
 
JSScopenext ()
 
JSGlobalObjectglobalObject ()
 
JSGlobalObjectglobalObject (VM &)
 
JSObjectglobalThis ()
 
SymbolTablesymbolTable (VM &)
 
- Public Member Functions inherited from JSC::JSObject
JSValue getPrototype (VM &, ExecState *)
 
JSValue getPrototypeDirect () const
 
JS_EXPORT_PRIVATE void setPrototypeDirect (VM &, JSValue prototype)
 
bool setPrototype (VM &, ExecState *, JSValue prototype, bool shouldThrowIfCantSet=false)
 
bool mayInterceptIndexedAccesses ()
 
JSValue get (ExecState *, PropertyName) const
 
JSValue get (ExecState *, unsigned propertyName) const
 
bool getPropertySlot (ExecState *, PropertyName, PropertySlot &)
 
bool getPropertySlot (ExecState *, unsigned propertyName, PropertySlot &)
 
template<typename CallbackWhenNoException >
std::result_of< CallbackWhenNoException(bool, PropertySlot &)>::type getPropertySlot (ExecState *, PropertyName, CallbackWhenNoException) const
 
template<typename CallbackWhenNoException >
std::result_of< CallbackWhenNoException(bool, PropertySlot &)>::type getPropertySlot (ExecState *, PropertyName, PropertySlot &, CallbackWhenNoException) const
 
JS_EXPORT_PRIVATE bool getOwnPropertyDescriptor (ExecState *, PropertyName, PropertyDescriptor &)
 
unsigned getArrayLength () const
 
unsigned getVectorLength ()
 
ALWAYS_INLINE bool putByIndexInline (ExecState *exec, unsigned propertyName, JSValue value, bool shouldThrow)
 
bool putDirectIndex (ExecState *exec, unsigned propertyName, JSValue value, unsigned attributes, PutDirectIndexMode mode)
 
bool putDirectIndex (ExecState *exec, unsigned propertyName, JSValue value)
 
JS_EXPORT_PRIVATE bool putDirectMayBeIndex (ExecState *, PropertyName, JSValue)
 
bool hasIndexingHeader () const
 
bool canGetIndexQuickly (unsigned i)
 
JSValue getIndexQuickly (unsigned i)
 
JSValue tryGetIndexQuickly (unsigned i) const
 
JSValue getDirectIndex (ExecState *exec, unsigned i)
 
JSValue getIndex (ExecState *exec, unsigned i) const
 
bool canSetIndexQuickly (unsigned i)
 
bool canSetIndexQuicklyForPutDirect (unsigned i)
 
void setIndexQuickly (VM &vm, unsigned i, JSValue v)
 
void initializeIndex (VM &vm, unsigned i, JSValue v)
 
ALWAYS_INLINE void initializeIndex (VM &vm, unsigned i, JSValue v, IndexingType indexingType)
 
void initializeIndexWithoutBarrier (unsigned i, JSValue v)
 
ALWAYS_INLINE void initializeIndexWithoutBarrier (unsigned i, JSValue v, IndexingType indexingType)
 
bool hasSparseMap ()
 
bool inSparseIndexingMode ()
 
void enterDictionaryIndexingMode (VM &)
 
bool putDirect (VM &, PropertyName, JSValue, unsigned attributes=0)
 
bool putDirect (VM &, PropertyName, JSValue, PutPropertySlot &)
 
void putDirectWithoutTransition (VM &, PropertyName, JSValue, unsigned attributes=0)
 
bool putDirectNonIndexAccessor (VM &, PropertyName, JSValue, unsigned attributes)
 
bool putDirectAccessor (ExecState *, PropertyName, JSValue, unsigned attributes)
 
JS_EXPORT_PRIVATE bool putDirectCustomAccessor (VM &, PropertyName, JSValue, unsigned attributes)
 
bool putGetter (ExecState *, PropertyName, JSValue, unsigned attributes)
 
bool putSetter (ExecState *, PropertyName, JSValue, unsigned attributes)
 
JS_EXPORT_PRIVATE bool hasProperty (ExecState *, PropertyName) const
 
JS_EXPORT_PRIVATE bool hasProperty (ExecState *, unsigned propertyName) const
 
bool hasPropertyGeneric (ExecState *, PropertyName, PropertySlot::InternalMethodType) const
 
bool hasPropertyGeneric (ExecState *, unsigned propertyName, PropertySlot::InternalMethodType) const
 
bool hasOwnProperty (ExecState *, PropertyName, PropertySlot &) const
 
bool hasOwnProperty (ExecState *, PropertyName) const
 
bool hasOwnProperty (ExecState *, unsigned) const
 
JSValue ordinaryToPrimitive (ExecState *, PreferredPrimitiveType) const
 
JS_EXPORT_PRIVATE bool hasInstance (ExecState *, JSValue value, JSValue hasInstanceValue)
 
JS_EXPORT_PRIVATE bool hasInstance (ExecState *, JSValue)
 
JS_EXPORT_PRIVATE JSValue toPrimitive (ExecState *, PreferredPrimitiveType=NoPreference) const
 
bool getPrimitiveNumber (ExecState *, double &number, JSValue &) const
 
JS_EXPORT_PRIVATE double toNumber (ExecState *) const
 
JS_EXPORT_PRIVATE JSStringtoString (ExecState *) const
 
JSValue getDirect (VM &vm, PropertyName propertyName) const
 
JSValue getDirect (VM &vm, PropertyName propertyName, unsigned &attributes) const
 
PropertyOffset getDirectOffset (VM &vm, PropertyName propertyName)
 
PropertyOffset getDirectOffset (VM &vm, PropertyName propertyName, unsigned &attributes)
 
bool hasInlineStorage () const
 
ConstPropertyStorage inlineStorageUnsafe () const
 
PropertyStorage inlineStorageUnsafe ()
 
ConstPropertyStorage inlineStorage () const
 
PropertyStorage inlineStorage ()
 
const Butterflybutterfly () const
 
Butterflybutterfly ()
 
ConstPropertyStorage outOfLineStorage () const
 
PropertyStorage outOfLineStorage ()
 
const WriteBarrierBase< Unknown > * locationForOffset (PropertyOffset offset) const
 
WriteBarrierBase< Unknown > * locationForOffset (PropertyOffset offset)
 
void transitionTo (VM &, Structure *)
 
bool hasCustomProperties ()
 
bool hasGetterSetterProperties ()
 
bool hasCustomGetterSetterProperties ()
 
bool putOwnDataProperty (VM &, PropertyName, JSValue, PutPropertySlot &)
 
bool putOwnDataPropertyMayBeIndex (ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
JSValue getDirect (PropertyOffset offset) const
 
void putDirect (VM &vm, PropertyOffset offset, JSValue value)
 
void putDirectWithoutBarrier (PropertyOffset offset, JSValue value)
 
void putDirectUndefined (PropertyOffset offset)
 
JS_EXPORT_PRIVATE bool putDirectNativeIntrinsicGetter (VM &, JSGlobalObject *, Identifier, NativeFunction, Intrinsic, unsigned attributes)
 
JS_EXPORT_PRIVATE bool putDirectNativeFunction (VM &, JSGlobalObject *, const PropertyName &, unsigned functionLength, NativeFunction, Intrinsic, unsigned attributes)
 
JS_EXPORT_PRIVATE bool putDirectNativeFunction (VM &, JSGlobalObject *, const PropertyName &, unsigned functionLength, NativeFunction, Intrinsic, const DOMJIT::Signature *, unsigned attributes)
 
JS_EXPORT_PRIVATE JSFunctionputDirectBuiltinFunction (VM &, JSGlobalObject *, const PropertyName &, FunctionExecutable *, unsigned attributes)
 
JSFunctionputDirectBuiltinFunctionWithoutTransition (VM &, JSGlobalObject *, const PropertyName &, FunctionExecutable *, unsigned attributes)
 
JS_EXPORT_PRIVATE void putDirectNativeFunctionWithoutTransition (VM &, JSGlobalObject *, const PropertyName &, unsigned functionLength, NativeFunction, Intrinsic, unsigned attributes)
 
bool isEnvironmentRecord () const
 
bool isGlobalObject () const
 
bool isJSLexicalEnvironment () const
 
bool isGlobalLexicalEnvironment () const
 
bool isStrictEvalActivation () const
 
bool isWithScope () const
 
bool isErrorInstance () const
 
JS_EXPORT_PRIVATE void seal (VM &)
 
JS_EXPORT_PRIVATE void freeze (VM &)
 
bool isSealed (VM &vm)
 
bool isFrozen (VM &vm)
 
ALWAYS_INLINE bool isStructureExtensible ()
 
bool isExtensible (ExecState *)
 
bool indexingShouldBeSparse ()
 
bool staticPropertiesReified ()
 
void reifyAllStaticProperties (ExecState *)
 
JS_EXPORT_PRIVATE ButterflyallocateMoreOutOfLineStorage (VM &, size_t oldSize, size_t newSize)
 
void setButterfly (VM &, Butterfly *)
 
void nukeStructureAndSetButterfly (VM &, StructureID, Butterfly *)
 
void setStructure (VM &, Structure *)
 
JS_EXPORT_PRIVATE void convertToDictionary (VM &)
 
void flattenDictionaryObject (VM &vm)
 
void shiftButterflyAfterFlattening (const GCSafeConcurrentJSLocker &, VM &, Structure *structure, size_t outOfLineCapacityAfter)
 
JSGlobalObjectglobalObject () const
 
JSGlobalObjectglobalObject (VM &vm) const
 
void switchToSlowPutArrayStorage (VM &)
 
bool attemptToInterceptPutByIndexOnHoleForPrototype (ExecState *, JSValue thisValue, unsigned propertyName, JSValue, bool shouldThrow, bool &putResult)
 
ContiguousJSValues ensureInt32 (VM &vm)
 
ContiguousDoubles ensureDouble (VM &vm)
 
ContiguousJSValues ensureContiguous (VM &vm)
 
ArrayStorageensureArrayStorage (VM &vm)
 
voidbutterflyAddress ()
 
JS_EXPORT_PRIVATE JSValue getMethod (ExecState *, CallData &, CallType &, const Identifier &, const String &errorMessage)
 
JSValue getPrototype (VM &, ExecState *)
 
JSValue getPrototypeDirect () const
 
JS_EXPORT_PRIVATE void setPrototypeDirect (VM &, JSValue prototype)
 
bool setPrototype (VM &, ExecState *, JSValue prototype, bool shouldThrowIfCantSet=false)
 
bool mayInterceptIndexedAccesses ()
 
JSValue get (ExecState *, PropertyName) const
 
JSValue get (ExecState *, unsigned propertyName) const
 
bool getPropertySlot (ExecState *, PropertyName, PropertySlot &)
 
bool getPropertySlot (ExecState *, unsigned propertyName, PropertySlot &)
 
template<typename CallbackWhenNoException >
std::result_of< CallbackWhenNoException(bool, PropertySlot &)>::type getPropertySlot (ExecState *, PropertyName, CallbackWhenNoException) const
 
template<typename CallbackWhenNoException >
std::result_of< CallbackWhenNoException(bool, PropertySlot &)>::type getPropertySlot (ExecState *, PropertyName, PropertySlot &, CallbackWhenNoException) const
 
JS_EXPORT_PRIVATE bool getOwnPropertyDescriptor (ExecState *, PropertyName, PropertyDescriptor &)
 
unsigned getArrayLength () const
 
unsigned getVectorLength ()
 
ALWAYS_INLINE bool putByIndexInline (ExecState *exec, unsigned propertyName, JSValue value, bool shouldThrow)
 
bool putDirectIndex (ExecState *exec, unsigned propertyName, JSValue value, unsigned attributes, PutDirectIndexMode mode)
 
bool putDirectIndex (ExecState *exec, unsigned propertyName, JSValue value)
 
JS_EXPORT_PRIVATE bool putDirectMayBeIndex (ExecState *, PropertyName, JSValue)
 
bool hasIndexingHeader () const
 
bool canGetIndexQuickly (unsigned i)
 
JSValue getIndexQuickly (unsigned i)
 
JSValue tryGetIndexQuickly (unsigned i) const
 
JSValue getDirectIndex (ExecState *exec, unsigned i)
 
JSValue getIndex (ExecState *exec, unsigned i) const
 
bool canSetIndexQuickly (unsigned i)
 
bool canSetIndexQuicklyForPutDirect (unsigned i)
 
void setIndexQuickly (VM &vm, unsigned i, JSValue v)
 
void initializeIndex (VM &vm, unsigned i, JSValue v)
 
ALWAYS_INLINE void initializeIndex (VM &vm, unsigned i, JSValue v, IndexingType indexingType)
 
void initializeIndexWithoutBarrier (unsigned i, JSValue v)
 
ALWAYS_INLINE void initializeIndexWithoutBarrier (unsigned i, JSValue v, IndexingType indexingType)
 
bool hasSparseMap ()
 
bool inSparseIndexingMode ()
 
void enterDictionaryIndexingMode (VM &)
 
bool putDirect (VM &, PropertyName, JSValue, unsigned attributes=0)
 
bool putDirect (VM &, PropertyName, JSValue, PutPropertySlot &)
 
void putDirectWithoutTransition (VM &, PropertyName, JSValue, unsigned attributes=0)
 
bool putDirectNonIndexAccessor (VM &, PropertyName, JSValue, unsigned attributes)
 
bool putDirectAccessor (ExecState *, PropertyName, JSValue, unsigned attributes)
 
JS_EXPORT_PRIVATE bool putDirectCustomAccessor (VM &, PropertyName, JSValue, unsigned attributes)
 
bool putGetter (ExecState *, PropertyName, JSValue, unsigned attributes)
 
bool putSetter (ExecState *, PropertyName, JSValue, unsigned attributes)
 
JS_EXPORT_PRIVATE bool hasProperty (ExecState *, PropertyName) const
 
JS_EXPORT_PRIVATE bool hasProperty (ExecState *, unsigned propertyName) const
 
bool hasPropertyGeneric (ExecState *, PropertyName, PropertySlot::InternalMethodType) const
 
bool hasPropertyGeneric (ExecState *, unsigned propertyName, PropertySlot::InternalMethodType) const
 
bool hasOwnProperty (ExecState *, PropertyName, PropertySlot &) const
 
bool hasOwnProperty (ExecState *, PropertyName) const
 
bool hasOwnProperty (ExecState *, unsigned) const
 
JSValue ordinaryToPrimitive (ExecState *, PreferredPrimitiveType) const
 
JS_EXPORT_PRIVATE bool hasInstance (ExecState *, JSValue value, JSValue hasInstanceValue)
 
JS_EXPORT_PRIVATE bool hasInstance (ExecState *, JSValue)
 
JS_EXPORT_PRIVATE JSValue toPrimitive (ExecState *, PreferredPrimitiveType=NoPreference) const
 
bool getPrimitiveNumber (ExecState *, double &number, JSValue &) const
 
JS_EXPORT_PRIVATE double toNumber (ExecState *) const
 
JS_EXPORT_PRIVATE JSStringtoString (ExecState *) const
 
JSValue getDirect (VM &vm, PropertyName propertyName) const
 
JSValue getDirect (VM &vm, PropertyName propertyName, unsigned &attributes) const
 
PropertyOffset getDirectOffset (VM &vm, PropertyName propertyName)
 
PropertyOffset getDirectOffset (VM &vm, PropertyName propertyName, unsigned &attributes)
 
bool hasInlineStorage () const
 
ConstPropertyStorage inlineStorageUnsafe () const
 
PropertyStorage inlineStorageUnsafe ()
 
ConstPropertyStorage inlineStorage () const
 
PropertyStorage inlineStorage ()
 
const Butterflybutterfly () const
 
Butterflybutterfly ()
 
ConstPropertyStorage outOfLineStorage () const
 
PropertyStorage outOfLineStorage ()
 
const WriteBarrierBase< Unknown > * locationForOffset (PropertyOffset offset) const
 
WriteBarrierBase< Unknown > * locationForOffset (PropertyOffset offset)
 
void transitionTo (VM &, Structure *)
 
bool hasCustomProperties ()
 
bool hasGetterSetterProperties ()
 
bool hasCustomGetterSetterProperties ()
 
bool putOwnDataProperty (VM &, PropertyName, JSValue, PutPropertySlot &)
 
bool putOwnDataPropertyMayBeIndex (ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
JSValue getDirect (PropertyOffset offset) const
 
void putDirect (VM &vm, PropertyOffset offset, JSValue value)
 
void putDirectWithoutBarrier (PropertyOffset offset, JSValue value)
 
void putDirectUndefined (PropertyOffset offset)
 
JS_EXPORT_PRIVATE bool putDirectNativeIntrinsicGetter (VM &, JSGlobalObject *, Identifier, NativeFunction, Intrinsic, unsigned attributes)
 
JS_EXPORT_PRIVATE bool putDirectNativeFunction (VM &, JSGlobalObject *, const PropertyName &, unsigned functionLength, NativeFunction, Intrinsic, unsigned attributes)
 
JS_EXPORT_PRIVATE bool putDirectNativeFunction (VM &, JSGlobalObject *, const PropertyName &, unsigned functionLength, NativeFunction, Intrinsic, const DOMJIT::Signature *, unsigned attributes)
 
JS_EXPORT_PRIVATE JSFunctionputDirectBuiltinFunction (VM &, JSGlobalObject *, const PropertyName &, FunctionExecutable *, unsigned attributes)
 
JSFunctionputDirectBuiltinFunctionWithoutTransition (VM &, JSGlobalObject *, const PropertyName &, FunctionExecutable *, unsigned attributes)
 
JS_EXPORT_PRIVATE void putDirectNativeFunctionWithoutTransition (VM &, JSGlobalObject *, const PropertyName &, unsigned functionLength, NativeFunction, Intrinsic, unsigned attributes)
 
bool isEnvironmentRecord () const
 
bool isGlobalObject () const
 
bool isJSLexicalEnvironment () const
 
bool isGlobalLexicalEnvironment () const
 
bool isStrictEvalActivation () const
 
bool isWithScope () const
 
bool isErrorInstance () const
 
JS_EXPORT_PRIVATE void seal (VM &)
 
JS_EXPORT_PRIVATE void freeze (VM &)
 
bool isSealed (VM &vm)
 
bool isFrozen (VM &vm)
 
ALWAYS_INLINE bool isStructureExtensible ()
 
bool isExtensible (ExecState *)
 
bool indexingShouldBeSparse ()
 
bool staticPropertiesReified ()
 
void reifyAllStaticProperties (ExecState *)
 
JS_EXPORT_PRIVATE ButterflyallocateMoreOutOfLineStorage (VM &, size_t oldSize, size_t newSize)
 
void setButterfly (VM &, Butterfly *)
 
void nukeStructureAndSetButterfly (VM &, StructureID, Butterfly *)
 
void setStructure (VM &, Structure *)
 
JS_EXPORT_PRIVATE void convertToDictionary (VM &)
 
void flattenDictionaryObject (VM &vm)
 
void shiftButterflyAfterFlattening (const GCSafeConcurrentJSLocker &, VM &, Structure *structure, size_t outOfLineCapacityAfter)
 
JSGlobalObjectglobalObject () const
 
JSGlobalObjectglobalObject (VM &vm) const
 
void switchToSlowPutArrayStorage (VM &)
 
bool attemptToInterceptPutByIndexOnHoleForPrototype (ExecState *, JSValue thisValue, unsigned propertyName, JSValue, bool shouldThrow, bool &putResult)
 
ContiguousJSValues ensureInt32 (VM &vm)
 
ContiguousDoubles ensureDouble (VM &vm)
 
ContiguousJSValues ensureContiguous (VM &vm)
 
ArrayStorageensureArrayStorage (VM &vm)
 
voidbutterflyAddress ()
 
JS_EXPORT_PRIVATE JSValue getMethod (ExecState *, CallData &, CallType &, const Identifier &, const String &errorMessage)
 
template<typename CallbackWhenNoException >
ALWAYS_INLINE std::result_of< CallbackWhenNoException(bool, PropertySlot &)>::type getPropertySlot (ExecState *exec, PropertyName propertyName, CallbackWhenNoException callback) const
 
template<typename CallbackWhenNoException >
ALWAYS_INLINE std::result_of< CallbackWhenNoException(bool, PropertySlot &)>::type getPropertySlot (ExecState *exec, PropertyName propertyName, PropertySlot &slot, CallbackWhenNoException callback) const
 
template<JSObject::PutMode mode>
ALWAYS_INLINE bool putDirectInternal (VM &vm, PropertyName propertyName, JSValue value, unsigned attributes, PutPropertySlot &slot)
 
- Public Member Functions inherited from JSC::JSCell
 JSCell (CreatingEarlyCellTag)
 
bool isString () const
 
bool isSymbol () const
 
bool isObject () const
 
bool isAnyWasmCallee (VM &) const
 
bool isGetterSetter () const
 
bool isCustomGetterSetter () const
 
bool isProxy () const
 
bool inherits (VM &, const ClassInfo *) const
 
bool isAPIValueWrapper () const
 
void lock ()
 
bool tryLock ()
 
void unlock ()
 
bool isLocked () const
 
JSType type () const
 
IndexingType indexingTypeAndMisc () const
 
IndexingType indexingType () const
 
StructureID structureID () const
 
Structurestructure () const
 
Structurestructure (VM &) const
 
void setStructure (VM &, Structure *)
 
void setStructureIDDirectly (StructureID id)
 
void clearStructure ()
 
TypeInfo::InlineTypeFlags inlineTypeFlags () const
 
const char * className (VM &) const
 
JS_EXPORT_PRIVATE bool getString (ExecState *, String &) const
 
JS_EXPORT_PRIVATE String getString (ExecState *) const
 
JS_EXPORT_PRIVATE JSObjectgetObject ()
 
const JSObjectgetObject () const
 
JS_EXPORT_PRIVATE JSValue toPrimitive (ExecState *, PreferredPrimitiveType) const
 
bool getPrimitiveNumber (ExecState *, double &number, JSValue &) const
 
bool toBoolean (ExecState *) const
 
TriState pureToBoolean () const
 
JS_EXPORT_PRIVATE double toNumber (ExecState *) const
 
JSObjecttoObject (ExecState *, JSGlobalObject *) const
 
void dump (PrintStream &) const
 
size_t estimatedSizeInBytes () const
 
const ClassInfoclassInfo (VM &) const
 
const MethodTablemethodTable () const
 
const MethodTablemethodTable (VM &) const
 
JSValue fastGetOwnProperty (VM &, Structure &, PropertyName)
 
CellState cellState () const
 
void setCellState (CellState data) const
 
bool atomicCompareExchangeCellStateWeakRelaxed (CellState oldState, CellState newState)
 
CellState atomicCompareExchangeCellStateStrong (CellState oldState, CellState newState)
 
void callDestructor (VM &)
 
 JSCell (CreatingEarlyCellTag)
 
bool isString () const
 
bool isSymbol () const
 
bool isObject () const
 
bool isAnyWasmCallee (VM &) const
 
bool isGetterSetter () const
 
bool isCustomGetterSetter () const
 
bool isProxy () const
 
bool inherits (VM &, const ClassInfo *) const
 
bool isAPIValueWrapper () const
 
void lock ()
 
bool tryLock ()
 
void unlock ()
 
bool isLocked () const
 
JSType type () const
 
IndexingType indexingTypeAndMisc () const
 
IndexingType indexingType () const
 
StructureID structureID () const
 
Structurestructure () const
 
Structurestructure (VM &) const
 
void setStructure (VM &, Structure *)
 
void setStructureIDDirectly (StructureID id)
 
void clearStructure ()
 
TypeInfo::InlineTypeFlags inlineTypeFlags () const
 
const char * className (VM &) const
 
JS_EXPORT_PRIVATE bool getString (ExecState *, String &) const
 
JS_EXPORT_PRIVATE String getString (ExecState *) const
 
JS_EXPORT_PRIVATE JSObjectgetObject ()
 
const JSObjectgetObject () const
 
JS_EXPORT_PRIVATE JSValue toPrimitive (ExecState *, PreferredPrimitiveType) const
 
bool getPrimitiveNumber (ExecState *, double &number, JSValue &) const
 
bool toBoolean (ExecState *) const
 
TriState pureToBoolean () const
 
JS_EXPORT_PRIVATE double toNumber (ExecState *) const
 
JSObjecttoObject (ExecState *, JSGlobalObject *) const
 
void dump (PrintStream &) const
 
size_t estimatedSizeInBytes () const
 
const ClassInfoclassInfo (VM &) const
 
const MethodTablemethodTable () const
 
const MethodTablemethodTable (VM &) const
 
JSValue fastGetOwnProperty (VM &, Structure &, PropertyName)
 
CellState cellState () const
 
void setCellState (CellState data) const
 
bool atomicCompareExchangeCellStateWeakRelaxed (CellState oldState, CellState newState)
 
CellState atomicCompareExchangeCellStateStrong (CellState oldState, CellState newState)
 
void callDestructor (VM &)
 
- Public Member Functions inherited from JSC::HeapCell
 HeapCell ()
 
void zap ()
 
bool isZapped () const
 
bool isLargeAllocation () const
 
CellContainer cellContainer () const
 
MarkedBlockmarkedBlock () const
 
LargeAllocationlargeAllocation () const
 
Heapheap () const
 
VMvm () const
 
size_t cellSize () const
 
AllocatorAttributes allocatorAttributes () const
 
DestructionMode destructionMode () const
 
Kind cellKind () const
 
 HeapCell ()
 
void zap ()
 
bool isZapped () const
 
bool isLargeAllocation () const
 
CellContainer cellContainer () const
 
MarkedBlockmarkedBlock () const
 
LargeAllocationlargeAllocation () const
 
Heapheap () const
 
VMvm () const
 
size_t cellSize () const
 
AllocatorAttributes allocatorAttributes () const
 
DestructionMode destructionMode () const
 
Kind cellKind () const
 
- Protected Attributes inherited from JSC::JSObject
AuxiliaryBarrier< Butterfly * > m_butterfly
 

Member Typedef Documentation

◆ Base [1/2]

◆ Base [2/2]

Member Function Documentation

◆ addConstructableFunction()

void GlobalObject::addConstructableFunction ( VM vm,
const char *  name,
NativeFunction  function,
unsigned  arguments 
)
inlineprotected

◆ addFunction() [1/2]

void GlobalObject::addFunction ( VM vm,
JSObject object,
const char *  name,
NativeFunction  function,
unsigned  arguments 
)
inlineprotected

◆ addFunction() [2/2]

void GlobalObject::addFunction ( VM vm,
const char *  name,
NativeFunction  function,
unsigned  arguments 
)
inlineprotected

◆ create() [1/2]

static GlobalObject* GlobalObject::create ( VM vm,
Structure structure,
const Vector< String > &  arguments 
)
inlinestatic

◆ create() [2/2]

static GlobalObject* GlobalObject::create ( VM vm,
Structure structure,
const Vector< String > &  arguments 
)
inlinestatic

◆ createStructure() [1/2]

static Structure* GlobalObject::createStructure ( VM vm,
JSValue  prototype 
)
inlinestatic

◆ createStructure() [2/2]

static Structure* GlobalObject::createStructure ( VM vm,
JSValue  prototype 
)
inlinestatic

◆ finishCreation() [1/2]

void GlobalObject::finishCreation ( VM vm,
const Vector< String > &  arguments 
)
inlineprotected

◆ finishCreation() [2/2]

void GlobalObject::finishCreation ( VM vm,
const Vector< String > &  arguments 
)
inlineprotected

◆ javaScriptRuntimeFlags()

static RuntimeFlags GlobalObject::javaScriptRuntimeFlags ( const JSGlobalObject )
inlinestatic

◆ moduleLoaderFetch()

JSInternalPromise * GlobalObject::moduleLoaderFetch ( JSGlobalObject globalObject,
ExecState exec,
JSModuleLoader ,
JSValue  key,
JSValue   
)
staticprotected

◆ moduleLoaderImportModule()

JSInternalPromise * GlobalObject::moduleLoaderImportModule ( JSGlobalObject globalObject,
ExecState exec,
JSModuleLoader ,
JSString moduleNameValue,
const SourceOrigin sourceOrigin 
)
staticprotected

◆ moduleLoaderResolve()

JSInternalPromise * GlobalObject::moduleLoaderResolve ( JSGlobalObject globalObject,
ExecState exec,
JSModuleLoader ,
JSValue  keyValue,
JSValue  referrerValue,
JSValue   
)
staticprotected

Member Data Documentation

◆ DECLARE_INFO

GlobalObject::DECLARE_INFO

◆ needsDestruction

const bool GlobalObject::needsDestruction = false
static

◆ needsDestructor

const bool GlobalObject::needsDestructor = false
static

◆ s_globalObjectMethodTable

const GlobalObjectMethodTable GlobalObject::s_globalObjectMethodTable
static

The documentation for this class was generated from the following files: