Module visitor

Source
Expand description

This module is the central place for machine code emission.

It defines an implementation of wasmparserโ€™s Visitor trait for Function; which defines a visitor per op-code, which validates and dispatches to the corresponding machine code emitter.

Modulesยง

call ๐Ÿ”’
Call Instructions
control ๐Ÿ”’
Control flow visitors
local ๐Ÿ”’
Local instructions
log ๐Ÿ”’
System instructions

Macrosยง

impl_visit_operator ๐Ÿ”’
A macro to define unsupported WebAssembly operators.
map_wasm_operators ๐Ÿ”’
Implement arithmetic operators for types.