MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / table_section

Function table_section

crates/wizer/src/parse.rs:77–85  ·  view source on GitHub ↗
(
    module: &mut ModuleContext<'a>,
    tables: wasmparser::TableSectionReader<'a>,
)

Source from the content-addressed store, hash-verified

75}
76
77fn table_section<'a>(
78 module: &mut ModuleContext<'a>,
79 tables: wasmparser::TableSectionReader<'a>,
80) -> wasmtime::Result<()> {
81 for table in tables {
82 module.push_table(table?.ty);
83 }
84 Ok(())
85}
86
87fn memory_section<'a>(
88 module: &mut ModuleContext<'a>,

Callers 1

parse_withFunction · 0.85

Calls 2

OkFunction · 0.85
push_tableMethod · 0.45

Tested by

no test coverage detected