V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::wasm::WasmModule Struct Reference

Public Member Functions

 MOVE_ONLY_NO_DEFAULT_CONSTRUCTOR (WasmModule)
 
 WasmModule (std::unique_ptr< Zone > signature_zone=nullptr)
 
WireBytesRef LookupFunctionName (const ModuleWireBytes &wire_bytes, uint32_t function_index) const
 
void AddFunctionNameForTesting (int function_index, WireBytesRef name)
 

Public Attributes

std::unique_ptr< Zonesignature_zone
 
uint32_t initial_pages = 0
 
uint32_t maximum_pages = 0
 
bool has_shared_memory = false
 
bool has_maximum_pages = false
 
bool has_memory = false
 
bool mem_export = false
 
int start_function_index = -1
 
std::vector< WasmGlobalglobals
 
uint32_t globals_buffer_size = 0
 
uint32_t num_imported_mutable_globals = 0
 
uint32_t num_imported_functions = 0
 
uint32_t num_declared_functions = 0
 
uint32_t num_exported_functions = 0
 
WireBytesRef name = {0, 0}
 
std::vector< FunctionSig * > signatures
 
std::vector< uint32_tsignature_ids
 
std::vector< WasmFunctionfunctions
 
std::vector< WasmDataSegmentdata_segments
 
std::vector< WasmTabletables
 
std::vector< WasmImportimport_table
 
std::vector< WasmExportexport_table
 
std::vector< WasmExceptionexceptions
 
std::vector< WasmTableInittable_inits
 
SignatureMap signature_map
 
ModuleOrigin origin = kWasmOrigin
 
std::unique_ptr< std::unordered_map< uint32_t, WireBytesRef > > function_names
 
std::string source_map_url
 

Detailed Description

Definition at line 153 of file wasm-module.h.


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