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

Method create_sized_stack_slot

cranelift/frontend/src/frontend.rs:574–576  ·  view source on GitHub ↗

Creates a sized stack slot in the function, to be used by [`stack_load`](InstBuilder::stack_load), [`stack_store`](InstBuilder::stack_store) and [`stack_addr`](InstBuilder::stack_addr) instructions.

(&mut self, data: StackSlotData)

Source from the content-addressed store, hash-verified

572 /// Creates a sized stack slot in the function, to be used by [`stack_load`](InstBuilder::stack_load),
573 /// [`stack_store`](InstBuilder::stack_store) and [`stack_addr`](InstBuilder::stack_addr) instructions.
574 pub fn create_sized_stack_slot(&mut self, data: StackSlotData) -> StackSlot {
575 self.func.create_sized_stack_slot(data)
576 }
577
578 /// Creates a dynamic stack slot in the function, to be used by
579 /// [`dynamic_stack_load`](InstBuilder::dynamic_stack_load),

Callers 8

add_ssMethod · 0.45
generate_stack_slotsMethod · 0.45
create_state_slotMethod · 0.45
translate_transcodeMethod · 0.45
translate_switchFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected