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

Method inlined_stack_slot

cranelift/codegen/src/inline.rs:1332–1337  ·  view source on GitHub ↗
(&self, callee_stack_slot: ir::StackSlot)

Source from the content-addressed store, hash-verified

1330 }
1331
1332 fn inlined_stack_slot(&self, callee_stack_slot: ir::StackSlot) -> ir::StackSlot {
1333 let offset = self.stack_slot_offset.expect(
1334 "must create inlined `ir::StackSlot`s before calling `EntityMap::inlined_stack_slot`",
1335 );
1336 ir::StackSlot::from_u32(offset + callee_stack_slot.as_u32())
1337 }
1338
1339 fn inlined_dynamic_type(&self, callee_dynamic_type: ir::DynamicType) -> ir::DynamicType {
1340 let offset = self.dynamic_type_offset.expect(

Callers 3

inline_oneFunction · 0.80
append_stack_map_entriesFunction · 0.80
map_stack_slotMethod · 0.80

Calls 2

expectMethod · 0.45
as_u32Method · 0.45

Tested by

no test coverage detected