diff options
| author | 2022-09-01 13:04:26 +0200 | |
|---|---|---|
| committer | 2022-09-01 14:07:46 +0200 | |
| commit | 6ea6819e5a8b6e2b2c818249642e7923db9f81c8 (patch) | |
| tree | 01aeb453d0b18e2cad018970daedb216095ad028 /src/cffc.hff | |
| parent | 2e0160015d756702a799be95db237b7a91bae400 (diff) | |
on big aggregates big, use a hash map to lookup fields
Diffstat (limited to 'src/cffc.hff')
| -rw-r--r-- | src/cffc.hff | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cffc.hff b/src/cffc.hff index 6ae2c6d..4735828 100644 --- a/src/cffc.hff +++ b/src/cffc.hff @@ -1,6 +1,7 @@ import "libc.hff"; import "mem.hff"; import "option.hff"; +import "idxmap.hff"; /// Types @@ -112,6 +113,7 @@ struct Type { enumty *const Type, tpargs [#]TeplArg, flds [#]AggField, + idxmap IdxMap, decls *Env, }, BitF struct { @@ -119,6 +121,7 @@ struct Type { name *const u8, id int, flds [#]BitFField, + idxmap IdxMap, }, VaList, }, |