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

#include <maglev-ir.h>

Collaboration diagram for v8::internal::maglev::ExceptionHandlerInfo:

Public Types

enum  Mode { kNoExceptionHandler = -1 , kLazyDeopt = -2 }
 
using List = base::ThreadedList<ExceptionHandlerInfo>
 

Public Member Functions

 ExceptionHandlerInfo (Mode mode=kNoExceptionHandler)
 
 ExceptionHandlerInfo (BasicBlockRef *catch_block_ref, int depth)
 
 ExceptionHandlerInfo (BasicBlock *catch_block_ref, int depth)
 
bool HasExceptionHandler () const
 
bool ShouldLazyDeopt () const
 
Labeltrampoline_entry ()
 
BasicBlockRefcatch_block_ref_address ()
 
BasicBlockcatch_block () const
 
int depth () const
 
int pc_offset () const
 
void set_pc_offset (int offset)
 

Private Member Functions

ExceptionHandlerInfo ** next ()
 

Private Attributes

BasicBlockRef catch_block_
 
Label trampoline_entry_
 
int depth_
 
int pc_offset_
 
ExceptionHandlerInfonext_ = nullptr
 
friend List
 

Detailed Description

Definition at line 1782 of file maglev-ir.h.

Member Typedef Documentation

◆ List

Member Enumeration Documentation

◆ Mode

Enumerator
kNoExceptionHandler 
kLazyDeopt 

Definition at line 1785 of file maglev-ir.h.

Constructor & Destructor Documentation

◆ ExceptionHandlerInfo() [1/3]

v8::internal::maglev::ExceptionHandlerInfo::ExceptionHandlerInfo ( Mode mode = kNoExceptionHandler)
inlineexplicit

Definition at line 1790 of file maglev-ir.h.

◆ ExceptionHandlerInfo() [2/3]

v8::internal::maglev::ExceptionHandlerInfo::ExceptionHandlerInfo ( BasicBlockRef * catch_block_ref,
int depth )
inline

Definition at line 1793 of file maglev-ir.h.

Here is the call graph for this function:

◆ ExceptionHandlerInfo() [3/3]

v8::internal::maglev::ExceptionHandlerInfo::ExceptionHandlerInfo ( BasicBlock * catch_block_ref,
int depth )
inline

Definition at line 1799 of file maglev-ir.h.

Member Function Documentation

◆ catch_block()

BasicBlock * v8::internal::maglev::ExceptionHandlerInfo::catch_block ( ) const
inline

Definition at line 1810 of file maglev-ir.h.

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

◆ catch_block_ref_address()

BasicBlockRef * v8::internal::maglev::ExceptionHandlerInfo::catch_block_ref_address ( )
inline

Definition at line 1808 of file maglev-ir.h.

◆ depth()

int v8::internal::maglev::ExceptionHandlerInfo::depth ( ) const
inline

Definition at line 1812 of file maglev-ir.h.

Here is the caller graph for this function:

◆ HasExceptionHandler()

bool v8::internal::maglev::ExceptionHandlerInfo::HasExceptionHandler ( ) const
inline

Definition at line 1802 of file maglev-ir.h.

Here is the caller graph for this function:

◆ next()

ExceptionHandlerInfo ** v8::internal::maglev::ExceptionHandlerInfo::next ( )
inlineprivate

Definition at line 1832 of file maglev-ir.h.

◆ pc_offset()

int v8::internal::maglev::ExceptionHandlerInfo::pc_offset ( ) const
inline

Definition at line 1818 of file maglev-ir.h.

◆ set_pc_offset()

void v8::internal::maglev::ExceptionHandlerInfo::set_pc_offset ( int offset)
inline

Definition at line 1819 of file maglev-ir.h.

Here is the caller graph for this function:

◆ ShouldLazyDeopt()

bool v8::internal::maglev::ExceptionHandlerInfo::ShouldLazyDeopt ( ) const
inline

Definition at line 1804 of file maglev-ir.h.

Here is the caller graph for this function:

◆ trampoline_entry()

Label & v8::internal::maglev::ExceptionHandlerInfo::trampoline_entry ( )
inline

Definition at line 1806 of file maglev-ir.h.

Member Data Documentation

◆ catch_block_

BasicBlockRef v8::internal::maglev::ExceptionHandlerInfo::catch_block_
private

Definition at line 1826 of file maglev-ir.h.

◆ depth_

int v8::internal::maglev::ExceptionHandlerInfo::depth_
private

Definition at line 1828 of file maglev-ir.h.

◆ List

Definition at line 1834 of file maglev-ir.h.

◆ next_

ExceptionHandlerInfo* v8::internal::maglev::ExceptionHandlerInfo::next_ = nullptr
private

Definition at line 1831 of file maglev-ir.h.

◆ pc_offset_

int v8::internal::maglev::ExceptionHandlerInfo::pc_offset_
private

Definition at line 1829 of file maglev-ir.h.

◆ trampoline_entry_

Label v8::internal::maglev::ExceptionHandlerInfo::trampoline_entry_
private

Definition at line 1827 of file maglev-ir.h.


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