feat: JIT (WIP)

This commit is contained in:
2025-05-17 12:18:02 +08:00
parent 15df7e55c9
commit 85f06a30cd
3 changed files with 60 additions and 9 deletions

View File

@@ -4,7 +4,6 @@ use std::ops::Deref;
use crate::error::*;
pub struct Stack<T, const CAP: usize> {
// items: Box<[MaybeUninit<Value<'vm>>; CAP]>,
items: [MaybeUninit<T>; CAP],
top: usize,
}