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

Method exception_table

cranelift/codegen/src/ir/instructions.rs:650–657  ·  view source on GitHub ↗

Get the exception table, if any, associated with this instruction.

(&self)

Source from the content-addressed store, hash-verified

648
649 /// Get the exception table, if any, associated with this instruction.
650 pub fn exception_table(&self) -> Option<ExceptionTable> {
651 match self {
652 Self::TryCall { exception, .. } | Self::TryCallIndirect { exception, .. } => {
653 Some(*exception)
654 }
655 _ => None,
656 }
657 }
658}
659
660/// Information about call instructions.

Callers 5

newMethod · 0.45
inst_valuesMethod · 0.45
map_valuesMethod · 0.45
block_call_arg_tyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected