v8  3.28.71(node0.12.18)
V8 is Google's open source JavaScript engine
SmiTagging< 4 > Struct Template Reference

#include <v8.h>

Static Public Member Functions

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)
 

Static Public Attributes

static const int kSmiShiftSize = 0
 
static const int kSmiValueSize = 31
 

Detailed Description

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

Definition at line 5526 of file v8.h.

Member Function Documentation

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

Definition at line 5534 of file v8.h.

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

static V8_INLINE bool IsValidSmi ( intptr_t  value)
inlinestatic

Definition at line 5537 of file v8.h.

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

Definition at line 5529 of file v8.h.

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

Field Documentation

const int kSmiShiftSize = 0
static

Definition at line 5527 of file v8.h.

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

const int kSmiValueSize = 31
static

Definition at line 5528 of file v8.h.


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