|
|
static V8_EXPORT void | CheckInitializedImpl (v8::Isolate *isolate) |
| |
|
static V8_INLINE void | CheckInitialized (v8::Isolate *isolate) |
| |
|
static V8_INLINE bool | HasHeapObjectTag (const internal::Address value) |
| |
|
static V8_INLINE int | SmiValue (const internal::Address value) |
| |
|
static V8_INLINE constexpr internal::Address | IntToSmi (int value) |
| |
|
static V8_INLINE constexpr bool | IsValidSmi (intptr_t value) |
| |
|
static V8_INLINE int | GetInstanceType (const internal::Address obj) |
| |
|
static V8_INLINE int | GetOddballKind (const internal::Address obj) |
| |
|
static V8_INLINE bool | IsExternalTwoByteString (int instance_type) |
| |
|
static V8_INLINE uint8_t | GetNodeFlag (internal::Address *obj, int shift) |
| |
|
static V8_INLINE void | UpdateNodeFlag (internal::Address *obj, bool value, int shift) |
| |
|
static V8_INLINE uint8_t | GetNodeState (internal::Address *obj) |
| |
|
static V8_INLINE void | UpdateNodeState (internal::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 internal::Address * | GetRoot (v8::Isolate *isolate, int index) |
| |
|
template<typename T > |
| static V8_INLINE T | ReadRawField (internal::Address heap_object_ptr, int offset) |
| |
|
static V8_INLINE internal::Address | ReadTaggedPointerField (internal::Address heap_object_ptr, int offset) |
| |
|
static V8_INLINE internal::Address | ReadTaggedSignedField (internal::Address heap_object_ptr, int offset) |
| |
|
static V8_INLINE internal::Address | ReadTaggedAnyField (internal::Address heap_object_ptr, int offset) |
| |
|
template<typename T > |
| static V8_INLINE T | ReadEmbedderData (const v8::Context *context, int index) |
| |
|
|
static const int | kHeapObjectMapOffset = 0 |
| |
|
static const int | kMapInstanceTypeOffset = 1 * kApiTaggedSize + kApiInt32Size |
| |
| static const int | kStringResourceOffset |
| |
|
static const int | kOddballKindOffset = 4 * kApiTaggedSize + kApiDoubleSize |
| |
|
static const int | kForeignAddressOffset = kApiTaggedSize |
| |
|
static const int | kJSObjectHeaderSize = 3 * kApiTaggedSize |
| |
|
static const int | kFixedArrayHeaderSize = 2 * kApiTaggedSize |
| |
|
static const int | kEmbedderDataArrayHeaderSize = 2 * kApiTaggedSize |
| |
| static const int | kEmbedderDataSlotSize |
| |
|
static const int | kNativeContextEmbedderDataOffset = 7 * kApiTaggedSize |
| |
|
static const int | kFullStringRepresentationMask = 0x0f |
| |
|
static const int | kStringEncodingMask = 0x8 |
| |
|
static const int | kExternalTwoByteRepresentationTag = 0x02 |
| |
|
static const int | kExternalOneByteRepresentationTag = 0x0a |
| |
|
static const uint32_t | kNumIsolateDataSlots = 4 |
| |
|
static const int | kIsolateEmbedderDataOffset = 0 |
| |
| static const int | kExternalMemoryOffset |
| |
| static const int | kExternalMemoryLimitOffset |
| |
| static const int | kExternalMemoryAtLastMarkCompactOffset |
| |
| static const int | kIsolateRootsOffset |
| |
|
static const int | kUndefinedValueRootIndex = 4 |
| |
|
static const int | kTheHoleValueRootIndex = 5 |
| |
|
static const int | kNullValueRootIndex = 6 |
| |
|
static const int | kTrueValueRootIndex = 7 |
| |
|
static const int | kFalseValueRootIndex = 8 |
| |
|
static const int | kEmptyStringRootIndex = 9 |
| |
|
static const int | kNodeClassIdOffset = 1 * kApiSystemPointerSize |
| |
|
static const int | kNodeFlagsOffset = 1 * kApiSystemPointerSize + 3 |
| |
|
static const int | kNodeStateMask = 0x7 |
| |
|
static const int | kNodeStateIsWeakValue = 2 |
| |
|
static const int | kNodeStateIsPendingValue = 3 |
| |
|
static const int | kNodeStateIsNearDeathValue = 4 |
| |
|
static const int | kNodeIsIndependentShift = 3 |
| |
|
static const int | kNodeIsActiveShift = 4 |
| |
|
static const int | kFirstNonstringType = 0x40 |
| |
|
static const int | kOddballType = 0x43 |
| |
|
static const int | kForeignType = 0x47 |
| |
|
static const int | kJSSpecialApiObjectType = 0x410 |
| |
|
static const int | kJSApiObjectType = 0x420 |
| |
|
static const int | kJSObjectType = 0x421 |
| |
|
static const int | kUndefinedOddballKind = 5 |
| |
|
static const int | kNullOddballKind = 3 |
| |
|
static const int | kThrowOnError = 0 |
| |
|
static const int | kDontThrow = 1 |
| |
|
static const int | kInferShouldThrowMode = 2 |
| |
|
static constexpr int | kExternalAllocationSoftLimit = 64 * 1024 * 1024 |
| |
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.