implement layout for Tag

This commit is contained in:
Folkert 2020-03-16 13:09:01 +01:00
parent 8c7124aba6
commit d875f8bfce
5 changed files with 28 additions and 11 deletions

View file

@ -104,6 +104,7 @@ pub struct Env<'a, 'i> {
pub ident_ids: &'i mut IdentIds,
pub pointer_size: u32,
symbol_counter: usize,
pub jump_counter: &'a mut u64,
}
impl<'a, 'i> Env<'a, 'i> {
@ -217,6 +218,7 @@ impl<'a> Expr<'a> {
ident_ids,
pointer_size,
symbol_counter: 0,
jump_counter: arena.alloc(0),
};
from_can(&mut env, can_expr, procs, None)