mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
wasm: comments & renaming
This commit is contained in:
parent
7ccc5ec768
commit
7958158d89
4 changed files with 17 additions and 29 deletions
|
@ -133,10 +133,10 @@ impl<'a> WasmModule<'a> {
|
|||
types.parse_offsets();
|
||||
|
||||
let mut import = ImportSection::preload(arena, bytes, &mut cursor);
|
||||
let import_signatures = import.parse(arena);
|
||||
let imported_fn_signatures = import.parse(arena);
|
||||
|
||||
let function = FunctionSection::preload(arena, bytes, &mut cursor);
|
||||
let function_signatures = function.parse(arena);
|
||||
let defined_fn_signatures = function.parse(arena);
|
||||
|
||||
let table = OpaqueSection::preload(SectionId::Table, arena, bytes, &mut cursor);
|
||||
|
||||
|
@ -155,8 +155,8 @@ impl<'a> WasmModule<'a> {
|
|||
arena,
|
||||
bytes,
|
||||
&mut cursor,
|
||||
&import_signatures,
|
||||
&function_signatures,
|
||||
&imported_fn_signatures,
|
||||
&defined_fn_signatures,
|
||||
&indirect_callees,
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue