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

Public Member Functions

bool SyncValidate (Isolate *isolate, const WasmFeatures &enabled, const ModuleWireBytes &bytes)
 
MaybeHandle< AsmWasmDataSyncCompileTranslatedAsmJs (Isolate *isolate, ErrorThrower *thrower, const ModuleWireBytes &bytes, Vector< const byte > asm_js_offset_table_bytes, Handle< HeapNumber > uses_bitset)
 
Handle< WasmModuleObjectFinalizeTranslatedAsmJs (Isolate *isolate, Handle< AsmWasmData > asm_wasm_data, Handle< Script > script)
 
MaybeHandle< WasmModuleObjectSyncCompile (Isolate *isolate, const WasmFeatures &enabled, ErrorThrower *thrower, const ModuleWireBytes &bytes)
 
MaybeHandle< WasmInstanceObjectSyncInstantiate (Isolate *isolate, ErrorThrower *thrower, Handle< WasmModuleObject > module_object, MaybeHandle< JSReceiver > imports, MaybeHandle< JSArrayBuffer > memory)
 
void AsyncCompile (Isolate *isolate, const WasmFeatures &enabled, std::shared_ptr< CompilationResultResolver > resolver, const ModuleWireBytes &bytes, bool is_shared)
 
void AsyncInstantiate (Isolate *isolate, std::unique_ptr< InstantiationResultResolver > resolver, Handle< WasmModuleObject > module_object, MaybeHandle< JSReceiver > imports)
 
std::shared_ptr< StreamingDecoderStartStreamingCompilation (Isolate *isolate, const WasmFeatures &enabled, Handle< Context > context, std::shared_ptr< CompilationResultResolver > resolver)
 
bool CompileFunction (Isolate *isolate, NativeModule *native_module, uint32_t function_index, ExecutionTier tier)
 
std::shared_ptr< NativeModuleExportNativeModule (Handle< WasmModuleObject > module_object)
 
Handle< WasmModuleObjectImportNativeModule (Isolate *isolate, std::shared_ptr< NativeModule > shared_module)
 
WasmCodeManagercode_manager ()
 
WasmMemoryTrackermemory_tracker ()
 
AccountingAllocatorallocator ()
 
CompilationStatisticsGetOrCreateTurboStatistics ()
 
void DumpAndResetTurboStatistics ()
 
CodeTracerGetCodeTracer ()
 
std::unique_ptr< AsyncCompileJobRemoveCompileJob (AsyncCompileJob *job)
 
bool HasRunningCompileJob (Isolate *isolate)
 
void DeleteCompileJobsOnIsolate (Isolate *isolate)
 
void AddIsolate (Isolate *isolate)
 
void RemoveIsolate (Isolate *isolate)
 

Static Public Member Functions

static void InitializeOncePerProcess ()
 
static void GlobalTearDown ()
 
static std::shared_ptr< WasmEngineGetWasmEngine ()
 

Detailed Description

Definition at line 48 of file wasm-engine.h.


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