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

Method append_user_stack_map_entry

cranelift/codegen/src/ir/dfg.rs:615–619  ·  view source on GitHub ↗

Append a new stack map entry for the given call instruction. # Panics Panics if the given instruction is not a (non-tail) call instruction.

(&mut self, inst: Inst, entry: UserStackMapEntry)

Source from the content-addressed store, hash-verified

613 ///
614 /// Panics if the given instruction is not a (non-tail) call instruction.
615 pub fn append_user_stack_map_entry(&mut self, inst: Inst, entry: UserStackMapEntry) {
616 let opcode = self.insts[inst].opcode();
617 assert!(opcode.is_safepoint());
618 self.user_stack_maps.entry(inst).or_default().push(entry);
619 }
620
621 /// Append multiple stack map entries for the given call instruction.
622 ///

Callers 3

rewrite_safepointMethod · 0.80
parse_instructionMethod · 0.80

Calls 4

or_defaultMethod · 0.80
opcodeMethod · 0.45
pushMethod · 0.45
entryMethod · 0.45

Tested by

no test coverage detected