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

#include <control-flow-builders.h>

Inheritance diagram for v8::internal::interpreter::TryFinallyBuilder:
Collaboration diagram for v8::internal::interpreter::TryFinallyBuilder:

Public Member Functions

 TryFinallyBuilder (BytecodeArrayBuilder *builder, BlockCoverageBuilder *block_coverage_builder, TryFinallyStatement *statement, HandlerTable::CatchPrediction catch_prediction)
 
 ~TryFinallyBuilder () override
 
void BeginTry (Register context)
 
void LeaveTry ()
 
void EndTry ()
 
void BeginHandler ()
 
void BeginFinally ()
 
void EndFinally ()
 
- Public Member Functions inherited from v8::internal::interpreter::ControlFlowBuilder
 ControlFlowBuilder (BytecodeArrayBuilder *builder)
 
 ControlFlowBuilder (const ControlFlowBuilder &)=delete
 
ControlFlowBuilderoperator= (const ControlFlowBuilder &)=delete
 
virtual ~ControlFlowBuilder ()=default
 

Private Attributes

int handler_id_
 
HandlerTable::CatchPrediction catch_prediction_
 
BytecodeLabel handler_
 
BytecodeLabels finalization_sites_
 
BlockCoverageBuilderblock_coverage_builder_
 
TryFinallyStatementstatement_
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::interpreter::ControlFlowBuilder
BytecodeArrayBuilderbuilder () const
 

Detailed Description

Definition at line 230 of file control-flow-builders.h.

Constructor & Destructor Documentation

◆ TryFinallyBuilder()

v8::internal::interpreter::TryFinallyBuilder::TryFinallyBuilder ( BytecodeArrayBuilder * builder,
BlockCoverageBuilder * block_coverage_builder,
TryFinallyStatement * statement,
HandlerTable::CatchPrediction catch_prediction )
inline

Definition at line 232 of file control-flow-builders.h.

◆ ~TryFinallyBuilder()

v8::internal::interpreter::TryFinallyBuilder::~TryFinallyBuilder ( )
override

Definition at line 173 of file control-flow-builders.cc.

Here is the call graph for this function:

Member Function Documentation

◆ BeginFinally()

void v8::internal::interpreter::TryFinallyBuilder::BeginFinally ( )

Definition at line 200 of file control-flow-builders.cc.

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

◆ BeginHandler()

void v8::internal::interpreter::TryFinallyBuilder::BeginHandler ( )

Definition at line 195 of file control-flow-builders.cc.

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

◆ BeginTry()

void v8::internal::interpreter::TryFinallyBuilder::BeginTry ( Register context)

Definition at line 180 of file control-flow-builders.cc.

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

◆ EndFinally()

void v8::internal::interpreter::TryFinallyBuilder::EndFinally ( )

Definition at line 209 of file control-flow-builders.cc.

Here is the caller graph for this function:

◆ EndTry()

void v8::internal::interpreter::TryFinallyBuilder::EndTry ( )

Definition at line 190 of file control-flow-builders.cc.

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

◆ LeaveTry()

void v8::internal::interpreter::TryFinallyBuilder::LeaveTry ( )

Definition at line 185 of file control-flow-builders.cc.

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

Member Data Documentation

◆ block_coverage_builder_

BlockCoverageBuilder* v8::internal::interpreter::TryFinallyBuilder::block_coverage_builder_
private

Definition at line 260 of file control-flow-builders.h.

◆ catch_prediction_

HandlerTable::CatchPrediction v8::internal::interpreter::TryFinallyBuilder::catch_prediction_
private

Definition at line 254 of file control-flow-builders.h.

◆ finalization_sites_

BytecodeLabels v8::internal::interpreter::TryFinallyBuilder::finalization_sites_
private

Definition at line 258 of file control-flow-builders.h.

◆ handler_

BytecodeLabel v8::internal::interpreter::TryFinallyBuilder::handler_
private

Definition at line 255 of file control-flow-builders.h.

◆ handler_id_

int v8::internal::interpreter::TryFinallyBuilder::handler_id_
private

Definition at line 253 of file control-flow-builders.h.

◆ statement_

TryFinallyStatement* v8::internal::interpreter::TryFinallyBuilder::statement_
private

Definition at line 261 of file control-flow-builders.h.


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