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

Method can_trap

cranelift/codegen/meta/src/cdsl/instructions.rs:220–223  ·  view source on GitHub ↗

Mark this instruction as possibly trapping.

(mut self)

Source from the content-addressed store, hash-verified

218
219 /// Mark this instruction as possibly trapping.
220 pub fn can_trap(mut self) -> Self {
221 self.can_trap = true;
222 self
223 }
224
225 /// Mark this instruction as one that has side-effects.
226 pub fn other_side_effects(mut self) -> Self {

Callers 5

of_opcodeMethod · 0.80
define_control_flowFunction · 0.80
defineFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected