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

Method is_inst_sunk

cranelift/codegen/src/machinst/lower.rs:707–709  ·  view source on GitHub ↗

Has this instruction been sunk to a use-site (i.e., away from its original location)?

(&self, inst: Inst)

Source from the content-addressed store, hash-verified

705 /// Has this instruction been sunk to a use-site (i.e., away from its
706 /// original location)?
707 fn is_inst_sunk(&self, inst: Inst) -> bool {
708 self.inst_sunk.contains(&inst)
709 }
710
711 // Is any result of this instruction needed?
712 fn is_any_inst_result_needed(&self, inst: Inst) -> bool {

Callers 1

lower_clif_blockMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected