v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::ControlBase< Value, ValidationTag > Struct Template Reference

#include <function-body-decoder-impl.h>

Inheritance diagram for v8::internal::wasm::ControlBase< Value, ValidationTag >:
Collaboration diagram for v8::internal::wasm::ControlBase< Value, ValidationTag >:

Public Member Functions

 MOVE_ONLY_NO_DEFAULT_CONSTRUCTOR (ControlBase)
 
 ControlBase (Zone *zone, ControlKind kind, uint32_t stack_depth, uint32_t init_stack_depth, const uint8_t *pc, Reachability reachability)
 
bool reachable () const
 
bool unreachable () const
 
Reachability innerReachability () const
 
bool is_if () const
 
bool is_onearmed_if () const
 
bool is_if_else () const
 
bool is_block () const
 
bool is_loop () const
 
bool is_incomplete_try () const
 
bool is_try_catch () const
 
bool is_try_catchall () const
 
bool is_try () const
 
bool is_try_table ()
 
Merge< Value > * br_merge ()
 
- Public Member Functions inherited from v8::internal::wasm::PcForErrors< ValidationTag::validate >
 PcForErrors (const uint8_t *)
 
const uint8_t * pc () const
 

Public Attributes

ControlKind kind = kControlBlock
 
Reachability reachability = kReachable
 
base::Vector< CatchCasecatch_cases
 
uint32_t stack_depth = 0
 
uint32_t init_stack_depth = 0
 
int32_t previous_catch = -1
 
Merge< Valuestart_merge
 
Merge< Valueend_merge
 
bool might_throw = false
 

Detailed Description

template<typename Value, typename ValidationTag>
struct v8::internal::wasm::ControlBase< Value, ValidationTag >

Definition at line 1209 of file function-body-decoder-impl.h.

Constructor & Destructor Documentation

◆ ControlBase()

template<typename Value , typename ValidationTag >
v8::internal::wasm::ControlBase< Value, ValidationTag >::ControlBase ( Zone * zone,
ControlKind kind,
uint32_t stack_depth,
uint32_t init_stack_depth,
const uint8_t * pc,
Reachability reachability )
inline

Definition at line 1230 of file function-body-decoder-impl.h.

Member Function Documentation

◆ br_merge()

template<typename Value , typename ValidationTag >
Merge< Value > * v8::internal::wasm::ControlBase< Value, ValidationTag >::br_merge ( )
inline

Definition at line 1267 of file function-body-decoder-impl.h.

Here is the call graph for this function:

◆ innerReachability()

template<typename Value , typename ValidationTag >
Reachability v8::internal::wasm::ControlBase< Value, ValidationTag >::innerReachability ( ) const
inline

Definition at line 1250 of file function-body-decoder-impl.h.

◆ is_block()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::is_block ( ) const
inline

Definition at line 1257 of file function-body-decoder-impl.h.

◆ is_if()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::is_if ( ) const
inline

Definition at line 1254 of file function-body-decoder-impl.h.

Here is the call graph for this function:

◆ is_if_else()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::is_if_else ( ) const
inline

Definition at line 1256 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ is_incomplete_try()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::is_incomplete_try ( ) const
inline

Definition at line 1259 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ is_loop()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::is_loop ( ) const
inline

Definition at line 1258 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ is_onearmed_if()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::is_onearmed_if ( ) const
inline

Definition at line 1255 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ is_try()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::is_try ( ) const
inline

Definition at line 1262 of file function-body-decoder-impl.h.

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

◆ is_try_catch()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::is_try_catch ( ) const
inline

Definition at line 1260 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ is_try_catchall()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::is_try_catchall ( ) const
inline

Definition at line 1261 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ is_try_table()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::is_try_table ( )
inline

Definition at line 1265 of file function-body-decoder-impl.h.

◆ MOVE_ONLY_NO_DEFAULT_CONSTRUCTOR()

template<typename Value , typename ValidationTag >
v8::internal::wasm::ControlBase< Value, ValidationTag >::MOVE_ONLY_NO_DEFAULT_CONSTRUCTOR ( ControlBase< Value, ValidationTag > )

◆ reachable()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::reachable ( ) const
inline

Definition at line 1241 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ unreachable()

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::unreachable ( ) const
inline

Definition at line 1247 of file function-body-decoder-impl.h.

Member Data Documentation

◆ catch_cases

template<typename Value , typename ValidationTag >
base::Vector<CatchCase> v8::internal::wasm::ControlBase< Value, ValidationTag >::catch_cases

Definition at line 1214 of file function-body-decoder-impl.h.

◆ end_merge

template<typename Value , typename ValidationTag >
Merge<Value> v8::internal::wasm::ControlBase< Value, ValidationTag >::end_merge

Definition at line 1224 of file function-body-decoder-impl.h.

◆ init_stack_depth

template<typename Value , typename ValidationTag >
uint32_t v8::internal::wasm::ControlBase< Value, ValidationTag >::init_stack_depth = 0

Definition at line 1217 of file function-body-decoder-impl.h.

◆ kind

template<typename Value , typename ValidationTag >
ControlKind v8::internal::wasm::ControlBase< Value, ValidationTag >::kind = kControlBlock

Definition at line 1210 of file function-body-decoder-impl.h.

◆ might_throw

template<typename Value , typename ValidationTag >
bool v8::internal::wasm::ControlBase< Value, ValidationTag >::might_throw = false

Definition at line 1226 of file function-body-decoder-impl.h.

◆ previous_catch

template<typename Value , typename ValidationTag >
int32_t v8::internal::wasm::ControlBase< Value, ValidationTag >::previous_catch = -1

Definition at line 1219 of file function-body-decoder-impl.h.

◆ reachability

template<typename Value , typename ValidationTag >
Reachability v8::internal::wasm::ControlBase< Value, ValidationTag >::reachability = kReachable

Definition at line 1211 of file function-body-decoder-impl.h.

◆ stack_depth

template<typename Value , typename ValidationTag >
uint32_t v8::internal::wasm::ControlBase< Value, ValidationTag >::stack_depth = 0

Definition at line 1216 of file function-body-decoder-impl.h.

◆ start_merge

template<typename Value , typename ValidationTag >
Merge<Value> v8::internal::wasm::ControlBase< Value, ValidationTag >::start_merge

Definition at line 1223 of file function-body-decoder-impl.h.


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