wasm_interp: implement call and return instructions

This commit is contained in:
Brian Carroll 2022-11-22 20:54:33 +00:00
parent 57aa3aafd8
commit 972d9dbb19
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0
5 changed files with 75 additions and 32 deletions

View file

@ -1221,7 +1221,7 @@ impl<'a> Serialize for ElementSection<'a> {
pub struct CodeSection<'a> {
pub function_count: u32,
pub bytes: Vec<'a, u8>,
/// The start of each preloaded function
/// The start of each function
pub function_offsets: Vec<'a, u32>,
/// Dead imports are replaced with dummy functions in CodeSection
pub dead_import_dummy_count: u32,