Skip to main content

widths

Function widths 

Source
pub fn widths(layout: &Layout<'_>, allocation: &Allocation) -> Vec<u32>
Expand description

How many bytes each of an allocation’s spill slots takes on the stack.

The same question the width of one register class is, asked of a whole allocation at once, and public because crate::slots needs it to say how big a cell holding a spilled value has to be, which it has to know before there is a frame to ask.