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

Method orig_block

cranelift/codegen/src/machinst/blockorder.rs:120–125  ·  view source on GitHub ↗

Unwrap an `Orig` block.

(&self)

Source from the content-addressed store, hash-verified

118impl LoweredBlock {
119 /// Unwrap an `Orig` block.
120 pub fn orig_block(&self) -> Option<Block> {
121 match self {
122 &LoweredBlock::Orig { block } => Some(block),
123 &LoweredBlock::CriticalEdge { .. } => None,
124 }
125 }
126
127 /// The associated in-edge predecessor, if this is a critical edge.
128 #[cfg(test)]

Callers 4

newMethod · 0.80
collect_block_callMethod · 0.80
lowerMethod · 0.80
bindex_to_bbMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected