feat: bumpalo
This commit is contained in:
@@ -52,10 +52,10 @@ impl<'jit: 'vm, 'vm> AttrSet<'jit, 'vm> {
|
||||
self.data.get(&sym).is_some()
|
||||
}
|
||||
|
||||
pub fn capture(&mut self, env: &Rc<VmEnv<'jit, 'vm>>) {
|
||||
pub fn capture(&mut self, env: &'vm VmEnv<'jit, 'vm>) {
|
||||
self.data.iter().for_each(|(_, v)| {
|
||||
if let Value::Thunk(ref thunk) = v.clone() {
|
||||
thunk.capture(Rc::clone(env));
|
||||
thunk.capture(env);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user