Struct jit::CompiledFunction
[−]
[src]
pub struct CompiledFunction<'a> { // some fields omitted }
A function which has already been compiled from an UncompiledFunction
, so it can
be called but not added to.
A function persists for the lifetime of its containing context. This is a function which has already been compiled and is now in executable form.
Methods
impl<'a> CompiledFunction<'a>
fn with<A, R, F: FnOnce( extern "C" fn(A) -> R)>(self, cb: F)
Run a closure with the compiled function as an argument
Methods from Deref<Target=Func>
fn is_compiled(&self) -> bool
Check if the given function has been compiled
fn get_signature(&self) -> &Ty
Get the signature of the given function