V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::HandlerTable Class Reference

Public Types

enum  CatchPrediction {
  UNCAUGHT, CAUGHT, PROMISE, DESUGARING,
  ASYNC_AWAIT
}
 

Public Member Functions

 HandlerTable (Code code)
 
 HandlerTable (ByteArray byte_array)
 
 HandlerTable (BytecodeArray bytecode_array)
 
 HandlerTable (Address instruction_start, size_t handler_table_offset)
 
int GetRangeStart (int index) const
 
int GetRangeEnd (int index) const
 
int GetRangeHandler (int index) const
 
int GetRangeData (int index) const
 
void SetRangeStart (int index, int value)
 
void SetRangeEnd (int index, int value)
 
void SetRangeHandler (int index, int offset, CatchPrediction pred)
 
void SetRangeData (int index, int value)
 
int LookupRange (int pc_offset, int *data, CatchPrediction *prediction)
 
int LookupReturn (int pc_offset)
 
int NumberOfRangeEntries () const
 
int NumberOfReturnEntries () const
 

Static Public Member Functions

static int LengthForRange (int entries)
 
static int EmitReturnTableStart (Assembler *masm, int entries)
 
static void EmitReturnEntry (Assembler *masm, int offset, int handler)
 

Detailed Description

Definition at line 30 of file handler-table.h.


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