MCPcopy Create free account
hub / github.com/asymptotic-code/sui-prover / dests

Method dests

crates/move-stackless-bytecode/src/stackless_bytecode.rs:701–711  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

699 }
700
701 pub fn dests(&self) -> impl Iterator<Item = TempIndex> + '_ {
702 use Bytecode::*;
703 let slice = match self {
704 Load(_, dest, _) => std::slice::from_ref(dest),
705 Assign(_, dest, _, _) => std::slice::from_ref(dest),
706 Call(_, dests, _, _, _) => dests.as_slice(),
707 Ret(..) | Branch(..) | Jump(..) | VariantSwitch(..) | Label(..) | Abort(..)
708 | Nop(..) | SaveMem(..) | Prop(..) => &[],
709 };
710 slice.iter().copied()
711 }
712
713 pub fn srcs(&self) -> impl Iterator<Item = TempIndex> + '_ {
714 use Bytecode::*;

Callers 5

compute_completed_atMethod · 0.80
process_instructionMethod · 0.80
is_assignment_beforeMethod · 0.80
executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected