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

Method get_user_stack_map

cranelift/codegen/src/machinst/vcode.rs:1515–1518  ·  view source on GitHub ↗

Get the user stack map associated with the given forward instruction index.

(&self, inst: InsnIndex)

Source from the content-addressed store, hash-verified

1513
1514 /// Get the user stack map associated with the given forward instruction index.
1515 pub fn get_user_stack_map(&self, inst: InsnIndex) -> Option<&ir::UserStackMap> {
1516 let index = inst.to_backwards_insn_index(self.num_insts());
1517 self.user_stack_maps.get(&index)
1518 }
1519}
1520
1521impl<I: VCodeInst> core::ops::Index<InsnIndex> for VCode<I> {

Callers 1

fmtMethod · 0.80

Calls 3

num_instsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected