v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ConstPool Class Reference

#include <assembler-x64.h>

Collaboration diagram for v8::internal::ConstPool:

Public Member Functions

 ConstPool (Assembler *assm)
 
bool TryRecordEntry (intptr_t data, RelocInfo::Mode mode)
 
bool IsEmpty () const
 
void PatchEntries ()
 
void Clear ()
 

Private Member Functions

bool AddSharedEntry (uint64_t data, int offset)
 
bool IsMoveRipRelative (Address instr)
 

Private Attributes

Assemblerassm_
 
std::multimap< uint64_t, int > entries_
 

Static Private Attributes

static constexpr int kRipRelativeDispSize = 4
 
static constexpr int kMoveRipRelativeDispOffset
 
static constexpr int kMoveImm64Offset = 2
 
static constexpr uint32_t kMoveRipRelativeMask = 0x00C7FFFB
 
static constexpr uint32_t kMoveRipRelativeInstr = 0x00058B48
 

Detailed Description

Definition at line 445 of file assembler-x64.h.

Constructor & Destructor Documentation

◆ ConstPool()

v8::internal::ConstPool::ConstPool ( Assembler * assm)
inlineexplicit

Definition at line 447 of file assembler-x64.h.

Member Function Documentation

◆ AddSharedEntry()

bool v8::internal::ConstPool::AddSharedEntry ( uint64_t data,
int offset )
private

◆ Clear()

void v8::internal::ConstPool::Clear ( )

◆ IsEmpty()

bool v8::internal::ConstPool::IsEmpty ( ) const
inline

Definition at line 450 of file assembler-x64.h.

◆ IsMoveRipRelative()

bool v8::internal::ConstPool::IsMoveRipRelative ( Address instr)
private

◆ PatchEntries()

void v8::internal::ConstPool::PatchEntries ( )

◆ TryRecordEntry()

bool v8::internal::ConstPool::TryRecordEntry ( intptr_t data,
RelocInfo::Mode mode )

Member Data Documentation

◆ assm_

Assembler* v8::internal::ConstPool::assm_
private

Definition at line 464 of file assembler-x64.h.

◆ entries_

std::multimap<uint64_t, int> v8::internal::ConstPool::entries_
private

Definition at line 467 of file assembler-x64.h.

◆ kMoveImm64Offset

int v8::internal::ConstPool::kMoveImm64Offset = 2
staticconstexprprivate

Definition at line 477 of file assembler-x64.h.

◆ kMoveRipRelativeDispOffset

int v8::internal::ConstPool::kMoveRipRelativeDispOffset
staticconstexprprivate
Initial value:
=
3

Definition at line 473 of file assembler-x64.h.

◆ kMoveRipRelativeInstr

uint32_t v8::internal::ConstPool::kMoveRipRelativeInstr = 0x00058B48
staticconstexprprivate

Definition at line 481 of file assembler-x64.h.

◆ kMoveRipRelativeMask

uint32_t v8::internal::ConstPool::kMoveRipRelativeMask = 0x00C7FFFB
staticconstexprprivate

Definition at line 479 of file assembler-x64.h.

◆ kRipRelativeDispSize

int v8::internal::ConstPool::kRipRelativeDispSize = 4
staticconstexprprivate

Definition at line 470 of file assembler-x64.h.


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