Struct cranelift_codegen::binemit::NullTrapSink [−][src]
pub struct NullTrapSink {}Expand description
A TrapSink implementation that does nothing, which is convenient when
compiling code that does not rely on trapping semantics.
Trait Implementations
impl Default for NullTrapSink[src]
impl Default for NullTrapSink[src]fn default() -> NullTrapSink[src]
fn default() -> NullTrapSink[src]Returns the “default value” for a type. Read more
impl TrapSink for NullTrapSink[src]
impl TrapSink for NullTrapSink[src]fn trap(&mut self, _offset: CodeOffset, _srcloc: SourceLoc, _code: TrapCode)[src]
fn trap(&mut self, _offset: CodeOffset, _srcloc: SourceLoc, _code: TrapCode)[src]Add trap information for a specific offset.