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

#include <reloc-info.h>

Collaboration diagram for v8::internal::RelocInfoWriter:

Public Member Functions

 RelocInfoWriter ()
 
 RelocInfoWriter (const RelocInfoWriter &)=delete
 
RelocInfoWriteroperator= (const RelocInfoWriter &)=delete
 
uint8_t * pos () const
 
uint8_t * last_pc () const
 
void Write (const RelocInfo *rinfo)
 
void Reposition (uint8_t *pos, uint8_t *pc)
 

Static Public Attributes

static constexpr int kMaxSize = 1 + 4 + 1 + 1 + kSystemPointerSize
 

Private Member Functions

uint32_t WriteLongPCJump (uint32_t pc_delta)
 
void WriteShortTaggedPC (uint32_t pc_delta, int tag)
 
void WriteShortData (uint8_t data_delta)
 
void WriteMode (RelocInfo::Mode rmode)
 
void WriteModeAndPC (uint32_t pc_delta, RelocInfo::Mode rmode)
 
void WriteIntData (int data_delta)
 

Private Attributes

uint8_t * pos_
 
uint8_t * last_pc_
 

Detailed Description

Definition at line 467 of file reloc-info.h.

Constructor & Destructor Documentation

◆ RelocInfoWriter() [1/2]

v8::internal::RelocInfoWriter::RelocInfoWriter ( )
inline

Definition at line 469 of file reloc-info.h.

◆ RelocInfoWriter() [2/2]

v8::internal::RelocInfoWriter::RelocInfoWriter ( const RelocInfoWriter & )
delete

Member Function Documentation

◆ last_pc()

uint8_t * v8::internal::RelocInfoWriter::last_pc ( ) const
inline

Definition at line 475 of file reloc-info.h.

Here is the caller graph for this function:

◆ operator=()

RelocInfoWriter & v8::internal::RelocInfoWriter::operator= ( const RelocInfoWriter & )
delete

◆ pos()

uint8_t * v8::internal::RelocInfoWriter::pos ( ) const
inline

Definition at line 474 of file reloc-info.h.

Here is the caller graph for this function:

◆ Reposition()

void v8::internal::RelocInfoWriter::Reposition ( uint8_t * pos,
uint8_t * pc )
inline

Definition at line 481 of file reloc-info.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Write()

void v8::internal::RelocInfoWriter::Write ( const RelocInfo * rinfo)

Definition at line 67 of file reloc-info.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteIntData()

void v8::internal::RelocInfoWriter::WriteIntData ( int data_delta)
inlineprivate

Definition at line 59 of file reloc-info.cc.

Here is the caller graph for this function:

◆ WriteLongPCJump()

uint32_t v8::internal::RelocInfoWriter::WriteLongPCJump ( uint32_t pc_delta)
inlineprivate

Definition at line 24 of file reloc-info.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteMode()

void v8::internal::RelocInfoWriter::WriteMode ( RelocInfo::Mode rmode)
inlineprivate

Definition at line 47 of file reloc-info.cc.

Here is the caller graph for this function:

◆ WriteModeAndPC()

void v8::internal::RelocInfoWriter::WriteModeAndPC ( uint32_t pc_delta,
RelocInfo::Mode rmode )
inlineprivate

Definition at line 52 of file reloc-info.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteShortData()

void v8::internal::RelocInfoWriter::WriteShortData ( uint8_t data_delta)
inlineprivate

Definition at line 43 of file reloc-info.cc.

Here is the caller graph for this function:

◆ WriteShortTaggedPC()

void v8::internal::RelocInfoWriter::WriteShortTaggedPC ( uint32_t pc_delta,
int tag )
inlineprivate

Definition at line 37 of file reloc-info.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ kMaxSize

int v8::internal::RelocInfoWriter::kMaxSize = 1 + 4 + 1 + 1 + kSystemPointerSize
staticconstexpr

Definition at line 488 of file reloc-info.h.

◆ last_pc_

uint8_t* v8::internal::RelocInfoWriter::last_pc_
private

Definition at line 501 of file reloc-info.h.

◆ pos_

uint8_t* v8::internal::RelocInfoWriter::pos_
private

Definition at line 500 of file reloc-info.h.


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