Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::program_context::CommonProgramContext;

pub trait JitProvider {

    fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool;
}

pub struct NoJit {
    _no_construct: ()
}

impl JitProvider for NoJit {
    fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool {
        unreachable!()
    }
}