![]() |
v8 11.3.244 (node 20.3.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 bool | HasHeapObjectTag (Address value) |
static V8_INLINE 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 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 487 of file v8-internal.h.
|
inlinestaticconstexpr |
Definition at line 692 of file v8-internal.h.
References Internals::kFirstJSApiObjectType, Internals::kJSObjectType, Internals::kJSSpecialApiObjectType, and Internals::kLastJSApiObjectType.
|
inlinestatic |
Definition at line 638 of file v8-internal.h.
References Internals::CheckInitializedImpl().
|
static |
Referenced by Internals::CheckInitialized().
|
inlinestatic |
Definition at line 732 of file v8-internal.h.
References v8::internal::kApiSystemPointerSize, and Internals::kIsolateEmbedderDataOffset.
Definition at line 675 of file v8-internal.h.
References Internals::kHeapObjectMapOffset, Internals::kMapInstanceTypeOffset, and Internals::ReadTaggedPointerField().
|
inlinestatic |
Definition at line 825 of file v8-internal.h.
References v8::internal::IsolateFromNeverReadOnlySpaceObject().
Definition at line 704 of file v8-internal.h.
References Internals::kNodeFlagsOffset.
Definition at line 715 of file v8-internal.h.
References Internals::kNodeFlagsOffset, and Internals::kNodeStateMask.
Definition at line 683 of file v8-internal.h.
References Internals::kOddballKindOffset, Internals::ReadTaggedSignedField(), and Internals::SmiValue().
|
inlinestatic |
Definition at line 751 of file v8-internal.h.
References Internals::GetRootSlot(), and Internals::kIsolateCageBaseOffset.
|
inlinestatic |
Definition at line 745 of file v8-internal.h.
References v8::internal::kApiSystemPointerSize, and Internals::kIsolateRootsOffset.
Referenced by Internals::GetRoot().
Definition at line 644 of file v8-internal.h.
References v8::internal::kHeapObjectTag, and v8::internal::kHeapObjectTagMask.
|
inlinestatic |
Definition at line 739 of file v8-internal.h.
References Internals::kIsolateLongTaskStatsCounterOffset.
Referenced by LongTaskStats::Reset().
Definition at line 652 of file v8-internal.h.
|
inlinestatic |
Definition at line 687 of file v8-internal.h.
References Internals::kExternalTwoByteRepresentationTag, and Internals::kStringRepresentationAndEncodingMask.
|
inlinestaticconstexpr |
Definition at line 656 of file v8-internal.h.
|
inlinestatic |
Definition at line 836 of file v8-internal.h.
References v8::internal::kExternalPointerNullTag.
|
inlinestatic |
Definition at line 788 of file v8-internal.h.
References v8::internal::kApiTaggedSize, and v8::internal::kHeapObjectTag.
|
inlinestatic |
Definition at line 804 of file v8-internal.h.
Referenced by Internals::GetInstanceType().
Definition at line 815 of file v8-internal.h.
Referenced by Internals::GetOddballKind().
|
inlinestatic |
Definition at line 725 of file v8-internal.h.
References v8::internal::kApiSystemPointerSize, and Internals::kIsolateEmbedderDataOffset.
Definition at line 648 of file v8-internal.h.
Referenced by Internals::GetOddballKind().
Definition at line 709 of file v8-internal.h.
References Internals::kNodeFlagsOffset.
Definition at line 720 of file v8-internal.h.
References Internals::kNodeFlagsOffset.
|
static |
Definition at line 536 of file v8-internal.h.
|
static |
Definition at line 521 of file v8-internal.h.
|
static |
Definition at line 538 of file v8-internal.h.
|
static |
Definition at line 522 of file v8-internal.h.
|
static |
Definition at line 619 of file v8-internal.h.
|
static |
Definition at line 506 of file v8-internal.h.
|
static |
Definition at line 511 of file v8-internal.h.
|
static |
Definition at line 507 of file v8-internal.h.
|
static |
Definition at line 596 of file v8-internal.h.
|
staticconstexpr |
Definition at line 624 of file v8-internal.h.
|
static |
Definition at line 517 of file v8-internal.h.
|
static |
Definition at line 527 of file v8-internal.h.
|
static |
Definition at line 528 of file v8-internal.h.
|
static |
Definition at line 516 of file v8-internal.h.
Referenced by Internals::IsExternalTwoByteString().
|
static |
Definition at line 595 of file v8-internal.h.
|
static |
Definition at line 610 of file v8-internal.h.
Referenced by Internals::CanHaveInternalField().
|
static |
Definition at line 605 of file v8-internal.h.
|
static |
Definition at line 505 of file v8-internal.h.
|
static |
Definition at line 607 of file v8-internal.h.
|
static |
Definition at line 498 of file v8-internal.h.
Referenced by Internals::GetInstanceType().
|
static |
Definition at line 620 of file v8-internal.h.
|
static |
Definition at line 531 of file v8-internal.h.
Referenced by Internals::GetRoot().
|
static |
Definition at line 554 of file v8-internal.h.
Referenced by Internals::GetEmbedderData(), and Internals::SetEmbedderData().
|
static |
Definition at line 548 of file v8-internal.h.
|
static |
Definition at line 544 of file v8-internal.h.
|
static |
Definition at line 546 of file v8-internal.h.
|
static |
Definition at line 550 of file v8-internal.h.
Referenced by Internals::IncrementLongTasksStatsCounter().
|
static |
Definition at line 564 of file v8-internal.h.
Referenced by Internals::GetRootSlot().
|
static |
Definition at line 532 of file v8-internal.h.
|
static |
Definition at line 552 of file v8-internal.h.
|
static |
Definition at line 504 of file v8-internal.h.
|
static |
Definition at line 609 of file v8-internal.h.
Referenced by Internals::CanHaveInternalField().
|
static |
Definition at line 608 of file v8-internal.h.
Referenced by Internals::CanHaveInternalField().
|
static |
Definition at line 611 of file v8-internal.h.
Referenced by Internals::CanHaveInternalField().
|
static |
Definition at line 523 of file v8-internal.h.
|
static |
Definition at line 499 of file v8-internal.h.
Referenced by Internals::GetInstanceType().
|
static |
Definition at line 513 of file v8-internal.h.
|
static |
Definition at line 540 of file v8-internal.h.
|
static |
Definition at line 598 of file v8-internal.h.
|
static |
Definition at line 599 of file v8-internal.h.
Referenced by Internals::GetNodeFlag(), Internals::GetNodeState(), Internals::UpdateNodeFlag(), and Internals::UpdateNodeState().
|
static |
Definition at line 601 of file v8-internal.h.
|
static |
Definition at line 600 of file v8-internal.h.
Referenced by Internals::GetNodeState().
|
static |
Definition at line 614 of file v8-internal.h.
|
static |
Definition at line 593 of file v8-internal.h.
|
static |
Definition at line 519 of file v8-internal.h.
|
static |
Definition at line 503 of file v8-internal.h.
Referenced by Internals::GetOddballKind().
|
static |
Definition at line 606 of file v8-internal.h.
|
static |
Definition at line 542 of file v8-internal.h.
|
static |
Definition at line 520 of file v8-internal.h.
|
static |
Definition at line 515 of file v8-internal.h.
|
static |
Definition at line 514 of file v8-internal.h.
Referenced by Internals::IsExternalTwoByteString().
|
static |
Definition at line 500 of file v8-internal.h.
|
static |
Definition at line 592 of file v8-internal.h.
|
static |
Definition at line 524 of file v8-internal.h.
|
static |
Definition at line 618 of file v8-internal.h.
|
static |
Definition at line 603 of file v8-internal.h.
|
static |
Definition at line 594 of file v8-internal.h.
|
static |
Definition at line 613 of file v8-internal.h.
|
static |
Definition at line 591 of file v8-internal.h.
|
static |
Definition at line 534 of file v8-internal.h.