|
| void | set (int index, Tagged< Object > value, WriteBarrierMode mode)=delete |
| |
| V8_INLINE void | set (int index, Tagged< Object > value, WriteBarrierMode mode, ReleaseStoreTag) |
| |
| void | synchronized_set_script_context_table (Tagged< ScriptContextTable > script_context_table) |
| |
| Tagged< ScriptContextTable > | synchronized_script_context_table () const |
| |
| Tagged< JSGlobalObject > | global_object () |
| |
| Tagged< JSGlobalObject > | global_object (AcquireLoadTag) |
| |
| Tagged< Map > | TypedArrayElementsKindToCtorMap (ElementsKind element_kind) const |
| |
| Tagged< Map > | TypedArrayElementsKindToRabGsabCtorMap (ElementsKind element_kind) const |
| |
| bool | HasTemplateLiteralObject (Tagged< JSArray > array) |
| |
| | DEFINE_FIELD_OFFSET_CONSTANTS (Context::kExtendedHeaderSize, NATIVE_CONTEXT_FIELDS_DEF) class BodyDescriptor |
| |
| void | ResetErrorsThrown () |
| |
| void | IncrementErrorsThrown () |
| |
| int | GetErrorsThrown () |
| |
| V8_INLINE Tagged< Object > | get (int index) const |
| |
| V8_INLINE Tagged< Object > | get (PtrComprCageBase cage_base, int index) const |
| |
| V8_INLINE void | set (int index, Tagged< Object > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
| |
| V8_INLINE Tagged< Object > | get (int index, AcquireLoadTag) const |
| |
| V8_INLINE Tagged< Object > | get (PtrComprCageBase cage_base, int index, AcquireLoadTag) const |
| |
| V8_INLINE void | set (int index, Tagged< Object > value, WriteBarrierMode mode, ReleaseStoreTag) |
| |
| void | Initialize (Isolate *isolate) |
| |
| Tagged< Object > | unchecked_previous () const |
| |
| Tagged< Context > | previous () const |
| |
| Tagged< Object > | next_context_link () const |
| |
| bool | has_extension () const |
| |
| Tagged< HeapObject > | extension () const |
| |
| V8_EXPORT_PRIVATE void | set_extension (Tagged< HeapObject > object, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
| |
| Tagged< JSObject > | extension_object () const |
| |
| Tagged< JSReceiver > | extension_receiver () const |
| |
| Tagged< SourceTextModule > | module () const |
| |
| Tagged< Context > | declaration_context () const |
| |
| bool | is_declaration_context () const |
| |
| Tagged< Context > | closure_context () const |
| |
| V8_EXPORT_PRIVATE Tagged< JSGlobalProxy > | global_proxy () const |
| |
| V8_EXPORT_PRIVATE Tagged< JSGlobalObject > | global_object () const |
| |
| Tagged< Context > | script_context () const |
| |
| Tagged< NativeContext > | native_context () const |
| |
| bool | IsDetached () const |
| |
| bool | IsFunctionContext () const |
| |
| bool | IsCatchContext () const |
| |
| bool | IsWithContext () const |
| |
| bool | IsDebugEvaluateContext () const |
| |
| bool | IsAwaitContext () const |
| |
| bool | IsBlockContext () const |
| |
| bool | IsModuleContext () const |
| |
| bool | IsEvalContext () const |
| |
| bool | IsScriptContext () const |
| |
| bool | HasSameSecurityTokenAs (Tagged< Context > that) const |
| |
| Handle< Object > | ErrorMessageForCodeGenerationFromStrings () |
| |
| DirectHandle< Object > | ErrorMessageForWasmCodeGeneration () |
| |
| Tagged< Map > | GetInitialJSArrayMap (ElementsKind kind) const |
| |
| std::optional< ContextSidePropertyCell::Property > | GetScriptContextSideProperty (size_t index) const |
| |
|
| enum | Field {
SCOPE_INFO_INDEX
, PREVIOUS_INDEX
, EXTENSION_INDEX
, NEXT_CONTEXT_LINK
,
NATIVE_CONTEXT_SLOTS
, FIRST_WEAK_SLOT = NEXT_CONTEXT_LINK
, FIRST_JS_ARRAY_MAP_SLOT = JS_ARRAY_PACKED_SMI_ELEMENTS_MAP_INDEX
, MIN_CONTEXT_SLOTS = EXTENSION_INDEX
,
MIN_CONTEXT_EXTENDED_SLOTS = EXTENSION_INDEX + 1
, THROWN_OBJECT_INDEX = MIN_CONTEXT_SLOTS
, WRAPPED_CONTEXT_INDEX = MIN_CONTEXT_EXTENDED_SLOTS
, CONTEXT_SIDE_TABLE_PROPERTY_INDEX = MIN_CONTEXT_SLOTS
} |
| |
| static V8_INLINE constexpr int | SizeFor (int length) |
| |
| static V8_INLINE constexpr int | OffsetOfElementAt (int index) |
| |
| static V8_INLINE constexpr int | SlotOffset (int index) |
| |
| static Handle< Object > | Lookup (Handle< Context > context, Handle< String > name, ContextLookupFlags flags, int *index, PropertyAttributes *attributes, InitializationFlag *init_flag, VariableMode *variable_mode, bool *is_sloppy_function_name=nullptr) |
| |
| static int | FunctionMapIndex (LanguageMode language_mode, FunctionKind kind, bool has_shared_name) |
| |
| static int | ArrayMapIndex (ElementsKind elements_kind) |
| |
| static Tagged< ContextSidePropertyCell > | GetOrCreateContextSidePropertyCell (DirectHandle< Context > context, size_t index, ContextSidePropertyCell::Property property, Isolate *isolate) |
| |
| static DirectHandle< Object > | LoadScriptContextElement (DirectHandle< Context > script_context, int index, DirectHandle< Object > new_value, Isolate *isolate) |
| |
| static void | StoreScriptContextAndUpdateSlotProperty (DirectHandle< Context > script_context, int index, DirectHandle< Object > new_value, Isolate *isolate) |
| |
| static const int | kScopeInfoOffset = kElementsOffset |
| |
| static const int | kPreviousOffset = kScopeInfoOffset + kTaggedSize |
| |
| static const int | kTodoHeaderSize = kPreviousOffset + kTaggedSize |
| |
| static const int | kExtensionOffset = kTodoHeaderSize |
| |
| static const int | kExtensionSize |
| |
| static const int | kExtendedHeaderSize = kTodoHeaderSize + kExtensionSize |
| |
| static const int | FIRST_FUNCTION_MAP_INDEX = SLOPPY_FUNCTION_MAP_INDEX |
| |
| static const int | LAST_FUNCTION_MAP_INDEX = CLASS_FUNCTION_MAP_INDEX |
| |
| static const int | FIRST_FIXED_TYPED_ARRAY_FUN_INDEX = UINT8_ARRAY_FUN_INDEX |
| |
| static const int | FIRST_RAB_GSAB_TYPED_ARRAY_MAP_INDEX |
| |
| static const int | kNoContext = 0 |
| |
| static const int | kInvalidContext = 1 |
| |
| static const int | kNotFound = -1 |
| |
Definition at line 724 of file contexts.h.