feat: bumpalo
This commit is contained in:
@@ -165,10 +165,10 @@ impl<'vm, 'ctx: 'vm> JITContext<'ctx> {
|
||||
.unwrap()
|
||||
}
|
||||
|
||||
pub fn compile_function(
|
||||
pub fn compile_function<'bump>(
|
||||
&self,
|
||||
func: &Func,
|
||||
vm: &'vm VM<'_>,
|
||||
vm: &'vm VM<'ctx>,
|
||||
) -> Result<JitFunction<'ctx, JITFunc<'ctx, 'vm>>> {
|
||||
let mut stack = Stack::<_, STACK_SIZE>::new();
|
||||
let mut iter = func.opcodes.iter().copied();
|
||||
|
||||
Reference in New Issue
Block a user