Next: , Previous: , Up: Toolchain reference   [Contents][Index]


4.3 Resolver

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.

Procedure: resolve-wasm mod

Lower the Wasm module mod into a form that can be assembled or interpreted. Returns a new Wasm module and does not modify mod.