v8  5.8.282(node8.0.0)
V8 is Google's open source JavaScript engine
SmiTagging< 4 > Struct Template Reference

#include <v8.h>

Public Types

enum  { kSmiShiftSize = 0, kSmiValueSize = 31 }
 

Static Public Member Functions

static int SmiShiftSize ()
 
static int SmiValueSize ()
 
static V8_INLINE int SmiToInt (const internal::Object *value)
 
static V8_INLINE internal::Object * IntToSmi (int value)
 
static V8_INLINE bool IsValidSmi (intptr_t value)
 

Detailed Description

template<>
struct v8::internal::SmiTagging< 4 >

Definition at line 8433 of file v8.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kSmiShiftSize 
kSmiValueSize 

Definition at line 8434 of file v8.h.

Member Function Documentation

static V8_INLINE internal::Object* IntToSmi ( int  value)
inlinestatic

Definition at line 8442 of file v8.h.

References v8::internal::IntToSmi(), and SmiTagging< 4 >::kSmiShiftSize.

static V8_INLINE bool IsValidSmi ( intptr_t  value)
inlinestatic

Definition at line 8445 of file v8.h.

static int SmiShiftSize ( )
inlinestatic

Definition at line 8435 of file v8.h.

References SmiTagging< 4 >::kSmiShiftSize.

static V8_INLINE int SmiToInt ( const internal::Object *  value)
inlinestatic

Definition at line 8437 of file v8.h.

References SmiTagging< 4 >::kSmiShiftSize, and v8::internal::kSmiTagSize.

static int SmiValueSize ( )
inlinestatic

Definition at line 8436 of file v8.h.

References SmiTagging< 4 >::kSmiValueSize.


The documentation for this struct was generated from the following file: