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

Public Member Functions

WasmCodeAddCode (uint32_t index, const CodeDesc &desc, uint32_t stack_slots, size_t safepoint_table_offset, size_t handler_table_offset, OwnedVector< trap_handler::ProtectedInstructionData > protected_instructions, OwnedVector< const byte > source_position_table, WasmCode::Kind kind, WasmCode::Tier tier)
 
WasmCodeAddDeserializedCode (uint32_t index, Vector< const byte > instructions, uint32_t stack_slots, size_t safepoint_table_offset, size_t handler_table_offset, size_t constant_pool_offset, OwnedVector< trap_handler::ProtectedInstructionData > protected_instructions, OwnedVector< const byte > reloc_info, OwnedVector< const byte > source_position_table, WasmCode::Tier tier)
 
WasmCodeAddCodeForTesting (Handle< Code > code)
 
void SetLazyBuiltin (Handle< Code > code)
 
void SetRuntimeStubs (Isolate *isolate)
 
void PublishCode (WasmCode *code)
 
void PublishInterpreterEntry (WasmCode *code, uint32_t index)
 
std::vector< WasmCode * > SnapshotCodeTable () const
 
WasmCodecode (uint32_t index) const
 
bool has_code (uint32_t index) const
 
WasmCoderuntime_stub (WasmCode::RuntimeStubId index) const
 
Address jump_table_start () const
 
ptrdiff_t jump_table_offset (uint32_t func_index) const
 
bool is_jump_table_slot (Address address) const
 
void DisableTrapHandler ()
 
Address GetCallTargetForFunction (uint32_t func_index) const
 
uint32_t GetFunctionIndexFromJumpTableSlot (Address slot_address) const
 
bool SetExecutable (bool executable)
 
void ReserveCodeTableForTesting (uint32_t max_functions)
 
void LogWasmCodes (Isolate *isolate)
 
CompilationStatecompilation_state ()
 
CompilationEnv CreateCompilationEnv () const
 
uint32_t num_functions () const
 
uint32_t num_imported_functions () const
 
UseTrapHandler use_trap_handler () const
 
void set_lazy_compile_frozen (bool frozen)
 
bool lazy_compile_frozen () const
 
Vector< const byte > wire_bytes () const
 
const WasmModulemodule () const
 
size_t committed_code_space () const
 
void SetWireBytes (OwnedVector< const byte > wire_bytes)
 
WasmCodeLookup (Address) const
 
WasmImportWrapperCacheimport_wrapper_cache () const
 
const WasmFeaturesenabled_features () const
 

Static Public Attributes

static constexpr bool kCanAllocateMoreMemory = true
 

Friends

class WasmCode
 
class WasmCodeManager
 
class NativeModuleModificationScope
 

Detailed Description

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


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