v8  3.28.71(node0.12.18)
V8 is Google's open source JavaScript engine
SmiTagging< 8 > 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 = 31
 
static const int kSmiValueSize = 32
 

Detailed Description

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

Definition at line 5554 of file v8.h.

Member Function Documentation

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

Definition at line 5562 of file v8.h.

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

Referenced by Internals::IntToSmi().

static V8_INLINE bool IsValidSmi ( intptr_t  value)
inlinestatic

Definition at line 5565 of file v8.h.

Referenced by Internals::IsValidSmi().

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

Definition at line 5557 of file v8.h.

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

Referenced by Internals::SmiValue().

Field Documentation

const int kSmiShiftSize = 31
static

Definition at line 5555 of file v8.h.

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

const int kSmiValueSize = 32
static

Definition at line 5556 of file v8.h.


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