Alastair Robertson
e1b16a3d7e
TypeGraph: Switch from pointers to references
...
References must always have a value, so are semantically clearer than
pointers for variables which must always be set.
No functional changes.
2023-07-06 17:24:33 +01:00
Alastair Robertson
23efc8d2d6
TypeGraph: Add Node IDs to non-leaf types
...
These aren't used for anything yet, but should be useful for stable IDs
when printing nodes before and after passes and for faster cycle
detection than the current map of pointers.
2023-07-06 14:54:30 +01:00
Alastair Robertson
1bb0c62987
Flattener: Attempt to take params from parent allocator in case of bad DWARF
2023-06-27 14:06:02 +01:00
Alastair Robertson
02b764157d
Tests: Add a CodeGen test
2023-06-23 14:23:53 +01:00
Alastair Robertson
e01b3fd327
TypeGraph: Add new CodeGen
...
This code mostly works, but is obviously not complete. This commit just
adds the code and tests, but does not enable it in OID or OIL.
2023-05-30 16:40:47 +01:00