v8  3.14.5 (node 0.10.48)
V8 is Google's open source JavaScript engine
v8::internal Namespace Reference

Data Structures

struct  SmiTagging
 
struct  SmiTagging< 4 >
 
struct  SmiTagging< 8 >
 
class  Internals
 

Typedefs

typedef SmiTagging< kApiPointerSizePlatformSmiTagging
 

Variables

const int kApiPointerSize = sizeof(void*)
 
const int kApiIntSize = sizeof(int)
 
const int kHeapObjectTag = 1
 
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 uintptr_t kEncodablePointerMask
 
const int kPointerToSmiShift = PlatformSmiTagging::kPointerToSmiShift
 

Typedef Documentation

◆ PlatformSmiTagging

Definition at line 4059 of file v8.h.

Variable Documentation

◆ kApiIntSize

const int kApiIntSize = sizeof(int)

Definition at line 4006 of file v8.h.

◆ kApiPointerSize

const int kApiPointerSize = sizeof(void*)

Definition at line 4005 of file v8.h.

Referenced by Object::GetPointerFromInternalField(), and Internals::GetRoot().

◆ kEncodablePointerMask

const uintptr_t kEncodablePointerMask
Initial value:

Definition at line 4062 of file v8.h.

◆ kHeapObjectTag

const int kHeapObjectTag = 1

Definition at line 4009 of file v8.h.

Referenced by Internals::HasHeapObjectTag(), and Internals::ReadField().

◆ kHeapObjectTagMask

const intptr_t kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1

Definition at line 4011 of file v8.h.

Referenced by Internals::HasHeapObjectTag().

◆ kHeapObjectTagSize

const int kHeapObjectTagSize = 2

Definition at line 4010 of file v8.h.

◆ kPointerToSmiShift

const int kPointerToSmiShift = PlatformSmiTagging::kPointerToSmiShift

Definition at line 4064 of file v8.h.

Referenced by Internals::GetExternalPointerFromSmi().

◆ kSmiShiftSize

const int kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize

Definition at line 4060 of file v8.h.

◆ kSmiTag

const int kSmiTag = 0

Definition at line 4014 of file v8.h.

Referenced by Internals::HasSmiTag().

◆ kSmiTagMask

const intptr_t kSmiTagMask = (1 << kSmiTagSize) - 1

Definition at line 4016 of file v8.h.

Referenced by Internals::HasSmiTag().

◆ kSmiTagSize

const int kSmiTagSize = 1

Definition at line 4015 of file v8.h.

Referenced by SmiTagging< 4 >::SmiToInt(), and SmiTagging< 8 >::SmiToInt().

◆ kSmiValueSize

const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize

Definition at line 4061 of file v8.h.