Home
last modified time | relevance | path

Searched refs:jit (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Dlib.rs47 mod jit; module
120 jit: Option<jit::JitMemory<'a>>, field
151 jit: None, in new()
330 self.jit = Some(jit::JitMemory::new(prog, &self.helpers, true, false)?); in jit_compile()
403 match &self.jit { in execute_program_jit()
404 Some(jit) => Ok(jit.get_prog()( in execute_program_jit()
848 self.parent.jit = Some(jit::JitMemory::new(prog, &self.parent.helpers, true, true)?); in jit_compile()
911 match &self.parent.jit { in execute_program_jit()
912 Some(jit) => Ok(jit.get_prog()( in execute_program_jit()
1269 self.parent.jit = Some(jit::JitMemory::new( in jit_compile()
H A Djit.rs1012 let mut jit = JitCompiler::new(); in new() localVariable
1013 jit.jit_compile(&mut mem, prog, use_mbuff, update_data_ptr, helpers)?; in new()
1014 jit.resolve_jumps(&mut mem)?; in new()
/DragonOS/kernel/crates/rbpf/examples/
H A Drbpf_plugin.rs18 let mut jit: bool = false; in main() localVariable
48 jit = true; in main()
98 if jit { in main()
/DragonOS/kernel/crates/rbpf/
H A DCargo.toml41 cranelift-jit = { version = "0.99", optional = true }
58 "dep:cranelift-jit",
H A DREADME.md573 Note that when using this crate in `no_std` environments, the `jit` module
725 Rust_](https://www.sophiajt.com/building-a-simple-jit-in-rust),