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

#include <module-decoder-impl.h>

Collaboration diagram for v8::internal::wasm::WasmSectionIterator:

Public Member Functions

 WasmSectionIterator (Decoder *decoder, ITracer *tracer)
 
bool more () const
 
SectionCode section_code () const
 
const uint8_t * section_start () const
 
uint32_t section_length () const
 
base::Vector< const uint8_t > payload () const
 
const uint8_t * payload_start () const
 
uint32_t payload_length () const
 
const uint8_t * section_end () const
 
void advance (bool move_to_section_end=false)
 

Private Member Functions

void next ()
 

Private Attributes

Decoderdecoder_
 
ITracertracer_
 
SectionCode section_code_
 
const uint8_t * section_start_
 
const uint8_t * payload_start_
 
const uint8_t * section_end_
 

Detailed Description

Definition at line 161 of file module-decoder-impl.h.

Constructor & Destructor Documentation

◆ WasmSectionIterator()

v8::internal::wasm::WasmSectionIterator::WasmSectionIterator ( Decoder * decoder,
ITracer * tracer )
inlineexplicit

Definition at line 163 of file module-decoder-impl.h.

Here is the call graph for this function:

Member Function Documentation

◆ advance()

void v8::internal::wasm::WasmSectionIterator::advance ( bool move_to_section_end = false)
inline

Definition at line 196 of file module-decoder-impl.h.

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

◆ more()

bool v8::internal::wasm::WasmSectionIterator::more ( ) const
inline

Definition at line 172 of file module-decoder-impl.h.

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

◆ next()

void v8::internal::wasm::WasmSectionIterator::next ( )
inlineprivate

Definition at line 222 of file module-decoder-impl.h.

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

◆ payload()

base::Vector< const uint8_t > v8::internal::wasm::WasmSectionIterator::payload ( ) const
inline

Definition at line 182 of file module-decoder-impl.h.

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

◆ payload_length()

uint32_t v8::internal::wasm::WasmSectionIterator::payload_length ( ) const
inline

Definition at line 188 of file module-decoder-impl.h.

Here is the caller graph for this function:

◆ payload_start()

const uint8_t * v8::internal::wasm::WasmSectionIterator::payload_start ( ) const
inline

Definition at line 186 of file module-decoder-impl.h.

◆ section_code()

SectionCode v8::internal::wasm::WasmSectionIterator::section_code ( ) const
inline

Definition at line 174 of file module-decoder-impl.h.

Here is the caller graph for this function:

◆ section_end()

const uint8_t * v8::internal::wasm::WasmSectionIterator::section_end ( ) const
inline

Definition at line 192 of file module-decoder-impl.h.

◆ section_length()

uint32_t v8::internal::wasm::WasmSectionIterator::section_length ( ) const
inline

Definition at line 178 of file module-decoder-impl.h.

Here is the caller graph for this function:

◆ section_start()

const uint8_t * v8::internal::wasm::WasmSectionIterator::section_start ( ) const
inline

Definition at line 176 of file module-decoder-impl.h.

Member Data Documentation

◆ decoder_

Decoder* v8::internal::wasm::WasmSectionIterator::decoder_
private

Definition at line 213 of file module-decoder-impl.h.

◆ payload_start_

const uint8_t* v8::internal::wasm::WasmSectionIterator::payload_start_
private

Definition at line 217 of file module-decoder-impl.h.

◆ section_code_

SectionCode v8::internal::wasm::WasmSectionIterator::section_code_
private

Definition at line 215 of file module-decoder-impl.h.

◆ section_end_

const uint8_t* v8::internal::wasm::WasmSectionIterator::section_end_
private

Definition at line 218 of file module-decoder-impl.h.

◆ section_start_

const uint8_t* v8::internal::wasm::WasmSectionIterator::section_start_
private

Definition at line 216 of file module-decoder-impl.h.

◆ tracer_

ITracer* v8::internal::wasm::WasmSectionIterator::tracer_
private

Definition at line 214 of file module-decoder-impl.h.


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