summaryrefslogtreecommitdiff
path: root/chapter23/README.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-10-18 22:09:58 -0700
committerCliff Click <cliffc@acm.org>2026-10-18 22:09:58 -0700
commit300d2a9c3672acacc8bdd8d5370a424651a00571 (patch)
treef33d895f6ec4e08692efa4c090c681257553097d /chapter23/README.md
parent0be52f8dd82f70d4c557fe916d47dc425401f848 (diff)
downloadSimple-300d2a9c3672acacc8bdd8d5370a424651a00571.tar.gz
Simple-300d2a9c3672acacc8bdd8d5370a424651a00571.zip
Cleanup & backportclinit
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.
Diffstat (limited to 'chapter23/README.md')
-rw-r--r--chapter23/README.md8
1 files changed, 8 insertions, 0 deletions
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