v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <v8-internal.h>
Static Public Member Functions | |
static V8_EXPORT void | CheckInitializedImpl (v8::Isolate *isolate) |
static V8_INLINE void | CheckInitialized (v8::Isolate *isolate) |
static V8_INLINE constexpr bool | HasHeapObjectTag (Address value) |
static V8_INLINE constexpr int | SmiValue (Address value) |
static V8_INLINE constexpr Address | IntToSmi (int value) |
static V8_INLINE constexpr bool | IsValidSmi (intptr_t value) |
static V8_INLINE int | GetInstanceType (Address obj) |
static V8_INLINE Address | LoadMap (Address obj) |
static V8_INLINE int | GetOddballKind (Address obj) |
static V8_INLINE bool | IsExternalTwoByteString (int instance_type) |
static V8_INLINE constexpr bool | CanHaveInternalField (int instance_type) |
static V8_INLINE uint8_t | GetNodeFlag (Address *obj, int shift) |
static V8_INLINE void | UpdateNodeFlag (Address *obj, bool value, int shift) |
static V8_INLINE uint8_t | GetNodeState (Address *obj) |
static V8_INLINE void | UpdateNodeState (Address *obj, uint8_t value) |
static V8_INLINE void | SetEmbedderData (v8::Isolate *isolate, uint32_t slot, void *data) |
static V8_INLINE void * | GetEmbedderData (const v8::Isolate *isolate, uint32_t slot) |
static V8_INLINE void | IncrementLongTasksStatsCounter (v8::Isolate *isolate) |
static V8_INLINE Address * | GetRootSlot (v8::Isolate *isolate, int index) |
static V8_INLINE Address | GetRoot (v8::Isolate *isolate, int index) |
template<typename T > | |
static V8_INLINE T | ReadRawField (Address heap_object_ptr, int offset) |
static V8_INLINE Address | ReadTaggedPointerField (Address heap_object_ptr, int offset) |
static V8_INLINE Address | ReadTaggedSignedField (Address heap_object_ptr, int offset) |
static V8_INLINE v8::Isolate * | GetIsolateForSandbox (Address obj) |
template<ExternalPointerTag tag> | |
static V8_INLINE Address | ReadExternalPointerField (v8::Isolate *isolate, Address heap_object_ptr, int offset) |
This class exports constants and functionality from within v8 that is necessary to implement inline functions in the v8 api. Don't depend on functions and constants defined here.
Definition at line 632 of file v8-internal.h.
|
inlinestaticconstexpr |
Definition at line 888 of file v8-internal.h.
References Internals::kFirstJSApiObjectType, Internals::kJSObjectType, Internals::kJSSpecialApiObjectType, and Internals::kLastJSApiObjectType.
|
inlinestatic |
Definition at line 825 of file v8-internal.h.
References Internals::CheckInitializedImpl().
|
static |
Referenced by Internals::CheckInitialized().
|
inlinestatic |
Definition at line 928 of file v8-internal.h.
References v8::internal::kApiSystemPointerSize, and Internals::kIsolateEmbedderDataOffset.
Definition at line 862 of file v8-internal.h.
References Internals::kHeapObjectMapOffset, Internals::kMapInstanceTypeOffset, and Internals::ReadTaggedPointerField().
|
inlinestatic |
Definition at line 1021 of file v8-internal.h.
References v8::internal::IsolateFromNeverReadOnlySpaceObject().
Definition at line 900 of file v8-internal.h.
References Internals::kNodeFlagsOffset.
Definition at line 911 of file v8-internal.h.
References Internals::kNodeFlagsOffset, and Internals::kNodeStateMask.
Definition at line 879 of file v8-internal.h.
References Internals::kOddballKindOffset, Internals::ReadTaggedSignedField(), and Internals::SmiValue().
|
inlinestatic |
Definition at line 947 of file v8-internal.h.
References Internals::GetRootSlot(), and Internals::kIsolateCageBaseOffset.
|
inlinestatic |
Definition at line 941 of file v8-internal.h.
References v8::internal::kApiSystemPointerSize, and Internals::kIsolateRootsOffset.
Referenced by Internals::GetRoot().
Definition at line 831 of file v8-internal.h.
References v8::internal::kHeapObjectTag, and v8::internal::kHeapObjectTagMask.
Referenced by Internals::LoadMap().
|
inlinestatic |
Definition at line 935 of file v8-internal.h.
References Internals::kIsolateLongTaskStatsCounterOffset.
Referenced by LongTaskStats::Reset().
Definition at line 839 of file v8-internal.h.
|
inlinestatic |
Definition at line 883 of file v8-internal.h.
References Internals::kExternalTwoByteRepresentationTag, and Internals::kStringRepresentationAndEncodingMask.
|
inlinestaticconstexpr |
Definition at line 843 of file v8-internal.h.
Definition at line 870 of file v8-internal.h.
References Internals::HasHeapObjectTag(), Internals::kHeapObjectMapOffset, and Internals::ReadTaggedPointerField().
Referenced by TypecheckWitness::Matches().
|
inlinestatic |
Definition at line 1032 of file v8-internal.h.
References v8::internal::kExternalPointerNullTag.
|
inlinestatic |
Definition at line 984 of file v8-internal.h.
References v8::internal::kApiTaggedSize, and v8::internal::kHeapObjectTag.
|
inlinestatic |
Definition at line 1000 of file v8-internal.h.
Referenced by Internals::GetInstanceType(), and Internals::LoadMap().
Definition at line 1011 of file v8-internal.h.
Referenced by Internals::GetOddballKind().
|
inlinestatic |
Definition at line 921 of file v8-internal.h.
References v8::internal::kApiSystemPointerSize, and Internals::kIsolateEmbedderDataOffset.
Definition at line 835 of file v8-internal.h.
Referenced by Internals::GetOddballKind().
Definition at line 905 of file v8-internal.h.
References Internals::kNodeFlagsOffset.
Definition at line 916 of file v8-internal.h.
References Internals::kNodeFlagsOffset.
|
static |
Definition at line 690 of file v8-internal.h.
|
static |
Definition at line 669 of file v8-internal.h.
|
static |
Definition at line 693 of file v8-internal.h.
|
static |
Definition at line 670 of file v8-internal.h.
|
static |
Definition at line 737 of file v8-internal.h.
|
static |
Definition at line 806 of file v8-internal.h.
|
static |
Definition at line 651 of file v8-internal.h.
|
static |
Definition at line 656 of file v8-internal.h.
|
static |
Definition at line 652 of file v8-internal.h.
|
static |
Definition at line 780 of file v8-internal.h.
|
static |
Definition at line 688 of file v8-internal.h.
|
static |
Definition at line 667 of file v8-internal.h.
|
staticconstexpr |
Definition at line 811 of file v8-internal.h.
|
static |
Definition at line 662 of file v8-internal.h.
|
static |
Definition at line 677 of file v8-internal.h.
|
static |
Definition at line 678 of file v8-internal.h.
|
static |
Definition at line 661 of file v8-internal.h.
Referenced by Internals::IsExternalTwoByteString().
|
static |
Definition at line 779 of file v8-internal.h.
|
static |
Definition at line 700 of file v8-internal.h.
|
static |
Definition at line 796 of file v8-internal.h.
|
static |
Definition at line 792 of file v8-internal.h.
Referenced by Internals::CanHaveInternalField().
|
static |
Definition at line 787 of file v8-internal.h.
|
static |
Definition at line 650 of file v8-internal.h.
|
static |
Definition at line 789 of file v8-internal.h.
|
static |
Definition at line 673 of file v8-internal.h.
|
static |
Definition at line 643 of file v8-internal.h.
Referenced by Internals::GetInstanceType(), and Internals::LoadMap().
|
static |
Definition at line 807 of file v8-internal.h.
|
static |
Definition at line 734 of file v8-internal.h.
|
static |
Definition at line 683 of file v8-internal.h.
Referenced by Internals::GetRoot().
|
static |
Definition at line 715 of file v8-internal.h.
Referenced by Internals::GetEmbedderData(), and Internals::SetEmbedderData().
|
static |
Definition at line 707 of file v8-internal.h.
|
static |
Definition at line 702 of file v8-internal.h.
|
static |
Definition at line 705 of file v8-internal.h.
|
static |
Definition at line 713 of file v8-internal.h.
|
static |
Definition at line 709 of file v8-internal.h.
Referenced by Internals::IncrementLongTasksStatsCounter().
|
static |
Definition at line 744 of file v8-internal.h.
Referenced by Internals::GetRootSlot().
|
static |
Definition at line 684 of file v8-internal.h.
|
static |
Definition at line 711 of file v8-internal.h.
|
static |
Definition at line 649 of file v8-internal.h.
|
static |
Definition at line 791 of file v8-internal.h.
Referenced by Internals::CanHaveInternalField().
|
static |
Definition at line 790 of file v8-internal.h.
Referenced by Internals::CanHaveInternalField().
|
static |
Definition at line 797 of file v8-internal.h.
|
static |
Definition at line 793 of file v8-internal.h.
Referenced by Internals::CanHaveInternalField().
|
static |
Definition at line 671 of file v8-internal.h.
|
static |
Definition at line 644 of file v8-internal.h.
Referenced by Internals::GetInstanceType().
|
static |
Definition at line 658 of file v8-internal.h.
|
static |
Definition at line 695 of file v8-internal.h.
|
static |
Definition at line 782 of file v8-internal.h.
|
static |
Definition at line 783 of file v8-internal.h.
Referenced by Internals::GetNodeFlag(), Internals::GetNodeState(), Internals::UpdateNodeFlag(), and Internals::UpdateNodeState().
|
static |
Definition at line 785 of file v8-internal.h.
|
static |
Definition at line 784 of file v8-internal.h.
Referenced by Internals::GetNodeState().
|
static |
Definition at line 801 of file v8-internal.h.
|
static |
Definition at line 777 of file v8-internal.h.
|
static |
Definition at line 666 of file v8-internal.h.
|
static |
Definition at line 664 of file v8-internal.h.
|
static |
Definition at line 648 of file v8-internal.h.
Referenced by Internals::GetOddballKind().
|
static |
Definition at line 788 of file v8-internal.h.
|
static |
Definition at line 697 of file v8-internal.h.
|
static |
Definition at line 665 of file v8-internal.h.
|
static |
Definition at line 660 of file v8-internal.h.
|
static |
Definition at line 659 of file v8-internal.h.
Referenced by Internals::IsExternalTwoByteString().
|
static |
Definition at line 645 of file v8-internal.h.
|
static |
Definition at line 668 of file v8-internal.h.
|
static |
Definition at line 776 of file v8-internal.h.
|
static |
Definition at line 672 of file v8-internal.h.
|
static |
Definition at line 805 of file v8-internal.h.
|
static |
Definition at line 778 of file v8-internal.h.
|
static |
Definition at line 680 of file v8-internal.h.
|
static |
Definition at line 679 of file v8-internal.h.
|
static |
Definition at line 800 of file v8-internal.h.
|
static |
Definition at line 775 of file v8-internal.h.
|
static |
Definition at line 686 of file v8-internal.h.
|
static |
Definition at line 740 of file v8-internal.h.
|
static |
Definition at line 741 of file v8-internal.h.