Next: Linker, Previous: GWAT, Up: Toolchain reference [Contents][Index]
The (wasm resolve)
module provides the resolve-wasm
procedure which lowers Wasm modules into a form that can be used by
the assembler or interpreter. The resolver replaces named references
with their respective integer index values, fills out the type table,
and adjusts i32 and i64 constants into their canonical form.
Lower the Wasm module mod into a form that can be assembled or interpreted. Returns a new Wasm module and does not modify mod.