Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::kernel::TryCatchBlock Class Reference

#include <kernel_to_il.h>

Public Member Functions

 TryCatchBlock (FlowGraphBuilder *builder, intptr_t try_handler_index=-1)
 
 ~TryCatchBlock ()
 
intptr_t try_index ()
 
TryCatchBlockouter () const
 

Detailed Description

Definition at line 771 of file kernel_to_il.h.

Constructor & Destructor Documentation

◆ TryCatchBlock()

dart::kernel::TryCatchBlock::TryCatchBlock ( FlowGraphBuilder builder,
intptr_t  try_handler_index = -1 
)
inlineexplicit

Definition at line 773 of file kernel_to_il.h.

775 : builder_(builder),
776 outer_(builder->CurrentTryCatchBlock()),
777 try_index_(try_handler_index == -1 ? builder->AllocateTryIndex()
778 : try_handler_index) {
779 builder->SetCurrentTryCatchBlock(this);
780 }

◆ ~TryCatchBlock()

dart::kernel::TryCatchBlock::~TryCatchBlock ( )
inline

Definition at line 782 of file kernel_to_il.h.

782{ builder_->SetCurrentTryCatchBlock(outer_); }

Member Function Documentation

◆ outer()

TryCatchBlock * dart::kernel::TryCatchBlock::outer ( ) const
inline

Definition at line 785 of file kernel_to_il.h.

785{ return outer_; }

◆ try_index()

intptr_t dart::kernel::TryCatchBlock::try_index ( )
inline

Definition at line 784 of file kernel_to_il.h.

784{ return try_index_; }

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