![]() |
v8 13.6.233 (node 24.1.0)
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 | AddressToSmi (Address value) |
static V8_INLINE constexpr Address | IntToSmi (int value) |
template<typename T, typename std::enable_if_t< std::is_integral_v< T > > * = nullptr> | |
static V8_INLINE constexpr Address | IntegralToSmi (T value) |
template<typename T, typename std::enable_if_t< std::is_integral_v< T > > * = nullptr> | |
static V8_INLINE constexpr bool | IsValidSmi (T value) |
template<typename T, typename std::enable_if_t< std::is_integral_v< T > > * = nullptr> | |
static constexpr std::optional< Address > | TryIntegralToSmi (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<ExternalPointerTagRange tag_range> | |
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 829 of file v8-internal.h.
Definition at line 1055 of file v8-internal.h.
References v8::internal::kSmiTag, v8::internal::kSmiTagSize, and V8_INLINE.
Referenced by IntegralToSmi(), IntToSmi(), and TryIntegralToSmi().
|
inlinestaticconstexpr |
Definition at line 1126 of file v8-internal.h.
References kFirstJSApiObjectType, kJSObjectType, kJSSpecialApiObjectType, kLastJSApiObjectType, and V8_INLINE.
|
inlinestatic |
Definition at line 1041 of file v8-internal.h.
References CheckInitializedImpl(), and V8_INLINE.
|
static |
References V8_EXPORT.
Referenced by CheckInitialized().
|
inlinestatic |
Definition at line 1166 of file v8-internal.h.
References v8::internal::kApiSystemPointerSize, kIsolateEmbedderDataOffset, and V8_INLINE.
Definition at line 1100 of file v8-internal.h.
References kHeapObjectMapOffset, kMapInstanceTypeOffset, ReadRawField(), ReadTaggedPointerField(), and V8_INLINE.
|
inlinestatic |
Definition at line 1259 of file v8-internal.h.
References v8::internal::IsolateFromNeverReadOnlySpaceObject(), and V8_INLINE.
Definition at line 1138 of file v8-internal.h.
References kNodeFlagsOffset, and V8_INLINE.
Definition at line 1149 of file v8-internal.h.
References kNodeFlagsOffset, kNodeStateMask, and V8_INLINE.
Definition at line 1117 of file v8-internal.h.
References kOddballKindOffset, ReadTaggedSignedField(), SmiValue(), and V8_INLINE.
|
inlinestatic |
Definition at line 1185 of file v8-internal.h.
References GetRootSlot(), kIsolateCageBaseOffset, and V8_INLINE.
|
inlinestatic |
Definition at line 1179 of file v8-internal.h.
References v8::internal::kApiSystemPointerSize, kIsolateRootsOffset, and V8_INLINE.
Referenced by GetRoot().
Definition at line 1047 of file v8-internal.h.
References v8::internal::kHeapObjectTag, v8::internal::kHeapObjectTagMask, and V8_INLINE.
Referenced by LoadMap().
|
inlinestatic |
Definition at line 1173 of file v8-internal.h.
References kIsolateLongTaskStatsCounterOffset, and V8_INLINE.
Referenced by LongTaskStats::Reset().
|
inlinestaticconstexpr |
Definition at line 1066 of file v8-internal.h.
References AddressToSmi(), and V8_INLINE.
Definition at line 1060 of file v8-internal.h.
References AddressToSmi(), and V8_INLINE.
|
inlinestatic |
Definition at line 1121 of file v8-internal.h.
References kExternalTwoByteRepresentationTag, kStringRepresentationAndEncodingMask, and V8_INLINE.
|
inlinestaticconstexpr |
Definition at line 1072 of file v8-internal.h.
References V8_INLINE.
Definition at line 1108 of file v8-internal.h.
References HasHeapObjectTag(), kHeapObjectMapOffset, ReadTaggedPointerField(), and V8_INLINE.
Referenced by TypecheckWitness::Matches().
|
inlinestatic |
Definition at line 1270 of file v8-internal.h.
References v8::internal::kExternalPointerPayloadMask, v8::internal::kExternalPointerTagMask, v8::internal::kExternalPointerTagShift, ReadRawField(), V8_INLINE, and V8_LIKELY.
|
inlinestatic |
Definition at line 1222 of file v8-internal.h.
References v8::internal::kApiTaggedSize, v8::internal::kHeapObjectTag, and V8_INLINE.
Referenced by GetInstanceType(), ReadExternalPointerField(), ReadTaggedPointerField(), and ReadTaggedSignedField().
|
inlinestatic |
Definition at line 1238 of file v8-internal.h.
References ReadRawField(), and V8_INLINE.
Referenced by GetInstanceType(), and LoadMap().
Definition at line 1249 of file v8-internal.h.
References ReadRawField(), and V8_INLINE.
Referenced by GetOddballKind().
|
inlinestatic |
Definition at line 1159 of file v8-internal.h.
References v8::internal::kApiSystemPointerSize, kIsolateEmbedderDataOffset, and V8_INLINE.
Definition at line 1051 of file v8-internal.h.
References V8_INLINE.
Referenced by GetOddballKind().
|
inlinestaticconstexpr |
Definition at line 1078 of file v8-internal.h.
References AddressToSmi(), and V8_LIKELY.
Referenced by ReturnValue< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::Set(), and ReturnValue< T >::Set().
Definition at line 1143 of file v8-internal.h.
References kNodeFlagsOffset, and V8_INLINE.
Definition at line 1154 of file v8-internal.h.
References kNodeFlagsOffset, kNodeStateMask, and V8_INLINE.
|
static |
Definition at line 895 of file v8-internal.h.
|
static |
Definition at line 874 of file v8-internal.h.
|
static |
Definition at line 898 of file v8-internal.h.
|
static |
Definition at line 875 of file v8-internal.h.
|
static |
Definition at line 953 of file v8-internal.h.
|
static |
Definition at line 959 of file v8-internal.h.
|
static |
Definition at line 960 of file v8-internal.h.
|
static |
Definition at line 1021 of file v8-internal.h.
|
static |
Definition at line 855 of file v8-internal.h.
|
static |
Definition at line 860 of file v8-internal.h.
|
static |
Definition at line 856 of file v8-internal.h.
|
static |
Definition at line 996 of file v8-internal.h.
|
static |
Definition at line 893 of file v8-internal.h.
|
static |
Definition at line 871 of file v8-internal.h.
|
staticconstexpr |
Definition at line 1027 of file v8-internal.h.
|
static |
Definition at line 866 of file v8-internal.h.
|
static |
Definition at line 882 of file v8-internal.h.
|
static |
Definition at line 883 of file v8-internal.h.
|
static |
Definition at line 865 of file v8-internal.h.
Referenced by IsExternalTwoByteString().
|
static |
Definition at line 995 of file v8-internal.h.
|
static |
Definition at line 905 of file v8-internal.h.
|
static |
Definition at line 1012 of file v8-internal.h.
|
static |
Definition at line 1008 of file v8-internal.h.
Referenced by CanHaveInternalField().
|
static |
Definition at line 1003 of file v8-internal.h.
|
static |
Definition at line 854 of file v8-internal.h.
|
static |
Definition at line 1005 of file v8-internal.h.
|
static |
Definition at line 878 of file v8-internal.h.
|
static |
Definition at line 840 of file v8-internal.h.
Referenced by GetInstanceType(), and LoadMap().
|
static |
Definition at line 1023 of file v8-internal.h.
|
static |
Definition at line 948 of file v8-internal.h.
|
static |
Definition at line 888 of file v8-internal.h.
Referenced by GetRoot().
|
static |
Definition at line 921 of file v8-internal.h.
Referenced by GetEmbedderData(), and SetEmbedderData().
|
static |
Definition at line 913 of file v8-internal.h.
|
static |
Definition at line 911 of file v8-internal.h.
|
static |
Definition at line 908 of file v8-internal.h.
|
static |
Definition at line 919 of file v8-internal.h.
|
static |
Definition at line 915 of file v8-internal.h.
Referenced by IncrementLongTasksStatsCounter().
|
static |
Definition at line 951 of file v8-internal.h.
|
static |
Definition at line 955 of file v8-internal.h.
Referenced by GetRootSlot().
|
static |
Definition at line 889 of file v8-internal.h.
|
static |
Definition at line 917 of file v8-internal.h.
|
static |
Definition at line 851 of file v8-internal.h.
|
static |
Definition at line 846 of file v8-internal.h.
Referenced by Object::Unwrap(), Object::Unwrap(), Object::Unwrap(), Object::Unwrap(), Object::Unwrap(), and Object::Unwrap().
|
static |
Definition at line 1007 of file v8-internal.h.
Referenced by CanHaveInternalField().
|
static |
Definition at line 1006 of file v8-internal.h.
Referenced by CanHaveInternalField().
|
static |
Definition at line 1013 of file v8-internal.h.
|
static |
Definition at line 1009 of file v8-internal.h.
Referenced by CanHaveInternalField().
|
static |
Definition at line 876 of file v8-internal.h.
|
static |
Definition at line 841 of file v8-internal.h.
Referenced by GetInstanceType().
|
static |
Definition at line 862 of file v8-internal.h.
|
static |
Definition at line 900 of file v8-internal.h.
|
static |
Definition at line 998 of file v8-internal.h.
|
static |
Definition at line 999 of file v8-internal.h.
Referenced by GetNodeFlag(), GetNodeState(), UpdateNodeFlag(), and UpdateNodeState().
|
static |
Definition at line 1001 of file v8-internal.h.
|
static |
Definition at line 1000 of file v8-internal.h.
Referenced by GetNodeState(), and UpdateNodeState().
|
static |
Definition at line 1017 of file v8-internal.h.
|
static |
Definition at line 993 of file v8-internal.h.
|
static |
Definition at line 870 of file v8-internal.h.
|
static |
Definition at line 868 of file v8-internal.h.
|
static |
Definition at line 845 of file v8-internal.h.
Referenced by GetOddballKind().
|
static |
Definition at line 1004 of file v8-internal.h.
|
static |
Definition at line 902 of file v8-internal.h.
|
static |
Definition at line 873 of file v8-internal.h.
|
static |
Definition at line 869 of file v8-internal.h.
|
static |
Definition at line 864 of file v8-internal.h.
|
static |
Definition at line 863 of file v8-internal.h.
Referenced by IsExternalTwoByteString().
|
static |
Definition at line 842 of file v8-internal.h.
|
static |
Definition at line 872 of file v8-internal.h.
|
static |
Definition at line 992 of file v8-internal.h.
|
static |
Definition at line 877 of file v8-internal.h.
|
static |
Definition at line 1022 of file v8-internal.h.
|
static |
Definition at line 994 of file v8-internal.h.
|
static |
Definition at line 885 of file v8-internal.h.
|
static |
Definition at line 884 of file v8-internal.h.
|
static |
Definition at line 1016 of file v8-internal.h.
|
static |
Definition at line 991 of file v8-internal.h.
|
static |
Definition at line 891 of file v8-internal.h.