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

#include <profile-generator.h>

Collaboration diagram for v8::internal::InstructionStreamMap:

Classes

struct  CodeEntryMapInfo
 

Public Member Functions

 InstructionStreamMap (CodeEntryStorage &storage)
 
 ~InstructionStreamMap ()
 
 InstructionStreamMap (const InstructionStreamMap &)=delete
 
InstructionStreamMapoperator= (const InstructionStreamMap &)=delete
 
void AddCode (Address addr, CodeEntry *entry, unsigned size)
 
void MoveCode (Address from, Address to)
 
bool RemoveCode (CodeEntry *)
 
void ClearCodesInRange (Address start, Address end)
 
CodeEntryFindEntry (Address addr, Address *out_instruction_start=nullptr)
 
void Print ()
 
size_t size () const
 
size_t GetEstimatedMemoryUsage () const
 
CodeEntryStoragecode_entries ()
 
void Clear ()
 

Private Attributes

std::multimap< Address, CodeEntryMapInfocode_map_
 
CodeEntryStoragecode_entries_
 

Detailed Description

Definition at line 489 of file profile-generator.h.

Constructor & Destructor Documentation

◆ InstructionStreamMap() [1/2]

v8::internal::InstructionStreamMap::InstructionStreamMap ( CodeEntryStorage & storage)
explicit

Definition at line 955 of file profile-generator.cc.

◆ ~InstructionStreamMap()

v8::internal::InstructionStreamMap::~InstructionStreamMap ( )

Definition at line 958 of file profile-generator.cc.

Here is the call graph for this function:

◆ InstructionStreamMap() [2/2]

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

Member Function Documentation

◆ AddCode()

void v8::internal::InstructionStreamMap::AddCode ( Address addr,
CodeEntry * entry,
unsigned size )

Definition at line 973 of file profile-generator.cc.

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

◆ Clear()

void v8::internal::InstructionStreamMap::Clear ( )

Definition at line 960 of file profile-generator.cc.

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

◆ ClearCodesInRange()

void v8::internal::InstructionStreamMap::ClearCodesInRange ( Address start,
Address end )

Definition at line 991 of file profile-generator.cc.

Here is the call graph for this function:

◆ code_entries()

CodeEntryStorage & v8::internal::InstructionStreamMap::code_entries ( )
inline

Definition at line 510 of file profile-generator.h.

Here is the caller graph for this function:

◆ FindEntry()

CodeEntry * v8::internal::InstructionStreamMap::FindEntry ( Address addr,
Address * out_instruction_start = nullptr )

Definition at line 1004 of file profile-generator.cc.

Here is the caller graph for this function:

◆ GetEstimatedMemoryUsage()

size_t v8::internal::InstructionStreamMap::GetEstimatedMemoryUsage ( ) const

Definition at line 1050 of file profile-generator.cc.

Here is the caller graph for this function:

◆ MoveCode()

void v8::internal::InstructionStreamMap::MoveCode ( Address from,
Address to )

Definition at line 1020 of file profile-generator.cc.

Here is the caller graph for this function:

◆ operator=()

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

◆ Print()

void v8::internal::InstructionStreamMap::Print ( )

Definition at line 1043 of file profile-generator.cc.

◆ RemoveCode()

bool v8::internal::InstructionStreamMap::RemoveCode ( CodeEntry * entry)

Definition at line 979 of file profile-generator.cc.

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

◆ size()

size_t v8::internal::InstructionStreamMap::size ( ) const
inline

Definition at line 506 of file profile-generator.h.

Member Data Documentation

◆ code_entries_

CodeEntryStorage& v8::internal::InstructionStreamMap::code_entries_
private

Definition at line 521 of file profile-generator.h.

◆ code_map_

std::multimap<Address, CodeEntryMapInfo> v8::internal::InstructionStreamMap::code_map_
private

Definition at line 520 of file profile-generator.h.


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