v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SmiTagging< 4 > Struct Template Reference

#include <v8.h>

Static Public Member Functions

static V8_INLINE int SmiToInt (internal::Object *value)
 
static V8_INLINE internal::ObjectIntToSmi (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 5493 of file v8.h.

Member Function Documentation

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

Definition at line 5501 of file v8.h.

static V8_INLINE bool IsValidSmi ( intptr_t  value)
inlinestatic

Definition at line 5504 of file v8.h.

References v8::internal::U.

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

Definition at line 5496 of file v8.h.

References v8::internal::kSmiShiftSize, and v8::internal::kSmiTagSize.

Field Documentation

const int kSmiShiftSize = 0
static

Definition at line 5494 of file v8.h.

const int kSmiValueSize = 31
static

Definition at line 5495 of file v8.h.


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