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

Method finalize

cranelift/codegen/src/machinst/buffer.rs:2022–2028  ·  view source on GitHub ↗
(self, f: F)

Source from the content-addressed store, hash-verified

2020
2021impl MachExceptionHandler {
2022 fn finalize<F: Fn(MachLabel) -> CodeOffset>(self, f: F) -> FinalizedMachExceptionHandler {
2023 match self {
2024 Self::Tag(tag, label) => FinalizedMachExceptionHandler::Tag(tag, f(label)),
2025 Self::Default(label) => FinalizedMachExceptionHandler::Default(f(label)),
2026 Self::Context(loc) => FinalizedMachExceptionHandler::Context(loc),
2027 }
2028 }
2029}
2030
2031/// An item in the exception-handler list for a callsite, with final

Callers 2

finishMethod · 0.45
push_user_stack_mapMethod · 0.45

Calls 3

TagClass · 0.50
fFunction · 0.50
ContextClass · 0.50

Tested by

no test coverage detected