#include <wasm-interpreter.h>
 | 
|   | WasmBytecode (int func_index, const uint8_t *code_data, size_t code_length, uint32_t stack_frame_size, const FunctionSig *signature, const CanonicalSig *canonical_signature, const InterpreterCode *interpreter_code, size_t blocks_count, const uint8_t *const_slots_data, size_t const_slots_length, uint32_t ref_slots_count, const WasmEHData &&eh_data, const std::map< CodeOffset, pc_t > &&code_pc_map) | 
|   | 
| const uint8_t *  | GetCode () const | 
|   | 
| size_t  | GetCodeSize () const | 
|   | 
| bool  | InitializeSlots (uint8_t *sp, size_t stack_space) const | 
|   | 
| pc_t  | GetPcFromTrapCode (const uint8_t *current_code) const | 
|   | 
| int  | GetFunctionIndex () const | 
|   | 
| uint32_t  | GetBlocksCount () const | 
|   | 
| const FunctionSig *  | GetFunctionSignature () const | 
|   | 
| const CanonicalSig *  | GetCanonicalFunctionSignature () const | 
|   | 
| ValueType  | return_type (size_t index) const | 
|   | 
| ValueType  | arg_type (size_t index) const | 
|   | 
| ValueType  | local_type (size_t index) const | 
|   | 
| uint32_t  | args_count () const | 
|   | 
| uint32_t  | args_slots_size () const | 
|   | 
| uint32_t  | return_count () const | 
|   | 
| uint32_t  | rets_slots_size () const | 
|   | 
| uint32_t  | locals_count () const | 
|   | 
| uint32_t  | locals_slots_size () const | 
|   | 
| uint32_t  | const_slots_size_in_bytes () const | 
|   | 
| uint32_t  | ref_args_count () const | 
|   | 
| uint32_t  | ref_rets_count () const | 
|   | 
| uint32_t  | ref_locals_count () const | 
|   | 
| uint32_t  | ref_slots_count () const | 
|   | 
| uint32_t  | internal_ref_slots_count () const | 
|   | 
| uint32_t  | frame_size () | 
|   | 
| const WasmEHData::TryBlock *  | GetTryBlock (CodeOffset code_offset) const | 
|   | 
| const WasmEHData::TryBlock *  | GetParentTryBlock (const WasmEHData::TryBlock *try_block) const | 
|   | 
| WasmEHData::ExceptionPayloadSlotOffsets  | GetExceptionPayloadStartSlotOffsets (WasmEHData::BlockIndex catch_block_index) const | 
|   | 
| DirectHandle< Object >  | GetCaughtException (Isolate *isolate, uint32_t catch_block_index) const | 
|   | 
Definition at line 1343 of file wasm-interpreter.h.
 
◆ WasmBytecode()
      
        
          | v8::internal::wasm::WasmBytecode::WasmBytecode  | 
          ( | 
          int |           func_index,  | 
        
        
           | 
           | 
          const uint8_t * |           code_data,  | 
        
        
           | 
           | 
          size_t |           code_length,  | 
        
        
           | 
           | 
          uint32_t |           stack_frame_size,  | 
        
        
           | 
           | 
          const FunctionSig * |           signature,  | 
        
        
           | 
           | 
          const CanonicalSig * |           canonical_signature,  | 
        
        
           | 
           | 
          const InterpreterCode * |           interpreter_code,  | 
        
        
           | 
           | 
          size_t |           blocks_count,  | 
        
        
           | 
           | 
          const uint8_t * |           const_slots_data,  | 
        
        
           | 
           | 
          size_t |           const_slots_length,  | 
        
        
           | 
           | 
          uint32_t |           ref_slots_count,  | 
        
        
           | 
           | 
          const WasmEHData && |           eh_data,  | 
        
        
           | 
           | 
          const std::map< CodeOffset, pc_t > && |           code_pc_map ) | 
        
      
 
 
