MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / fixed_stack_size

Method fixed_stack_size

cranelift/codegen/src/ir/function.rs:364–366  ·  view source on GitHub ↗

Size occupied by all stack slots associated with this function. Does not include any padding necessary due to offsets

(&self)

Source from the content-addressed store, hash-verified

362 ///
363 /// Does not include any padding necessary due to offsets
364 pub fn fixed_stack_size(&self) -> u32 {
365 self.sized_stack_slots.values().map(|ss| ss.size).sum()
366 }
367
368 /// Returns the list of relative source locations for this function.
369 pub(crate) fn rel_srclocs(&self) -> &SecondaryMap<Inst, RelSourceLoc> {

Callers 2

push_frameMethod · 0.80
pop_frameMethod · 0.80

Calls 3

sumMethod · 0.80
mapMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected