v8  4.1.0.27(io.js1.8.4)
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 6198 of file v8.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kSmiShiftSize 
kSmiValueSize 

Definition at line 6199 of file v8.h.

Member Function Documentation

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

Definition at line 6207 of file v8.h.

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

static V8_INLINE bool IsValidSmi ( intptr_t  value)
inlinestatic

Definition at line 6210 of file v8.h.

static int SmiShiftSize ( )
inlinestatic

Definition at line 6200 of file v8.h.

References SmiTagging< 4 >::kSmiShiftSize.

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

Definition at line 6202 of file v8.h.

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

static int SmiValueSize ( )
inlinestatic

Definition at line 6201 of file v8.h.

References SmiTagging< 4 >::kSmiValueSize.


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