Struct wasmtime_jit::trampoline::TrampolineRelocSink [−][src]
We don’t expect trampoline compilation to produce many relocations, so
this RelocSink just asserts that it doesn’t recieve most of them, but
handles libcall ones.
Implementations
impl TrampolineRelocSink[src]
pub fn relocs(&self) -> &[Relocation][src]
Returns collected relocations.
Trait Implementations
impl Default for TrampolineRelocSink[src]
fn default() -> TrampolineRelocSink[src]
impl RelocSink for TrampolineRelocSink[src]
fn reloc_external(
&mut self,
offset: CodeOffset,
_srcloc: SourceLoc,
reloc: Reloc,
name: &ExternalName,
addend: Addend
)[src]
&mut self,
offset: CodeOffset,
_srcloc: SourceLoc,
reloc: Reloc,
name: &ExternalName,
addend: Addend
)
fn reloc_constant(
&mut self,
_code_offset: CodeOffset,
_reloc: Reloc,
_constant_offset: ConstantOffset
)[src]
&mut self,
_code_offset: CodeOffset,
_reloc: Reloc,
_constant_offset: ConstantOffset
)
fn reloc_jt(&mut self, _offset: CodeOffset, _reloc: Reloc, _jt: JumpTable)[src]
pub fn add_call_site(&mut self, Opcode, u32, SourceLoc)[src]
Auto Trait Implementations
impl RefUnwindSafe for TrampolineRelocSink
impl Send for TrampolineRelocSink
impl Sync for TrampolineRelocSink
impl Unpin for TrampolineRelocSink
impl UnwindSafe for TrampolineRelocSink
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Pointable for T[src]
pub const ALIGN: usize[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T[src]
pub unsafe fn drop(ptr: usize)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,