feat: implement proper IR with value handles with dynamic and transferable types

This commit is contained in:
2026-01-01 15:50:26 +01:00
parent 3b8dfc4dae
commit 6f4ab269e2
8 changed files with 621 additions and 375 deletions

10
TODO.md
View File

@@ -17,4 +17,12 @@
- Live intervals
- Linear scan allocator with ~6 fake regs
- Spill to stack slots
- Add “CALL clobbers regs” rule
- Add “CALL clobbers regs” rule
function's reserved registers:
EAX, ECX, EDX
return registers:
int => EAX
float => ST0