v8  6.7.288(node10.6.0)
V8 is Google's open source JavaScript engine
v8::internal Namespace Reference

Namespaces

 wasm
 

Data Structures

struct  CastCheck
 
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)
 
template<class T >
V8_INLINE void PerformCastCheck (T *data)
 

Variables

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

Typedef Documentation

Definition at line 9000 of file v8.h.

Function Documentation

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

Definition at line 8945 of file v8.h.

References kSmiTag, and kSmiTagSize.

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

V8_INLINE void v8::internal::PerformCastCheck ( T *  data)

Definition at line 9190 of file v8.h.

Variable Documentation

const int kApiInt64Size = sizeof(int64_t)

Definition at line 8929 of file v8.h.

const int kApiIntSize = sizeof(int)

Definition at line 8928 of file v8.h.

const int kHeapObjectTag = 1

Definition at line 8932 of file v8.h.

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

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

Definition at line 8935 of file v8.h.

Referenced by Internals::HasHeapObjectTag().

const int kHeapObjectTagSize = 2

Definition at line 8934 of file v8.h.

const int kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize

Definition at line 9001 of file v8.h.

const int kSmiTag = 0

Definition at line 8938 of file v8.h.

Referenced by IntToSmi().

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

Definition at line 8940 of file v8.h.

const int kSmiTagSize = 1

Definition at line 8939 of file v8.h.

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

const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize

Definition at line 9002 of file v8.h.

const int kWeakHeapObjectTag = 3

Definition at line 8933 of file v8.h.