[][src]Type Definition walrus::CodeTransform

type CodeTransform = Vec<(InstrLocId, usize)>;

Maps from an offset of an instruction in the input Wasm to its offset in the output Wasm.

Note that an input offset may be mapped to multiple output offsets, and vice versa, due to transformations like function inlinining or constant propagation.