v8
6.8.275 (node 10.15.3)
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 183 of file v8.h.
References kSmiTag, and kSmiTagSize.
Referenced by SmiTagging< 4 >::IntToSmi(), and SmiTagging< 8 >::IntToSmi().
|
constexpr |
Definition at line 245 of file v8.h.
References kSmiValueSize.
|
constexpr |
Definition at line 246 of file v8.h.
References kSmiValueSize.
const int kApiPointerSize = sizeof(void*) |
Configuration of tagging scheme.
Definition at line 163 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 169 of file v8.h.
Referenced by Internals::HasHeapObjectTag(), and Internals::ReadField().
const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1 |
Definition at line 172 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 175 of file v8.h.
Referenced by IntToSmi().
const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1 |
const int kSmiTagSize = 1 |
Definition at line 176 of file v8.h.
Referenced by IntToSmi(), SmiTagging< 4 >::SmiToInt(), and SmiTagging< 8 >::SmiToInt().
const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize |
Definition at line 242 of file v8.h.
Referenced by SmiValuesAre31Bits(), and SmiValuesAre32Bits().