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

#include <control-flow-builders.h>

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

Public Member Functions

 TryCatchBuilder (BytecodeArrayBuilder *builder, BlockCoverageBuilder *block_coverage_builder, TryCatchStatement *statement, HandlerTable::CatchPrediction catch_prediction)
 
 ~TryCatchBuilder () override
 
void BeginTry (Register context)
 
void EndTry ()
 
void EndCatch ()
 
- 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 exit_
 
BlockCoverageBuilderblock_coverage_builder_
 
TryCatchStatementstatement_
 

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

◆ TryCatchBuilder()

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

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

◆ ~TryCatchBuilder()

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

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

Here is the call graph for this function:

Member Function Documentation

◆ BeginTry()

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

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

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

◆ EndCatch()

void v8::internal::interpreter::TryCatchBuilder::EndCatch ( )

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

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

◆ EndTry()

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

Definition at line 160 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::TryCatchBuilder::block_coverage_builder_
private

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

◆ catch_prediction_

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

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

◆ exit_

BytecodeLabel v8::internal::interpreter::TryCatchBuilder::exit_
private

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

◆ handler_id_

int v8::internal::interpreter::TryCatchBuilder::handler_id_
private

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

◆ statement_

TryCatchStatement* v8::internal::interpreter::TryCatchBuilder::statement_
private

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


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