v8  5.1.281(node6.10.3)
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 7250 of file v8.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kSmiShiftSize 
kSmiValueSize 

Definition at line 7251 of file v8.h.

Member Function Documentation

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

Definition at line 7259 of file v8.h.

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

static V8_INLINE bool IsValidSmi ( intptr_t  value)
inlinestatic

Definition at line 7262 of file v8.h.

static int SmiShiftSize ( )
inlinestatic

Definition at line 7252 of file v8.h.

References SmiTagging< 4 >::kSmiShiftSize.

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

Definition at line 7254 of file v8.h.

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

static int SmiValueSize ( )
inlinestatic

Definition at line 7253 of file v8.h.

References SmiTagging< 4 >::kSmiValueSize.


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