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

#include <graph-assembler.h>

Collaboration diagram for v8::internal::compiler::JSGraphAssembler::CatchScope:

Public Member Functions

 ~CatchScope ()
 
bool has_handler () const
 
bool is_outermost () const
 
CatchScopeparent () const
 
void set_has_handler (bool v)
 
void set_gasm (JSGraphAssembler *v)
 
bool has_exceptional_control_flow () const
 
void RegisterIfExceptionNode (Node *if_exception)
 
void MergeExceptionalPaths (TNode< Object > *exception_out, Effect *effect_out, Control *control_out)
 

Static Public Member Functions

static CatchScope Outermost (Zone *zone)
 
static CatchScope Inner (Zone *zone, JSGraphAssembler *gasm)
 

Private Member Functions

 CatchScope (Zone *zone)
 
 CatchScope (Zone *zone, JSGraphAssembler *gasm)
 

Private Attributes

JSGraphAssemblergasm_ = nullptr
 
CatchScope *const parent_ = nullptr
 
bool has_handler_ = false
 
NodeVector if_exception_nodes_
 

Detailed Description

Definition at line 1123 of file graph-assembler.h.

Constructor & Destructor Documentation

◆ CatchScope() [1/2]

v8::internal::compiler::JSGraphAssembler::CatchScope::CatchScope ( Zone * zone)
inlineexplicitprivate

Definition at line 1126 of file graph-assembler.h.

◆ CatchScope() [2/2]

v8::internal::compiler::JSGraphAssembler::CatchScope::CatchScope ( Zone * zone,
JSGraphAssembler * gasm )
inlineprivate

Definition at line 1129 of file graph-assembler.h.

◆ ~CatchScope()

v8::internal::compiler::JSGraphAssembler::CatchScope::~CatchScope ( )
inline

Definition at line 1139 of file graph-assembler.h.

Member Function Documentation

◆ has_exceptional_control_flow()

bool v8::internal::compiler::JSGraphAssembler::CatchScope::has_exceptional_control_flow ( ) const
inline

Definition at line 1162 of file graph-assembler.h.

◆ has_handler()

bool v8::internal::compiler::JSGraphAssembler::CatchScope::has_handler ( ) const
inline

Definition at line 1146 of file graph-assembler.h.

◆ Inner()

static CatchScope v8::internal::compiler::JSGraphAssembler::CatchScope::Inner ( Zone * zone,
JSGraphAssembler * gasm )
inlinestatic

Definition at line 1142 of file graph-assembler.h.

◆ is_outermost()

bool v8::internal::compiler::JSGraphAssembler::CatchScope::is_outermost ( ) const
inline

Definition at line 1147 of file graph-assembler.h.

◆ MergeExceptionalPaths()

void v8::internal::compiler::JSGraphAssembler::CatchScope::MergeExceptionalPaths ( TNode< Object > * exception_out,
Effect * effect_out,
Control * control_out )
inline

Definition at line 1171 of file graph-assembler.h.

Here is the caller graph for this function:

◆ Outermost()

static CatchScope v8::internal::compiler::JSGraphAssembler::CatchScope::Outermost ( Zone * zone)
inlinestatic

Definition at line 1141 of file graph-assembler.h.

◆ parent()

CatchScope * v8::internal::compiler::JSGraphAssembler::CatchScope::parent ( ) const
inline

Definition at line 1148 of file graph-assembler.h.

◆ RegisterIfExceptionNode()

void v8::internal::compiler::JSGraphAssembler::CatchScope::RegisterIfExceptionNode ( Node * if_exception)
inline

Definition at line 1166 of file graph-assembler.h.

◆ set_gasm()

void v8::internal::compiler::JSGraphAssembler::CatchScope::set_gasm ( JSGraphAssembler * v)
inline

Definition at line 1156 of file graph-assembler.h.

◆ set_has_handler()

void v8::internal::compiler::JSGraphAssembler::CatchScope::set_has_handler ( bool v)
inline

Definition at line 1152 of file graph-assembler.h.

Member Data Documentation

◆ gasm_

JSGraphAssembler* v8::internal::compiler::JSGraphAssembler::CatchScope::gasm_ = nullptr
private

Definition at line 1211 of file graph-assembler.h.

◆ has_handler_

bool v8::internal::compiler::JSGraphAssembler::CatchScope::has_handler_ = false
private

Definition at line 1213 of file graph-assembler.h.

◆ if_exception_nodes_

NodeVector v8::internal::compiler::JSGraphAssembler::CatchScope::if_exception_nodes_
private

Definition at line 1214 of file graph-assembler.h.

◆ parent_

CatchScope* const v8::internal::compiler::JSGraphAssembler::CatchScope::parent_ = nullptr
private

Definition at line 1212 of file graph-assembler.h.


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