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

#include <turbofan-graph-visualizer.h>

Collaboration diagram for v8::internal::compiler::SourceIdAssigner:

Public Member Functions

 SourceIdAssigner (size_t size)
 
int GetIdFor (Handle< SharedFunctionInfo > shared)
 
int GetIdAt (size_t pos) const
 

Private Attributes

std::vector< Handle< SharedFunctionInfo > > printed_
 
std::vector< int > source_ids_
 

Detailed Description

Definition at line 114 of file turbofan-graph-visualizer.h.

Constructor & Destructor Documentation

◆ SourceIdAssigner()

v8::internal::compiler::SourceIdAssigner::SourceIdAssigner ( size_t size)
inlineexplicit

Definition at line 116 of file turbofan-graph-visualizer.h.

Member Function Documentation

◆ GetIdAt()

int v8::internal::compiler::SourceIdAssigner::GetIdAt ( size_t pos) const
inline

Definition at line 121 of file turbofan-graph-visualizer.h.

Here is the caller graph for this function:

◆ GetIdFor()

int v8::internal::compiler::SourceIdAssigner::GetIdFor ( Handle< SharedFunctionInfo > shared)

Definition at line 150 of file turbofan-graph-visualizer.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ printed_

std::vector<Handle<SharedFunctionInfo> > v8::internal::compiler::SourceIdAssigner::printed_
private

Definition at line 124 of file turbofan-graph-visualizer.h.

◆ source_ids_

std::vector<int> v8::internal::compiler::SourceIdAssigner::source_ids_
private

Definition at line 125 of file turbofan-graph-visualizer.h.


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