v8  7.0.276(node11.14.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 constexpr bool IsValidSmi (intptr_t value)
 

Detailed Description

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

Definition at line 224 of file v8.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kSmiShiftSize 
kSmiValueSize 

Definition at line 225 of file v8.h.

Member Function Documentation

◆ IntToSmi()

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

Definition at line 233 of file v8.h.

◆ IsValidSmi()

static V8_INLINE constexpr bool IsValidSmi ( intptr_t  value)
inlinestatic

Definition at line 236 of file v8.h.

◆ SmiShiftSize()

static int SmiShiftSize ( )
inlinestatic

Definition at line 226 of file v8.h.

References v8::internal::kSmiShiftSize.

◆ SmiToInt()

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

Definition at line 228 of file v8.h.

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

◆ SmiValueSize()

static int SmiValueSize ( )
inlinestatic

Definition at line 227 of file v8.h.

References v8::internal::kSmiValueSize.


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