wasm_encoder::reencode::utils

Function parse_instruction

source
pub fn parse_instruction<'a, T: ?Sized + Reencode>(
    reencoder: &mut T,
    reader: &mut OperatorsReader<'a>,
) -> Result<Instruction<'a>, Error<T::Error>>
Available on crate feature wasmparser only.
Expand description

Parses a single instruction from reader and adds it to function.