Wasm: add preloaded_bytes and preloaded_count to Code section

This commit is contained in:
Brian Carroll 2022-01-07 20:22:32 +00:00
parent 743e14148c
commit b8f51fb1bb
2 changed files with 7 additions and 1 deletions

View file

@ -126,6 +126,8 @@ impl<'a> WasmBackend<'a> {
start: (),
element: (),
code: CodeSection {
preloaded_count: 0,
preloaded_bytes: Vec::with_capacity_in(0, arena),
code_builders: Vec::with_capacity_in(num_procs, arena),
},
data: DataSection {