v8  3.11.10 (node 0.8.28)
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 3898 of file v8.h.

Variable Documentation

◆ kApiIntSize

const int kApiIntSize = sizeof(int)

Definition at line 3845 of file v8.h.

◆ kApiPointerSize

const int kApiPointerSize = sizeof(void*)

Definition at line 3844 of file v8.h.

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

◆ kEncodablePointerMask

const uintptr_t kEncodablePointerMask
Initial value:

Definition at line 3901 of file v8.h.

◆ kHeapObjectTag

const int kHeapObjectTag = 1

Definition at line 3848 of file v8.h.

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

◆ kHeapObjectTagMask

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

Definition at line 3850 of file v8.h.

Referenced by Internals::HasHeapObjectTag().

◆ kHeapObjectTagSize

const int kHeapObjectTagSize = 2

Definition at line 3849 of file v8.h.

◆ kPointerToSmiShift

const int kPointerToSmiShift = PlatformSmiTagging::kPointerToSmiShift

Definition at line 3903 of file v8.h.

Referenced by Internals::GetExternalPointerFromSmi().

◆ kSmiShiftSize

const int kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize

Definition at line 3899 of file v8.h.

◆ kSmiTag

const int kSmiTag = 0

Definition at line 3853 of file v8.h.

Referenced by Internals::HasSmiTag().

◆ kSmiTagMask

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

Definition at line 3855 of file v8.h.

Referenced by Internals::HasSmiTag().

◆ kSmiTagSize

const int kSmiTagSize = 1

Definition at line 3854 of file v8.h.

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

◆ kSmiValueSize

const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize

Definition at line 3900 of file v8.h.