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

Method trap

winch/codegen/src/isa/aarch64/masm.rs:1233–1238  ·  view source on GitHub ↗
(&mut self, code: TrapCode)

Source from the content-addressed store, hash-verified

1231 }
1232
1233 fn trap(&mut self, code: TrapCode) -> Result<()> {
1234 self.with_aligned_sp(|masm| {
1235 masm.asm.udf(code);
1236 Ok(())
1237 })
1238 }
1239
1240 fn trapz(&mut self, src: Reg, code: TrapCode) -> Result<()> {
1241 self.with_aligned_sp(|masm| {

Callers

nothing calls this directly

Calls 3

OkFunction · 0.85
with_aligned_spMethod · 0.80
udfMethod · 0.80

Tested by

no test coverage detected