Struct cranelift_codegen::binemit::NullRelocSink [−][src]
pub struct NullRelocSink {}Expand description
A RelocSink implementation that does nothing, which is convenient when
compiling code that does not relocate anything.
Trait Implementations
Returns the “default value” for a type. Read more
fn reloc_external(
&mut self,
_: CodeOffset,
_: SourceLoc,
_: Reloc,
_: &ExternalName,
_: Addend
)[src]
fn reloc_external(
&mut self,
_: CodeOffset,
_: SourceLoc,
_: Reloc,
_: &ExternalName,
_: Addend
)[src]Add a relocation referencing an external symbol at the current offset.
Add a relocation referencing a constant.
Add a relocation referencing a jump table.
Track a call site whose return address is the given CodeOffset, for the given opcode. Does nothing in general, only useful for certain embedders (SpiderMonkey). Read more
Auto Trait Implementations
impl RefUnwindSafe for NullRelocSinkimpl Send for NullRelocSinkimpl Sync for NullRelocSinkimpl Unpin for NullRelocSinkimpl UnwindSafe for NullRelocSink