v8  5.8.282(node8.0.0)
V8 is Google's open source JavaScript engine
SmiTagging< 8 > Struct Template Reference

#include <v8.h>

Public Types

enum  { kSmiShiftSize = 31, kSmiValueSize = 32 }
 

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< 8 >

Definition at line 8462 of file v8.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kSmiShiftSize 
kSmiValueSize 

Definition at line 8463 of file v8.h.

Member Function Documentation

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

Definition at line 8471 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 8474 of file v8.h.

Referenced by Internals::IsValidSmi().

static int SmiShiftSize ( )
inlinestatic

Definition at line 8464 of file v8.h.

References SmiTagging< 8 >::kSmiShiftSize.

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

Definition at line 8466 of file v8.h.

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

Referenced by Internals::SmiValue().

static int SmiValueSize ( )
inlinestatic

Definition at line 8465 of file v8.h.

References SmiTagging< 8 >::kSmiValueSize.


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