Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::kernel::CatchBlock Class Reference

#include <kernel_to_il.h>

Public Member Functions

 CatchBlock (FlowGraphBuilder *builder, LocalVariable *exception_var, LocalVariable *stack_trace_var, intptr_t catch_try_index)
 
 ~CatchBlock ()
 
LocalVariableexception_var ()
 
LocalVariablestack_trace_var ()
 
intptr_t catch_try_index ()
 

Detailed Description

Definition at line 890 of file kernel_to_il.h.

Constructor & Destructor Documentation

◆ CatchBlock()

dart::kernel::CatchBlock::CatchBlock ( FlowGraphBuilder builder,
LocalVariable exception_var,
LocalVariable stack_trace_var,
intptr_t  catch_try_index 
)
inline

Definition at line 892 of file kernel_to_il.h.

896 : builder_(builder),
897 outer_(builder->catch_block_),
898 exception_var_(exception_var),
899 stack_trace_var_(stack_trace_var),
900 catch_try_index_(catch_try_index) {
901 builder_->catch_block_ = this;
902 }
LocalVariable * stack_trace_var()
Definition: kernel_to_il.h:906
LocalVariable * exception_var()
Definition: kernel_to_il.h:905

◆ ~CatchBlock()

dart::kernel::CatchBlock::~CatchBlock ( )
inline

Definition at line 903 of file kernel_to_il.h.

903{ builder_->catch_block_ = outer_; }

Member Function Documentation

◆ catch_try_index()

intptr_t dart::kernel::CatchBlock::catch_try_index ( )
inline

Definition at line 907 of file kernel_to_il.h.

907{ return catch_try_index_; }

◆ exception_var()

LocalVariable * dart::kernel::CatchBlock::exception_var ( )
inline

Definition at line 905 of file kernel_to_il.h.

905{ return exception_var_; }

◆ stack_trace_var()

LocalVariable * dart::kernel::CatchBlock::stack_trace_var ( )
inline

Definition at line 906 of file kernel_to_il.h.

906{ return stack_trace_var_; }

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