fix type size computations in parser

The type sizes are important to get right because
the ABI relies on them when it emits memory blits
to pass/return structs.
This commit is contained in:
Quentin Carbonneaux 2016-04-25 10:37:27 -04:00
parent f4e0bfbbb9
commit 12755db1aa
2 changed files with 11 additions and 12 deletions

2
all.h
View file

@ -431,7 +431,7 @@ struct Fn {
struct Typ {
char name[NString];
int dark;
uint size;
ulong size;
int align;
struct {