|
| PtrComprCageBase | code_cage_base () const |
| |
| Tagged< InstructionStream > | unchecked_instruction_stream () const |
| |
| bool | has_instruction_stream () const |
| |
| bool | has_instruction_stream (RelaxedLoadTag) const |
| |
| Address | instruction_end () const |
| |
| CodeEntrypointTag | entrypoint_tag () const |
| |
| void | SetInstructionStreamAndInstructionStart (IsolateForSandbox isolate, Tagged< InstructionStream > code, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
| |
| void | SetInstructionStartForOffHeapBuiltin (IsolateForSandbox isolate, Address entry) |
| |
| void | ClearInstructionStartForSerialization (IsolateForSandbox isolate) |
| |
| void | UpdateInstructionStart (IsolateForSandbox isolate, Tagged< InstructionStream > istream) |
| |
| void | initialize_flags (CodeKind kind, bool is_context_specialized, bool is_turbofanned) |
| |
| void | clear_padding () |
| |
| void | FlushICache () const |
| |
| uint16_t | parameter_count_without_receiver () const |
| |
| bool | uses_deoptimization_data () const |
| |
| void | clear_deoptimization_data_and_interpreter_data () |
| |
| bool | has_deoptimization_data_or_interpreter_data () const |
| |
| Tagged< TrustedObject > | bytecode_or_interpreter_data () const |
| |
| void | set_bytecode_or_interpreter_data (Tagged< TrustedObject > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
| |
| bool | has_source_position_table_or_bytecode_offset_table () const |
| |
| bool | has_source_position_table () const |
| |
| bool | has_bytecode_offset_table () const |
| |
| void | clear_source_position_table_and_bytecode_offset_table () |
| |
| Tagged< ProtectedFixedArray > | unchecked_deoptimization_data () const |
| |
| CodeKind | kind () const |
| |
| void | set_builtin_id (Builtin builtin_id) |
| |
| Builtin | builtin_id () const |
| |
| bool | is_builtin () const |
| |
| bool | is_optimized_code () const |
| |
| bool | is_wasm_code () const |
| |
| bool | is_interpreter_trampoline_builtin () const |
| |
| bool | is_baseline_trampoline_builtin () const |
| |
| bool | is_baseline_leave_frame_builtin () const |
| |
| bool | checks_tiering_state () const |
| |
| bool | has_tagged_outgoing_params () const |
| |
| bool | is_maglevved () const |
| |
| bool | is_turbofanned () const |
| |
| bool | is_context_specialized () const |
| |
| bool | uses_safepoint_table () const |
| |
| uint32_t | stack_slots () const |
| |
| Tagged< TrustedByteArray > | SourcePositionTable (Isolate *isolate, Tagged< SharedFunctionInfo > sfi) const |
| |
| int | SourcePosition (int offset) const |
| |
| int | SourceStatementPosition (int offset) const |
| |
| Address | safepoint_table_address () const |
| |
| int | safepoint_table_size () const |
| |
| bool | has_safepoint_table () const |
| |
| Address | handler_table_address () const |
| |
| int | handler_table_size () const |
| |
| bool | has_handler_table () const |
| |
| Address | constant_pool () const |
| |
| int | constant_pool_size () const |
| |
| bool | has_constant_pool () const |
| |
| Address | code_comments () const |
| |
| int | code_comments_size () const |
| |
| bool | has_code_comments () const |
| |
| Address | builtin_jump_table_info () const |
| |
| int | builtin_jump_table_info_size () const |
| |
| bool | has_builtin_jump_table_info () const |
| |
| Address | unwinding_info_start () const |
| |
| Address | unwinding_info_end () const |
| |
| int | unwinding_info_size () const |
| |
| bool | has_unwinding_info () const |
| |
| uint8_t * | relocation_start () const |
| |
| uint8_t * | relocation_end () const |
| |
| int | relocation_size () const |
| |
| int | safepoint_table_offset () const |
| |
| Address | body_start () const |
| |
| Address | body_end () const |
| |
| int | body_size () const |
| |
| Address | metadata_start () const |
| |
| Address | metadata_end () const |
| |
| int | InstructionStreamObjectSize () const |
| |
| int | SizeIncludingMetadata () const |
| |
| Address | InstructionStart (Isolate *isolate, Address pc) const |
| |
| Address | InstructionEnd (Isolate *isolate, Address pc) const |
| |
| bool | contains (Isolate *isolate, Address pc) const |
| |
| int | GetOffsetFromInstructionStart (Isolate *isolate, Address pc) const |
| |
| SafepointEntry | GetSafepointEntry (Isolate *isolate, Address pc) |
| |
| MaglevSafepointEntry | GetMaglevSafepointEntry (Isolate *isolate, Address pc) |
| |
| void | SetMarkedForDeoptimization (Isolate *isolate, LazyDeoptimizeReason reason) |
| |
| void | TraceMarkForDeoptimization (Isolate *isolate, LazyDeoptimizeReason reason) |
| |
| bool | CanContainWeakObjects () |
| |
| bool | IsWeakObject (Tagged< HeapObject > object) |
| |
| void | ClearEmbeddedObjectsAndJSDispatchHandles (Heap *heap) |
| |
| bool | embedded_objects_cleared () const |
| |
| void | set_embedded_objects_cleared (bool flag) |
| |
| bool | IsIsolateIndependent (Isolate *isolate) |
| |
| uintptr_t | GetBaselineStartPCForBytecodeOffset (int bytecode_offset, Tagged< BytecodeArray > bytecodes) |
| |
| uintptr_t | GetBaselineEndPCForBytecodeOffset (int bytecode_offset, Tagged< BytecodeArray > bytecodes) |
| |
| bool | Inlines (Tagged< SharedFunctionInfo > sfi) |
| |
| uintptr_t | GetBaselinePCForNextExecutedBytecode (int bytecode_offset, Tagged< BytecodeArray > bytecodes) |
| |
| int | GetBytecodeOffsetForBaselinePC (Address baseline_pc, Tagged< BytecodeArray > bytecodes) |
| |
| void | IterateDeoptimizationLiterals (RootVisitor *v) |
| |
| | DEFINE_FIELD_OFFSET_CONSTANTS (ExposedTrustedObject::kHeaderSize, CODE_DATA_FIELDS) template< typename T > using ExternalCodeField |
| |
| void | init_self_indirect_pointer (Isolate *isolate) |
| |
| void | init_self_indirect_pointer (LocalIsolate *isolate) |
| |
| IndirectPointerHandle | self_indirect_pointer_handle () const |
| |
| | OBJECT_CONSTRUCTORS (ExposedTrustedObject, TrustedObject) |
| |
| Tagged< TrustedObject > | ReadProtectedPointerField (int offset) const |
| |
| Tagged< TrustedObject > | ReadProtectedPointerField (int offset, AcquireLoadTag) const |
| |
| void | WriteProtectedPointerField (int offset, Tagged< TrustedObject > value) |
| |
| void | WriteProtectedPointerField (int offset, Tagged< TrustedObject > value, ReleaseStoreTag) |
| |
| bool | IsProtectedPointerFieldEmpty (int offset) const |
| |
| bool | IsProtectedPointerFieldEmpty (int offset, AcquireLoadTag) const |
| |
| void | ClearProtectedPointerField (int offset) |
| |
| void | ClearProtectedPointerField (int offset, ReleaseStoreTag) |
| |
| ProtectedPointerSlot | RawProtectedPointerField (int byte_offset) const |
| |
| ProtectedMaybeObjectSlot | RawProtectedMaybeObjectField (int byte_offset) const |
| |
| | OBJECT_CONSTRUCTORS (TrustedObject, HeapObject) |
| |
| constexpr | HeapObject ()=default |
| |
| void | set_map (Isolate *isolate, Tagged< Map > value) |
| |
| template<typename IsolateT > |
| void | set_map_safe_transition (IsolateT *isolate, Tagged< Map > value) |
| |
| ObjectSlot | map_slot () const |
| |
| void | set_map_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore) |
| |
| void | set_map_no_write_barrier (Isolate *isolate, Tagged< Map > value, ReleaseStoreTag) |
| |
| void | set_map_safe_transition_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore) |
| |
| void | set_map_safe_transition_no_write_barrier (Isolate *isolate, Tagged< Map > value, ReleaseStoreTag) |
| |
| template<typename IsolateT > |
| void | set_map (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag) |
| |
| template<typename IsolateT > |
| void | set_map_safe_transition (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag) |
| |
| bool | release_compare_and_swap_map_word_forwarded (MapWord old_map_word, Tagged< HeapObject > new_target_object) |
| |
| bool | relaxed_compare_and_swap_map_word_forwarded (MapWord old_map_word, Tagged< HeapObject > new_target_object) |
| |
| template<typename IsolateT > |
| void | set_map_after_allocation (IsolateT *isolate, Tagged< Map > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
| |
| void | set_map_word (Tagged< Map > map, RelaxedStoreTag) |
| |
| void | set_map_word_forwarded (Tagged< HeapObject > target_object, RelaxedStoreTag) |
| |
| void | set_map_word (Tagged< Map > map, ReleaseStoreTag) |
| |
| void | set_map_word_forwarded (Tagged< HeapObject > target_object, ReleaseStoreTag) |
| |
| ReadOnlyRoots | EarlyGetReadOnlyRoots () const |
| |
| Address | address () const |
| |
| V8_EXPORT_PRIVATE int | SizeFromMap (Tagged< Map > map) const |
| |
template<class T >
requires (std::is_arithmetic_v<T> || std::is_enum_v<T> || std::is_pointer_v<T>) |
| T | ReadField (size_t offset) const |
| |
template<class T >
requires (std::is_arithmetic_v<T> || std::is_enum_v<T> || std::is_pointer_v<T>) |
| void | WriteField (size_t offset, T value) const |
| |
template<class T >
requires ((std::is_arithmetic_v<T> || std::is_enum_v<T>) && !std::is_floating_point_v<T>) |
| T | Relaxed_ReadField (size_t offset) const |
| |
template<class T >
requires ((std::is_arithmetic_v<T> || std::is_enum_v<T>) && !std::is_floating_point_v<T>) |
| void | Relaxed_WriteField (size_t offset, T value) |
| |
template<class T >
requires ((std::is_arithmetic_v<T> || std::is_enum_v<T>) && !std::is_floating_point_v<T>) |
| T | Acquire_ReadField (size_t offset) const |
| |
| Address | ReadSandboxedPointerField (size_t offset, PtrComprCageBase cage_base) const |
| |
| void | WriteSandboxedPointerField (size_t offset, PtrComprCageBase cage_base, Address value) |
| |
| void | WriteSandboxedPointerField (size_t offset, Isolate *isolate, Address value) |
| |
| size_t | ReadBoundedSizeField (size_t offset) const |
| |
| void | WriteBoundedSizeField (size_t offset, size_t value) |
| |
| template<ExternalPointerTag tag> |
| void | InitExternalPointerField (size_t offset, IsolateForSandbox isolate, Address value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
| |
| template<ExternalPointerTagRange tag_range> |
| Address | ReadExternalPointerField (size_t offset, IsolateForSandbox isolate) const |
| |
| template<CppHeapPointerTag lower_bound, CppHeapPointerTag upper_bound> |
| Address | ReadCppHeapPointerField (size_t offset, IsolateForPointerCompression isolate) const |
| |
| Address | ReadCppHeapPointerField (size_t offset, IsolateForPointerCompression isolate, CppHeapPointerTagRange tag_range) const |
| |
| template<ExternalPointerTag tag> |
| void | WriteExternalPointerField (size_t offset, IsolateForSandbox isolate, Address value) |
| |
| void | SetupLazilyInitializedExternalPointerField (size_t offset) |
| |
| bool | IsLazilyInitializedExternalPointerFieldInitialized (size_t offset) const |
| |
| template<ExternalPointerTag tag> |
| void | WriteLazilyInitializedExternalPointerField (size_t offset, IsolateForSandbox isolate, Address value) |
| |
| void | SetupLazilyInitializedCppHeapPointerField (size_t offset) |
| |
| template<CppHeapPointerTag tag> |
| void | WriteLazilyInitializedCppHeapPointerField (size_t offset, IsolateForPointerCompression isolate, Address value) |
| |
| void | WriteLazilyInitializedCppHeapPointerField (size_t offset, IsolateForPointerCompression isolate, Address value, CppHeapPointerTag tag) |
| |
| template<IndirectPointerTag tag> |
| Tagged< ExposedTrustedObject > | ReadTrustedPointerField (size_t offset, IsolateForSandbox isolate) const |
| |
| template<IndirectPointerTag tag> |
| Tagged< ExposedTrustedObject > | ReadTrustedPointerField (size_t offset, IsolateForSandbox isolate, AcquireLoadTag) const |
| |
| template<IndirectPointerTag tag> |
| Tagged< Object > | ReadMaybeEmptyTrustedPointerField (size_t offset, IsolateForSandbox isolate, AcquireLoadTag) const |
| |
| template<IndirectPointerTag tag> |
| void | WriteTrustedPointerField (size_t offset, Tagged< ExposedTrustedObject > value) |
| |
| bool | IsTrustedPointerFieldEmpty (size_t offset) const |
| |
| bool | IsTrustedPointerFieldUnpublished (size_t offset, IndirectPointerTag tag, IsolateForSandbox isolate) const |
| |
| void | ClearTrustedPointerField (size_t offest) |
| |
| void | ClearTrustedPointerField (size_t offest, ReleaseStoreTag) |
| |
| Tagged< Code > | ReadCodePointerField (size_t offset, IsolateForSandbox isolate) const |
| |
| void | WriteCodePointerField (size_t offset, Tagged< Code > value) |
| |
| bool | IsCodePointerFieldEmpty (size_t offset) const |
| |
| void | ClearCodePointerField (size_t offest) |
| |
| Address | ReadCodeEntrypointViaCodePointerField (size_t offset, CodeEntrypointTag tag) const |
| |
| void | WriteCodeEntrypointViaCodePointerField (size_t offset, Address value, CodeEntrypointTag tag) |
| |
| ObjectSlot | RawField (int byte_offset) const |
| |
| MaybeObjectSlot | RawMaybeWeakField (int byte_offset) const |
| |
| InstructionStreamSlot | RawInstructionStreamField (int byte_offset) const |
| |
| ExternalPointerSlot | RawExternalPointerField (int byte_offset, ExternalPointerTagRange tag_range) const |
| |
| CppHeapPointerSlot | RawCppHeapPointerField (int byte_offset) const |
| |
| IndirectPointerSlot | RawIndirectPointerField (int byte_offset, IndirectPointerTag tag) const |
| |
| WriteBarrierMode | GetWriteBarrierMode (const DisallowGarbageCollection &promise) |
| |
| void | HeapObjectShortPrint (std::ostream &os) |
| |
| void | Print () |
| |
| bool | CheckRequiredAlignment (PtrComprCageBase cage_base) const |
| |
| bool | NeedsRehashing (InstanceType instance_type) const |
| |
| bool | NeedsRehashing (PtrComprCageBase cage_base) const |
| |
| bool | CanBeRehashed (PtrComprCageBase cage_base) const |
| |
| template<typename IsolateT > |
| void | RehashBasedOnMap (IsolateT *isolate) |
| |
| Address | GetFieldAddress (int field_offset) const |
| |
| HeapObject * | operator-> () |
| |
| const HeapObject * | operator-> () const |
| |
| template<HeapObject::EmitWriteBarrier emit_write_barrier, typename MemoryOrder , typename IsolateT > |
| void | set_map (IsolateT *isolate, Tagged< Map > value, MemoryOrder order, VerificationMode mode) |
| |
| V8_INLINE constexpr | TaggedImpl () |
| |
| V8_INLINE constexpr | TaggedImpl (Address ptr) |
| |
| | operator bool () const=delete |
| |
| constexpr bool | operator== (TaggedImpl< kOtherRefType, U > other) const |
| |
| constexpr bool | operator!= (TaggedImpl< kOtherRefType, U > other) const |
| |
| constexpr bool | SafeEquals (TaggedImpl< kOtherRefType, Address > other) const |
| |
| constexpr bool | operator< (TaggedImpl other) const |
| |
| V8_INLINE constexpr Address | ptr () const |
| |
| constexpr bool | IsObject () const |
| |
| constexpr bool | IsSmi () const |
| |
| bool | ToSmi (Tagged< Smi > *value) const |
| |
| Tagged< Smi > | ToSmi () const |
| |
| constexpr bool | IsHeapObject () const |
| |
| constexpr bool | IsCleared () const |
| |
| constexpr bool | IsStrongOrWeak () const |
| |
| constexpr bool | IsStrong () const |
| |
| constexpr bool | IsStrongOrSmi () const |
| |
| constexpr bool | IsWeak () const |
| |
| constexpr bool | IsWeakOrCleared () const |
| |
| bool | GetHeapObjectIfStrong (Tagged< HeapObject > *result) const |
| |
| bool | GetHeapObjectIfStrong (Isolate *isolate, Tagged< HeapObject > *result) const |
| |
| Tagged< HeapObject > | GetHeapObjectAssumeStrong () const |
| |
| Tagged< HeapObject > | GetHeapObjectAssumeStrong (Isolate *isolate) const |
| |
| bool | GetHeapObjectIfWeak (Tagged< HeapObject > *result) const |
| |
| bool | GetHeapObjectIfWeak (Isolate *isolate, Tagged< HeapObject > *result) const |
| |
| Tagged< HeapObject > | GetHeapObjectAssumeWeak () const |
| |
| Tagged< HeapObject > | GetHeapObjectAssumeWeak (Isolate *isolate) const |
| |
| bool | GetHeapObject (Tagged< HeapObject > *result) const |
| |
| bool | GetHeapObject (Isolate *isolate, Tagged< HeapObject > *result) const |
| |
| bool | GetHeapObject (Tagged< HeapObject > *result, HeapObjectReferenceType *reference_type) const |
| |
| bool | GetHeapObject (Isolate *isolate, Tagged< HeapObject > *result, HeapObjectReferenceType *reference_type) const |
| |
| Tagged< HeapObject > | GetHeapObject () const |
| |
| Tagged< HeapObject > | GetHeapObject (Isolate *isolate) const |
| |
| Tagged< Object > | GetHeapObjectOrSmi () const |
| |
| Tagged< Object > | GetHeapObjectOrSmi (Isolate *isolate) const |
| |
| Tagged< T > | cast () const |
| |
Definition at line 63 of file code.h.