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

Classes

struct  Entry
 

Public Types

typedef std::vector< uint32_t > Stack
 

Public Member Functions

void push_back (const uint32_t &value)
 
void pop_back ()
 
Stack::reference back ()
 
Stack::const_reference back () const
 
Stack::reference operator[] (Stack::size_type pos)
 
Stack::const_reference operator[] (Stack::size_type pos) const
 
size_t size () const
 
bool empty () const
 
void reserve (Stack::size_type new_cap)
 
void resize (Stack::size_type count)
 
void clear_history ()
 
void rollback ()
 

Private Types

enum  EntryKind { Push , Pop }
 

Private Attributes

Stack stack_
 
std::vector< Entryhistory_
 

Detailed Description

Definition at line 2003 of file wasm-interpreter.h.

Member Typedef Documentation

◆ Stack

Member Enumeration Documentation

◆ EntryKind

Enumerator
Push 
Pop 

Definition at line 2040 of file wasm-interpreter.h.

Member Function Documentation

◆ back() [1/2]

Stack::reference v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::back ( )
inline

Definition at line 2014 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ back() [2/2]

Stack::const_reference v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::back ( ) const
inline

Definition at line 2015 of file wasm-interpreter.h.

◆ clear_history()

void v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::clear_history ( )
inline

Definition at line 2025 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ empty()

bool v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::empty ( ) const
inline

Definition at line 2021 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ operator[]() [1/2]

Stack::reference v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::operator[] ( Stack::size_type pos)
inline

Definition at line 2016 of file wasm-interpreter.h.

◆ operator[]() [2/2]

Stack::const_reference v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::operator[] ( Stack::size_type pos) const
inline

Definition at line 2017 of file wasm-interpreter.h.

◆ pop_back()

void v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::pop_back ( )
inline

Definition at line 2010 of file wasm-interpreter.h.

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

◆ push_back()

void v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::push_back ( const uint32_t & value)
inline

Definition at line 2006 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ reserve()

void v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::reserve ( Stack::size_type new_cap)
inline

Definition at line 2022 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ resize()

void v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::resize ( Stack::size_type count)
inline

Definition at line 2023 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ rollback()

void v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::rollback ( )
inline

Definition at line 2026 of file wasm-interpreter.h.

Here is the caller graph for this function:

◆ size()

size_t v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::size ( ) const
inline

Definition at line 2020 of file wasm-interpreter.h.

Here is the caller graph for this function:

Member Data Documentation

◆ history_

std::vector<Entry> v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::history_
private

Definition at line 2046 of file wasm-interpreter.h.

◆ stack_

Stack v8::internal::wasm::WasmBytecodeGenerator::RollbackStack::stack_
private

Definition at line 2045 of file wasm-interpreter.h.


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