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

Method with_notrap

cranelift/codegen/src/machinst/mod.rs:169–171  ·  view source on GitHub ↗

Set these flags to indicate this access does not trap.

(self)

Source from the content-addressed store, hash-verified

167
168 /// Set these flags to indicate this access does not trap.
169 pub const fn with_notrap(self) -> Self {
170 self.with_trap_code(None)
171 }
172
173 /// Test if the `can_move` flag is set.
174 pub const fn can_move(self) -> bool {

Callers 1

trustedMethod · 0.45

Calls 1

with_trap_codeMethod · 0.45

Tested by

no test coverage detected