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

Method index

cranelift/codegen/src/machinst/vcode.rs:1523–1525  ·  view source on GitHub ↗
(&self, idx: InsnIndex)

Source from the content-addressed store, hash-verified

1521impl<I: VCodeInst> core::ops::Index<InsnIndex> for VCode<I> {
1522 type Output = I;
1523 fn index(&self, idx: InsnIndex) -> &Self::Output {
1524 &self.insts[idx.index()]
1525 }
1526}
1527
1528impl<I: VCodeInst> RegallocFunction for VCode<I> {

Callers 15

reverse_and_finalizeMethod · 0.45
emitMethod · 0.45
bindex_to_bbMethod · 0.45
block_insnsMethod · 0.45
block_succsMethod · 0.45
block_predsMethod · 0.45
block_paramsMethod · 0.45
branch_blockparamsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected