pub fn emit_test_body(
body: &Block,
actions: &HashMap<String, u32>,
dispatch_func_idx: u32,
init_func_idx: u32,
ctx: &mut FuncContext,
f: &mut Function,
) -> CodegenResult<()>Expand description
Compile a single test body into WASM instructions.
Emits:
call init— reset state to defaults- Compiled test body statements