V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::wasm::WasmCode Class Referencefinal

Public Types

enum  Kind {
  kFunction, kWasmToJsWrapper, kLazyStub, kRuntimeStub,
  kInterpreterEntry, kJumpTable
}
 
enum  RuntimeStubId { kRuntimeStubCount }
 
enum  Tier : int8_t { kLiftoff, kTurbofan, kOther }
 
enum  FlushICache : bool { kFlushICache = true, kNoFlushICache = false }
 

Public Member Functions

Vector< byte > instructions () const
 
Address instruction_start () const
 
Vector< const byte > reloc_info () const
 
Vector< const byte > source_positions () const
 
uint32_t index () const
 
bool IsAnonymous () const
 
Kind kind () const
 
NativeModulenative_module () const
 
Tier tier () const
 
Address constant_pool () const
 
size_t constant_pool_offset () const
 
size_t safepoint_table_offset () const
 
size_t handler_table_offset () const
 
uint32_t stack_slots () const
 
bool is_liftoff () const
 
bool contains (Address pc) const
 
Vector< trap_handler::ProtectedInstructionDataprotected_instructions () const
 
const charGetRuntimeStubName () const
 
void Validate () const
 
void Print (const char *name=nullptr) const
 
void Disassemble (const char *name, std::ostream &os, Address current_pc=kNullAddress) const
 
void LogCode (Isolate *isolate) const
 
 STATIC_ASSERT (kAnonymousFuncIndex > kV8MaxWasmFunctions)
 

Static Public Member Functions

static bool ShouldBeLogged (Isolate *isolate)
 

Static Public Attributes

static constexpr uint32_t kAnonymousFuncIndex = 0xffffffff
 

Friends

class NativeModule
 

Detailed Description

Definition at line 70 of file wasm-code-manager.h.


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