New declosure impl

This commit is contained in:
UditDey
2026-09-13 10:31:13 +00:00
parent d026165e7a
commit 61c4971fa6
5 changed files with 217 additions and 15 deletions
-2
View File
@@ -43,7 +43,6 @@ pub struct RegFn {
pub arg_count: usize,
pub val_count: usize,
pub cpool: Vec<JsValue>,
pub captures: Vec<ClosureVar>,
pub code: Vec<RegInstr>,
pub blocks: Vec<BasicBlock>,
}
@@ -85,7 +84,6 @@ impl RegFn {
arg_count: flat_fn.arg_count,
val_count: next_val,
cpool: flat_fn.cpool,
captures: flat_fn.captures,
code: out,
blocks,
}