v8
7.0.276 (node 11.14.0)
V8 is Google's open source JavaScript engine
|
Namespaces | |
wasm | |
Data Structures | |
class | CustomArguments |
struct | SmiTagging |
struct | SmiTagging< 4 > |
struct | SmiTagging< 8 > |
class | Internals |
struct | CastCheck |
Typedefs | |
typedef SmiTagging< kApiPointerSize > | PlatformSmiTagging |
Functions | |
template<int kSmiShiftSize> | |
V8_INLINE internal::Object * | IntToSmi (int value) |
constexpr bool | SmiValuesAre31Bits () |
constexpr bool | SmiValuesAre32Bits () |
template<class T > | |
V8_INLINE void | PerformCastCheck (T *data) |
Variables | |
const int | kApiPointerSize = sizeof(void*) |
const int | kApiDoubleSize = sizeof(double) |
const int | kApiIntSize = sizeof(int) |
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 SmiTagging<kApiPointerSize> PlatformSmiTagging |
V8_INLINE internal::Object* v8::internal::IntToSmi | ( | int | value | ) |
Definition at line 185 of file v8.h.
References kSmiTag, and kSmiTagSize.
Referenced by SmiTagging< 4 >::IntToSmi(), and SmiTagging< 8 >::IntToSmi().
|
constexpr |
Definition at line 255 of file v8.h.
References kSmiValueSize.
|
constexpr |
Definition at line 256 of file v8.h.
References kSmiValueSize.
const int kApiPointerSize = sizeof(void*) |
Configuration of tagging scheme.
Definition at line 165 of file v8.h.
Referenced by Object::GetAlignedPointerFromInternalField(), Internals::GetEmbedderData(), Object::GetInternalField(), Internals::GetRoot(), Internals::ReadEmbedderData(), and Internals::SetEmbedderData().
const int kHeapObjectTag = 1 |
Definition at line 171 of file v8.h.
Referenced by Internals::HasHeapObjectTag(), and Internals::ReadField().
const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1 |
Definition at line 174 of file v8.h.
Referenced by Internals::HasHeapObjectTag().
const int kSmiMaxValue = -(kSmiMinValue + 1) |
const int kSmiMinValue = (static_cast<unsigned int>(-1)) << (kSmiValueSize - 1) |
const int kSmiTag = 0 |
Definition at line 177 of file v8.h.
Referenced by IntToSmi().
const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1 |
const int kSmiTagSize = 1 |
Definition at line 178 of file v8.h.
Referenced by IntToSmi(), SmiTagging< 4 >::SmiToInt(), and SmiTagging< 8 >::SmiToInt().
const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize |
Definition at line 252 of file v8.h.
Referenced by SmiValuesAre31Bits(), and SmiValuesAre32Bits().