Skip to main content

access_width

Function access_width 

Source
pub fn access_width(op: &WasmOp) -> Option<u32>
Expand description

Access width in bytes of a linear-memory operator, or None when the operator is not a linear-memory access.

This is the width the BOUNDS CHECK covers (the number of bytes touched), not the value width: i32.load8_u touches 1 byte, i64.load32_u touches 4.