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

#include <debug.h>

Collaboration diagram for v8::internal::DebugInfoCollection:

Classes

class  Iterator
 

Public Member Functions

 DebugInfoCollection (Isolate *isolate)
 
void Insert (Tagged< SharedFunctionInfo > sfi, Tagged< DebugInfo > debug_info)
 
bool Contains (Tagged< SharedFunctionInfo > sfi) const
 
std::optional< Tagged< DebugInfo > > Find (Tagged< SharedFunctionInfo > sfi) const
 
void DeleteSlow (Tagged< SharedFunctionInfo > sfi)
 
size_t Size () const
 

Private Types

using HandleLocation = Address*
 
using SFIUniqueId = uint32_t
 

Private Member Functions

V8_EXPORT_PRIVATE Tagged< DebugInfoEntryAsDebugInfo (size_t index) const
 
void DeleteIndex (size_t index)
 

Private Attributes

Isolate *const isolate_
 
std::vector< HandleLocationlist_
 
std::unordered_map< SFIUniqueId, HandleLocationmap_
 

Detailed Description

Definition at line 186 of file debug.h.

Member Typedef Documentation

◆ HandleLocation

Definition at line 187 of file debug.h.

◆ SFIUniqueId

Definition at line 188 of file debug.h.

Constructor & Destructor Documentation

◆ DebugInfoCollection()

v8::internal::DebugInfoCollection::DebugInfoCollection ( Isolate * isolate)
inlineexplicit

Definition at line 191 of file debug.h.

Member Function Documentation

◆ Contains()

bool v8::internal::DebugInfoCollection::Contains ( Tagged< SharedFunctionInfo > sfi) const

Definition at line 562 of file debug.cc.

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

◆ DeleteIndex()

void v8::internal::DebugInfoCollection::DeleteIndex ( size_t index)
private

Definition at line 594 of file debug.cc.

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

◆ DeleteSlow()

void v8::internal::DebugInfoCollection::DeleteSlow ( Tagged< SharedFunctionInfo > sfi)

Definition at line 578 of file debug.cc.

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

◆ EntryAsDebugInfo()

Tagged< DebugInfo > v8::internal::DebugInfoCollection::EntryAsDebugInfo ( size_t index) const
private

Definition at line 589 of file debug.cc.

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

◆ Find()

std::optional< Tagged< DebugInfo > > v8::internal::DebugInfoCollection::Find ( Tagged< SharedFunctionInfo > sfi) const

Definition at line 569 of file debug.cc.

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

◆ Insert()

void v8::internal::DebugInfoCollection::Insert ( Tagged< SharedFunctionInfo > sfi,
Tagged< DebugInfo > debug_info )

Definition at line 547 of file debug.cc.

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

◆ Size()

size_t v8::internal::DebugInfoCollection::Size ( ) const
inline

Definition at line 200 of file debug.h.

Member Data Documentation

◆ isolate_

Isolate* const v8::internal::DebugInfoCollection::isolate_
private

Definition at line 239 of file debug.h.

◆ list_

std::vector<HandleLocation> v8::internal::DebugInfoCollection::list_
private

Definition at line 240 of file debug.h.

◆ map_

std::unordered_map<SFIUniqueId, HandleLocation> v8::internal::DebugInfoCollection::map_
private

Definition at line 241 of file debug.h.


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