From 300d2a9c3672acacc8bdd8d5370a424651a00571 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sun, 18 Oct 2026 22:09:58 -0700 Subject: Cleanup & backport The phase rework, made new phases explicit and add them to the CodeGen driver. Fix the flag-spilling on X86 and ARM. Fix the GCM conservative anti-deps and backport. --- chapter23/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chapter23/README.md') diff --git a/chapter23/README.md b/chapter23/README.md index 85a5b201..c99d2441 100644 --- a/chapter23/README.md +++ b/chapter23/README.md @@ -376,6 +376,14 @@ will be cycle-equals (all other things being equals). +## Finalizing field layouts + +`FinalizeIR` now also settles field sizes and layouts, replaces symbolic field +offsets by constants, and runs peepholes exposed by those constants. Recursive +type construction must finish before layout is queried. The phase follows +`Iter` and precedes `TypeCheck`; the driver includes it when compiling through +any later stage. + ## Methods and Final Fields and Classes Methods are simply function values (final fields) declared inside a struct that -- cgit v1.2.3