Trait bf::jit::JitCompilable [−][src]
pub trait JitCompilable {
fn with_peephole<F, R>(&self, k: F) -> R
where
F: FnOnce(&Program) -> R;
fn jit_compile(&self, checked: bool) -> Program { ... }
}Program forms that can be JIT compiled.
Required Methods
fn with_peephole<F, R>(&self, k: F) -> R where
F: FnOnce(&Program) -> R,
F: FnOnce(&Program) -> R,
Compile the given program into the peephole AST to prepare for JIT compilation.
Provided Methods
fn jit_compile(&self, checked: bool) -> Program
JIT compile the given program.
Implementors
impl JitCompilable for Programimpl<T: PeepholeCompilable + ?Sized> JitCompilable for T