v8
7.4.288(node12.0.0)
V8 is Google's open source JavaScript engine
|
Namespaces | |
wasm | |
Data Structures | |
struct | CastCheck |
class | CustomArguments |
class | Internals |
struct | SmiTagging |
struct | SmiTagging< 4 > |
struct | SmiTagging< 8 > |
Typedefs | |
typedef uintptr_t | Address |
typedef SmiTagging< kApiTaggedSize > | PlatformSmiTagging |
Functions | |
constexpr bool | SmiValuesAre31Bits () |
constexpr bool | SmiValuesAre32Bits () |
template<class T > | |
V8_INLINE void | PerformCastCheck (T *data) |
V8_EXPORT internal::Isolate * | IsolateFromNeverReadOnlySpaceObject (Address obj) |
V8_EXPORT bool | ShouldThrowOnError (v8::internal::Isolate *isolate) |
Variables | |
const int | kApiSystemPointerSize = sizeof(void*) |
const int | kApiTaggedSize = kApiSystemPointerSize |
const int | kApiDoubleSize = sizeof(double) |
const int | kApiInt32Size = sizeof(int32_t) |
const int | kApiInt64Size = sizeof(int64_t) |
const int | kHeapObjectTag = 1 |
const int | kWeakHeapObjectTag = 3 |
const int | kHeapObjectTagSize = 2 |
const intptr_t | kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1 |
const int | kSmiTag = 0 |
const int | kSmiTagSize = 1 |
const intptr_t | kSmiTagMask = (1 << kSmiTagSize) - 1 |
const int | kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize |
const int | kSmiValueSize = PlatformSmiTagging::kSmiValueSize |
const int | kSmiMinValue = (static_cast<unsigned int>(-1)) << (kSmiValueSize - 1) |
const int | kSmiMaxValue = -(kSmiMinValue + 1) |
typedef uintptr_t Address |
Definition at line 23 of file v8-internal.h.
typedef SmiTagging<kApiTaggedSize> PlatformSmiTagging |
Definition at line 100 of file v8-internal.h.
Referenced by Context::GetEmbedderData(), and Object::GetInternalField().
V8_INLINE void v8::internal::PerformCastCheck | ( | T * | data | ) |
Definition at line 366 of file v8-internal.h.
Referenced by Isolate::GetDataFromSnapshotOnce(), and Context::GetDataFromSnapshotOnce().
V8_EXPORT bool v8::internal::ShouldThrowOnError | ( | v8::internal::Isolate * | isolate | ) |
constexpr bool v8::internal::SmiValuesAre31Bits | ( | ) |
Definition at line 107 of file v8-internal.h.
References kSmiValueSize.
constexpr bool v8::internal::SmiValuesAre32Bits | ( | ) |
Definition at line 108 of file v8-internal.h.
References kSmiValueSize.
const int kApiDoubleSize = sizeof(double) |
Definition at line 33 of file v8-internal.h.
const int kApiInt32Size = sizeof(int32_t) |
Definition at line 34 of file v8-internal.h.
const int kApiInt64Size = sizeof(int64_t) |
Definition at line 35 of file v8-internal.h.
const int kApiSystemPointerSize = sizeof(void*) |
Configuration of tagging scheme.
Definition at line 31 of file v8-internal.h.
Referenced by Internals::GetEmbedderData(), Internals::GetRoot(), and Internals::SetEmbedderData().
const int kApiTaggedSize = kApiSystemPointerSize |
Definition at line 32 of file v8-internal.h.
const int kHeapObjectTag = 1 |
Definition at line 38 of file v8-internal.h.
Referenced by Internals::HasHeapObjectTag(), and Internals::ReadRawField().
const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1 |
Definition at line 41 of file v8-internal.h.
Referenced by Internals::HasHeapObjectTag().
const int kHeapObjectTagSize = 2 |
Definition at line 40 of file v8-internal.h.
const int kSmiMaxValue = -(kSmiMinValue + 1) |
Definition at line 106 of file v8-internal.h.
const int kSmiMinValue = (static_cast<unsigned int>(-1)) << (kSmiValueSize - 1) |
Definition at line 105 of file v8-internal.h.
const int kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize |
Definition at line 103 of file v8-internal.h.
Referenced by SmiTagging< 4 >::SmiToInt(), and SmiTagging< 8 >::SmiToInt().
const int kSmiTag = 0 |
Definition at line 44 of file v8-internal.h.
const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1 |
Definition at line 46 of file v8-internal.h.
Referenced by Internals::ReadTaggedAnyField().
const int kSmiTagSize = 1 |
Definition at line 45 of file v8-internal.h.
Referenced by SmiTagging< 4 >::SmiToInt(), and SmiTagging< 8 >::SmiToInt().
const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize |
Definition at line 104 of file v8-internal.h.
Referenced by SmiValuesAre31Bits(), and SmiValuesAre32Bits().
const int kWeakHeapObjectTag = 3 |
Definition at line 39 of file v8-internal.h.