Commit 2ea6b0a
committed
infra: add hir_type_from_cint/cuint to hir_type_c.h
Move hir_type_from_cuint from simplify_c.c to hir_type_c.h (shared).
Add hir_type_from_cint. Both construct HirType with HIR_SPEC_INT
specialization and embedded integer constant value. Needed for
LoadAttr specialization conversion (dict_version, slot_offset).1 parent 8382896 commit 2ea6b0a
2 files changed
Lines changed: 17 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
308 | 324 | | |
309 | 325 | | |
310 | 326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1646 | 1646 | | |
1647 | 1647 | | |
1648 | 1648 | | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
| 1649 | + | |
1656 | 1650 | | |
1657 | 1651 | | |
1658 | 1652 | | |
| |||
0 commit comments