◆ arg_type()
◆ args_count()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::args_count  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ args_slots_size()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::args_slots_size  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ ArgsSizeInSlots()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::ArgsSizeInSlots  | 
          ( | 
          const FunctionSig * |           sig | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ const_slots_size_in_bytes()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::const_slots_size_in_bytes  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ ContainsSimd()
  
  
      
        
          | bool v8::internal::wasm::WasmBytecode::ContainsSimd  | 
          ( | 
          const FunctionSig * |           sig | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ frame_size()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::frame_size  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetBlocksCount()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::GetBlocksCount  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetCanonicalFunctionSignature()
  
  
      
        
          | const CanonicalSig * v8::internal::wasm::WasmBytecode::GetCanonicalFunctionSignature  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetCaughtException()
  
  
      
        
          | DirectHandle< Object > v8::internal::wasm::WasmBytecode::GetCaughtException  | 
          ( | 
          Isolate * |           isolate,  | 
         
        
           | 
           | 
          uint32_t |           catch_block_index ) const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetCode()
  
  
      
        
          | const uint8_t * v8::internal::wasm::WasmBytecode::GetCode  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetCodeSize()
  
  
      
        
          | size_t v8::internal::wasm::WasmBytecode::GetCodeSize  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetExceptionPayloadStartSlotOffsets()
◆ GetFunctionIndex()
  
  
      
        
          | int v8::internal::wasm::WasmBytecode::GetFunctionIndex  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetFunctionSignature()
  
  
      
        
          | const FunctionSig * v8::internal::wasm::WasmBytecode::GetFunctionSignature  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetParentTryBlock()
◆ GetPcFromTrapCode()
      
        
          | pc_t v8::internal::wasm::WasmBytecode::GetPcFromTrapCode  | 
          ( | 
          const uint8_t * |           current_code | ) | 
           const | 
        
      
 
 
◆ GetTryBlock()
◆ HasRefOrSimdArgs()
  
  
      
        
          | bool v8::internal::wasm::WasmBytecode::HasRefOrSimdArgs  | 
          ( | 
          const FunctionSig * |           sig | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ InitializeSlots()
  
  
      
        
          | bool v8::internal::wasm::WasmBytecode::InitializeSlots  | 
          ( | 
          uint8_t * |           sp,  | 
         
        
           | 
           | 
          size_t |           stack_space ) const | 
         
       
   | 
  
inline   | 
  
 
 
◆ internal_ref_slots_count()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::internal_ref_slots_count  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ JSToWasmWrapperPackedArraySize()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::JSToWasmWrapperPackedArraySize  | 
          ( | 
          const FunctionSig * |           sig | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ local_type()
  
  
      
        
          | ValueType v8::internal::wasm::WasmBytecode::local_type  | 
          ( | 
          size_t |           index | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ locals_count()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::locals_count  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ locals_slots_size()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::locals_slots_size  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ LocalsSizeInSlots()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::LocalsSizeInSlots  | 
          ( | 
          const InterpreterCode * |           wasm_code | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ ref_args_count()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::ref_args_count  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ ref_locals_count()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::ref_locals_count  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ ref_rets_count()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::ref_rets_count  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ ref_slots_count()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::ref_slots_count  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ RefArgsCount()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::RefArgsCount  | 
          ( | 
          const FunctionSig * |           sig | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ RefLocalsCount()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::RefLocalsCount  | 
          ( | 
          const InterpreterCode * |           wasm_code | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ RefRetsCount()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::RefRetsCount  | 
          ( | 
          const FunctionSig * |           sig | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ rets_slots_size()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::rets_slots_size  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ RetsSizeInSlots()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::RetsSizeInSlots  | 
          ( | 
          const FunctionSig * |           sig | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ return_count()
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::return_count  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ return_type()
  
  
      
        
          | ValueType v8::internal::wasm::WasmBytecode::return_type  | 
          ( | 
          size_t |           index | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ args_count_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::args_count_ | 
         
       
   | 
  
private   | 
  
 
 
◆ args_slots_size_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::args_slots_size_ | 
         
       
   | 
  
private   | 
  
 
 
◆ blocks_count_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::blocks_count_ | 
         
       
   | 
  
private   | 
  
 
 
◆ canonical_signature_
  
  
      
        
          | const CanonicalSig* v8::internal::wasm::WasmBytecode::canonical_signature_ | 
         
       
   | 
  
private   | 
  
 
 
◆ code_
  
  
      
        
          | std::vector<uint8_t> v8::internal::wasm::WasmBytecode::code_ | 
         
       
   | 
  
private   | 
  
 
 
◆ code_bytes_
  
  
      
        
          | const uint8_t* v8::internal::wasm::WasmBytecode::code_bytes_ | 
         
       
   | 
  
private   | 
  
 
 
◆ code_pc_map_
  
  
      
        
          | std::map<CodeOffset, pc_t> v8::internal::wasm::WasmBytecode::code_pc_map_ | 
         
       
   | 
  
private   | 
  
 
 
◆ const_slots_values_
  
  
      
        
          | std::vector<uint8_t> v8::internal::wasm::WasmBytecode::const_slots_values_ | 
         
       
   | 
  
private   | 
  
 
 
◆ eh_data_
  
  
      
        
          | WasmEHData v8::internal::wasm::WasmBytecode::eh_data_ | 
         
       
   | 
  
private   | 
  
 
 
◆ func_index_
  
  
      
        
          | int v8::internal::wasm::WasmBytecode::func_index_ | 
         
       
   | 
  
private   | 
  
 
 
◆ interpreter_code_
◆ locals_count_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::locals_count_ | 
         
       
   | 
  
private   | 
  
 
 
◆ locals_slots_size_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::locals_slots_size_ | 
         
       
   | 
  
private   | 
  
 
 
◆ ref_args_count_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::ref_args_count_ | 
         
       
   | 
  
private   | 
  
 
 
◆ ref_locals_count_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::ref_locals_count_ | 
         
       
   | 
  
private   | 
  
 
 
◆ ref_rets_count_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::ref_rets_count_ | 
         
       
   | 
  
private   | 
  
 
 
◆ ref_slots_count_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::ref_slots_count_ | 
         
       
   | 
  
private   | 
  
 
 
◆ rets_slots_size_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::rets_slots_size_ | 
         
       
   | 
  
private   | 
  
 
 
◆ return_count_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::return_count_ | 
         
       
   | 
  
private   | 
  
 
 
◆ signature_
  
  
      
        
          | const FunctionSig* v8::internal::wasm::WasmBytecode::signature_ | 
         
       
   | 
  
private   | 
  
 
 
◆ total_frame_size_in_bytes_
  
  
      
        
          | uint32_t v8::internal::wasm::WasmBytecode::total_frame_size_in_bytes_ | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: