feat: JIT (WIP)
This commit is contained in:
@@ -10,6 +10,7 @@ use super::super::common::Symbol;
|
||||
use super::super::public as p;
|
||||
use super::{ToPublic, Value};
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Constructor, Clone, PartialEq)]
|
||||
pub struct AttrSet<'vm> {
|
||||
data: HashTrieMap<Symbol, Value<'vm>>,
|
||||
@@ -82,7 +83,7 @@ impl<'vm> AttrSet<'vm> {
|
||||
&self.data
|
||||
}
|
||||
|
||||
pub fn force_deep(&mut self, vm: &VM<'vm>) -> Result<()> {
|
||||
pub fn force_deep(&mut self, vm: &VM<'vm, '_>) -> Result<()> {
|
||||
let mut map: Vec<_> = self
|
||||
.data
|
||||
.into_iter()
|
||||
@@ -169,7 +170,7 @@ impl<'vm> RecAttrSet<'vm> {
|
||||
RecAttrSet { data }
|
||||
}
|
||||
|
||||
pub fn force_deep(&mut self, vm: &VM<'vm>) -> Result<()> {
|
||||
pub fn force_deep(&mut self, vm: &VM<'vm, '_>) -> Result<()> {
|
||||
let mut map: Vec<_> = self
|
||||
.data
|
||||
.map
|
||||
|
||||
Reference in New Issue
Block a user