Home
last modified time | relevance | path

Searched refs:with_trap_code (Results 1 – 3 of 3) sorted by relevance

/wasmtime-44.0.1/cranelift/codegen/src/ir/
H A Dmemflags.rs119 Self { bits: 0 }.with_trap_code(Some(TrapCode::HEAP_OUT_OF_BOUNDS)) in new()
168 "notrap" => self.with_trap_code(None), in set_by_name()
204 Ok(code) => self.with_trap_code(Some(code)), in set_by_name()
283 self.with_trap_code(None) in with_notrap()
369 pub const fn with_trap_code(mut self, code: Option<TrapCode>) -> Self { in with_trap_code() method
421 let flags = MemFlags::new().with_trap_code(Some(trap)); in roundtrip_traps()
424 let flags = MemFlags::new().with_trap_code(None); in roundtrip_traps()
/wasmtime-44.0.1/crates/cranelift/src/translate/
H A Dtable.rs117 base_flags.with_trap_code(Some(crate::TRAP_TABLE_OUT_OF_BOUNDS)), in prepare_table_addr()
120 (element_addr, base_flags.with_trap_code(None)) in prepare_table_addr()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dfunc_environ.rs2011 .with_trap_code(Some(crate::TRAP_INDIRECT_CALL_TO_NULL)), in check_indirect_call_type_signature()
2074 mem_flags = mem_flags.with_trap_code(Some(crate::TRAP_INDIRECT_CALL_TO_NULL)); in check_indirect_call_type_signature()
2156 callee_flags = callee_flags.with_trap_code(callee_load_trap_code); in load_code_and_vmctx()