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

#include <function-body-decoder.h>

Inheritance diagram for v8::internal::wasm::BytecodeIterator:
Collaboration diagram for v8::internal::wasm::BytecodeIterator:

Classes

class  iterator_base
 
class  offset_iterator
 
class  opcode_iterator
 

Public Member Functions

 BytecodeIterator (const uint8_t *start, const uint8_t *end)
 
 BytecodeIterator (const uint8_t *start, const uint8_t *end, BodyLocalDecls *decls, Zone *zone)
 
base::iterator_range< opcode_iteratoropcodes () const
 
base::iterator_range< offset_iteratoroffsets () const
 
WasmOpcode current ()
 
void next ()
 
bool has_next () const
 
WasmOpcode prefixed_opcode ()
 
const uint8_t * pc () const
 

Detailed Description

Definition at line 85 of file function-body-decoder.h.

Constructor & Destructor Documentation

◆ BytecodeIterator() [1/2]

v8::internal::wasm::BytecodeIterator::BytecodeIterator ( const uint8_t * start,
const uint8_t * end )

Definition at line 59 of file function-body-decoder.cc.

◆ BytecodeIterator() [2/2]

v8::internal::wasm::BytecodeIterator::BytecodeIterator ( const uint8_t * start,
const uint8_t * end,
BodyLocalDecls * decls,
Zone * zone )

Definition at line 62 of file function-body-decoder.cc.

Here is the call graph for this function:

Member Function Documentation

◆ current()

WasmOpcode v8::internal::wasm::BytecodeIterator::current ( )
inline

Definition at line 158 of file function-body-decoder.h.

Here is the caller graph for this function:

◆ has_next()

bool v8::internal::wasm::BytecodeIterator::has_next ( ) const
inline

Definition at line 170 of file function-body-decoder.h.

Here is the caller graph for this function:

◆ next()

void v8::internal::wasm::BytecodeIterator::next ( )
inline

Definition at line 163 of file function-body-decoder.h.

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

◆ offsets()

base::iterator_range< offset_iterator > v8::internal::wasm::BytecodeIterator::offsets ( ) const
inline

Definition at line 152 of file function-body-decoder.h.

◆ opcodes()

base::iterator_range< opcode_iterator > v8::internal::wasm::BytecodeIterator::opcodes ( ) const
inline

Definition at line 147 of file function-body-decoder.h.

◆ pc()

const uint8_t * v8::internal::wasm::BytecodeIterator::pc ( ) const
inline

Definition at line 177 of file function-body-decoder.h.

◆ prefixed_opcode()

WasmOpcode v8::internal::wasm::BytecodeIterator::prefixed_opcode ( )
inline

Definition at line 172 of file function-body-decoder.h.


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