v8  7.4.288(node12.0.0)
V8 is Google's open source JavaScript engine
SmiTagging< 4 > Struct Template Reference

#include <v8-internal.h>

Public Types

enum  { kSmiShiftSize = 0, kSmiValueSize = 31 }
 

Static Public Member Functions

static V8_INLINE int SmiToInt (const internal::Address value)
 
static V8_INLINE constexpr bool IsValidSmi (intptr_t value)
 

Detailed Description

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

Definition at line 53 of file v8-internal.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kSmiShiftSize 
kSmiValueSize 

Definition at line 54 of file v8-internal.h.

Member Function Documentation

◆ IsValidSmi()

static V8_INLINE constexpr bool IsValidSmi ( intptr_t  value)
inlinestatic

Definition at line 60 of file v8-internal.h.

◆ SmiToInt()

static V8_INLINE int SmiToInt ( const internal::Address  value)
inlinestatic

Definition at line 55 of file v8-internal.h.

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


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