Struct wasmtime_jit::CodeMemory [−][src]
pub struct CodeMemory { /* fields omitted */ }Expand description
Memory manager for executable code.
Implementations
impl CodeMemory[src]
impl CodeMemory[src]pub fn allocate_for_function<'a>(
&mut self,
func: &'a CompiledFunction
) -> Result<&mut [VMFunctionBody], String>[src]
pub fn allocate_for_function<'a>(
&mut self,
func: &'a CompiledFunction
) -> Result<&mut [VMFunctionBody], String>[src]Allocate a continuous memory block for a single compiled function. TODO: Reorganize the code that calls this to emit code directly into the mmap region rather than into a Vec that we need to copy in.
Auto Trait Implementations
impl RefUnwindSafe for CodeMemory
impl Send for CodeMemory
impl Sync for CodeMemory
impl Unpin for CodeMemory
impl UnwindSafe for CodeMemory
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,