Function wasm_encoder::reencode::utils::parse_function_body
source ยท pub fn parse_function_body<T: ?Sized + Reencode>(
reencoder: &mut T,
code: &mut CodeSection,
func: FunctionBody<'_>,
) -> Result<(), Error<T::Error>>
Expand description
Parses a single wasmparser::FunctionBody
and adds it to the code
section.