V8 Project
v8::internal::ImmediateInitializer< T > Struct Template Reference

#include <assembler-arm64-inl.h>

+ Collaboration diagram for v8::internal::ImmediateInitializer< T >:

Static Public Member Functions

static RelocInfo::Mode rmode_for (T)
 
static int64_t immediate_for (T t)
 

Static Public Attributes

static const bool kIsIntType = true
 

Detailed Description

template<typename T>
struct v8::internal::ImmediateInitializer< T >

Definition at line 267 of file assembler-arm64-inl.h.

Member Function Documentation

◆ immediate_for()

template<typename T >
static int64_t v8::internal::ImmediateInitializer< T >::immediate_for ( T  t)
inlinestatic

Definition at line 272 of file assembler-arm64-inl.h.

272  {
273  STATIC_ASSERT(sizeof(T) <= 8);
274  return t;
275  }
STATIC_ASSERT(sizeof(CPURegister)==sizeof(Register))
#define T(name, string, precedence)
Definition: token.cc:25

References v8::internal::STATIC_ASSERT(), and T.

+ Here is the call graph for this function:

◆ rmode_for()

template<typename T >
static RelocInfo::Mode v8::internal::ImmediateInitializer< T >::rmode_for ( T  )
inlinestatic

Definition at line 269 of file assembler-arm64-inl.h.

269  {
270  return sizeof(T) == 8 ? RelocInfo::NONE64 : RelocInfo::NONE32;
271  }

References v8::internal::RelocInfo::NONE32, v8::internal::RelocInfo::NONE64, and T.

Member Data Documentation

◆ kIsIntType

template<typename T >
const bool v8::internal::ImmediateInitializer< T >::kIsIntType = true
static

Definition at line 268 of file assembler-arm64-inl.h.


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