take alignment into account when calculating stack size

This commit is contained in:
Folkert 2021-08-11 22:37:00 +02:00
parent 2786e0e3d6
commit eb5439ee96
3 changed files with 36 additions and 1 deletions

View file

@ -247,7 +247,7 @@ fn jit_to_ast_help<'a>(
*(ptr.add(offset as usize) as *const i16) as i64
}
Builtin::Int64 => {
// used by non-recursive tag unions at the
// used by non-recursive unions at the
// moment, remove if that is no longer the case
*(ptr.add(offset as usize) as *const i64) as i64
}