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

Public Member Functions

 ModuleDecoder (const WasmFeatures &enabled)
 
void StartDecoding (Counters *counters, AccountingAllocator *allocator, ModuleOrigin origin=ModuleOrigin::kWasmOrigin)
 
void DecodeModuleHeader (Vector< const uint8_t > bytes, uint32_t offset)
 
void DecodeSection (SectionCode section_code, Vector< const uint8_t > bytes, uint32_t offset, bool verify_functions=true)
 
bool CheckFunctionsCount (uint32_t functions_count, uint32_t offset)
 
void DecodeFunctionBody (uint32_t index, uint32_t size, uint32_t offset, bool verify_functions=true)
 
ModuleResult FinishDecoding (bool verify_functions=true)
 
const std::shared_ptr< WasmModule > & shared_module () const
 
WasmModulemodule () const
 
bool ok ()
 

Static Public Member Functions

static SectionCode IdentifyUnknownSection (Decoder &decoder, const byte *end)
 

Detailed Description

Definition at line 115 of file module-decoder.h.


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