sway_ir::analysis::memory_utils

Function pointee_size

Source
pub fn pointee_size(context: &Context<'_>, ptr_val: Value) -> u64
Expand description

For a pointer argument ptr_val, what’s the size of its pointee.