bigger tag size fixes

This commit is contained in:
Folkert 2021-07-24 13:36:06 +02:00
parent 2b84fd0009
commit 768c59f45d
4 changed files with 16 additions and 3 deletions

View file

@ -245,6 +245,11 @@ fn jit_to_ast_help<'a>(
Builtin::Int16 => {
*(ptr.add(offset as usize) as *const i16) as i64
}
Builtin::Int64 => {
// used by non-recursive tag unions at the
// moment, remove if that is no longer the case
*(ptr.add(offset as usize) as *const i64) as i64
}
_ => unreachable!("invalid tag id layout"),
};