Commit afdecf4
fix: update AST size assertions after enum layout changes
Account for the old bootstrap compiler still seeing the previous
Item and ItemKind sizes, while the new compiler sees the smaller
layouts produced by the enum layout optimization.
Update print-type-size output for enums that now fit in less space.
Signed-off-by: Vicente Gusmão <vicente.gusmao@tecnico.ulisboa.pt>
Co-authored-by: Miguel Marques <miguel.m.marques@tecnico.ulisboa.pt>1 parent 1098028 commit afdecf4
2 files changed
Lines changed: 16 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4359 | 4359 | | |
4360 | 4360 | | |
4361 | 4361 | | |
| 4362 | + | |
4362 | 4363 | | |
| 4364 | + | |
| 4365 | + | |
| 4366 | + | |
4363 | 4367 | | |
| 4368 | + | |
| 4369 | + | |
4364 | 4370 | | |
4365 | 4371 | | |
4366 | 4372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
7 | 6 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
16 | 12 | | |
17 | | - | |
18 | | - | |
19 | 13 | | |
20 | 14 | | |
21 | 15 | | |
| |||
0 commit comments