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

#include <code-comments.h>

Collaboration diagram for v8::internal::CodeCommentsWriter:

Public Member Functions

V8_EXPORT_PRIVATE void Add (uint32_t pc_offset, std::string comment)
 
void Emit (Assembler *assm)
 
size_t entry_count () const
 
uint32_t section_size () const
 

Private Attributes

uint32_t byte_count_ = 0
 
std::vector< CodeCommentEntrycomments_
 

Detailed Description

Definition at line 36 of file code-comments.h.

Member Function Documentation

◆ Add()

void v8::internal::CodeCommentsWriter::Add ( uint32_t pc_offset,
std::string comment )

Definition at line 79 of file code-comments.cc.

Here is the call graph for this function:

◆ Emit()

void v8::internal::CodeCommentsWriter::Emit ( Assembler * assm)

Definition at line 66 of file code-comments.cc.

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

◆ entry_count()

size_t v8::internal::CodeCommentsWriter::entry_count ( ) const

Definition at line 85 of file code-comments.cc.

Here is the caller graph for this function:

◆ section_size()

uint32_t v8::internal::CodeCommentsWriter::section_size ( ) const

Definition at line 86 of file code-comments.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ byte_count_

uint32_t v8::internal::CodeCommentsWriter::byte_count_ = 0
private

Definition at line 44 of file code-comments.h.

◆ comments_

std::vector<CodeCommentEntry> v8::internal::CodeCommentsWriter::comments_
private

Definition at line 45 of file code-comments.h.


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