v8  6.2.414(node8.16.0)
V8 is Google's open source JavaScript engine
v8::internal Namespace Reference

Data Structures

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

Typedefs

typedef SmiTagging< kApiPointerSizePlatformSmiTagging
 

Functions

template<int kSmiShiftSize>
V8_INLINE internal::Object * IntToSmi (int value)
 

Variables

const int kApiPointerSize = sizeof(void*)
 
const int kApiIntSize = sizeof(int)
 
const int kApiInt64Size = sizeof(int64_t)
 
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
 

Typedef Documentation

◆ PlatformSmiTagging

Definition at line 8954 of file v8.h.

Function Documentation

◆ IntToSmi()

V8_INLINE internal::Object* v8::internal::IntToSmi ( int  value)

Variable Documentation

◆ kApiInt64Size

const int kApiInt64Size = sizeof(int64_t)

Definition at line 8884 of file v8.h.

◆ kApiIntSize

const int kApiIntSize = sizeof(int)

Definition at line 8883 of file v8.h.

◆ kApiPointerSize

◆ kHeapObjectTag

const int kHeapObjectTag = 1

Definition at line 8887 of file v8.h.

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

◆ kHeapObjectTagMask

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

Definition at line 8889 of file v8.h.

Referenced by Internals::HasHeapObjectTag().

◆ kHeapObjectTagSize

const int kHeapObjectTagSize = 2

Definition at line 8888 of file v8.h.

◆ kSmiShiftSize

const int kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize

◆ kSmiTag

const int kSmiTag = 0

Definition at line 8892 of file v8.h.

Referenced by IntToSmi().

◆ kSmiTagMask

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

Definition at line 8894 of file v8.h.

◆ kSmiTagSize

const int kSmiTagSize = 1

Definition at line 8893 of file v8.h.

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

◆ kSmiValueSize

const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize

Definition at line 8956 of file v8.h.

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