diff options
| author | Cliff Click <cliffc@acm.org> | 2026-11-15 11:20:40 -0800 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2026-11-15 11:20:40 -0800 |
| commit | f0a6c6757a795b8e186de0076836a87acef59fa7 (patch) | |
| tree | ef45c1b58093420bbd2de6647274139e46539bfe /chapter29/docs | |
| parent | 7e66b7ae6b00a2e1652db32f01f0bf480508ef05 (diff) | |
| download | Simple-f0a6c6757a795b8e186de0076836a87acef59fa7.tar.gz Simple-f0a6c6757a795b8e186de0076836a87acef59fa7.zip | |
Graphics now allow resizemain
Reorganize docs.
Fix bugs X86 LOad+cmp scheduling.
Math intrinsics
Diffstat (limited to 'chapter29/docs')
| -rw-r--r-- | chapter29/docs/construction-groups.md | 6 | ||||
| -rw-r--r-- | chapter29/docs/deferred-construction.md | 5 | ||||
| -rw-r--r-- | chapter29/docs/escape-flow.md | 6 |
3 files changed, 15 insertions, 2 deletions
diff --git a/chapter29/docs/construction-groups.md b/chapter29/docs/construction-groups.md index 197a6082..58ca526c 100644 --- a/chapter29/docs/construction-groups.md +++ b/chapter29/docs/construction-groups.md @@ -1,5 +1,8 @@ # Construction: field types and incomplete references +Start with [Chapter 29's constructor and partial-reference explanation](../README.md#checking-constructor-completion). +This supplement details the type flow and records a separate deferred proposal. + Instance constructors use ordinary field Loads and Stores. There are two checks: whether a field has a value, and whether an object reference is usable outside construction. Neither requires a collection of constructor-group identities. @@ -31,7 +34,8 @@ reads may be removed by DCE. The allocator's ConstructNode retains the constructor's final private memory for its completion check. TypeCheck gathers these nodes during its existing error walk and removes checked boundaries before lowering. The pass removal -exposes known failures; see [the late-check notes](deferred-construction.md). +exposed failures during development; the [late-check experiment](deferred-construction.md) +records them and links the subsequent escape-flow fixes. Internal construction memory parameters use actual allocation/initializer call edges; the hypothetical external caller does not supply their memory. They diff --git a/chapter29/docs/deferred-construction.md b/chapter29/docs/deferred-construction.md index 104ab9e9..e232e1c0 100644 --- a/chapter29/docs/deferred-construction.md +++ b/chapter29/docs/deferred-construction.md @@ -1,5 +1,10 @@ # Deferring construction checks: experiment +This is a development record for Chapter 29. Read the +[chapter's constructor explanation](../README.md#checking-constructor-completion) +for the implemented behavior; the experiments below include superseded approaches +and dated test results. + The [escape-flow continuation](escape-flow.md) supersedes the frozen-public fallback and remaining recursive-test failures described later in these notes. All four recursive examples now pass their original printed-IR expectations. diff --git a/chapter29/docs/escape-flow.md b/chapter29/docs/escape-flow.md index 8ad49f15..c09177ed 100644 --- a/chapter29/docs/escape-flow.md +++ b/chapter29/docs/escape-flow.md @@ -1,5 +1,9 @@ # Outside-world escape flow +For the teaching sequence, read [escape analysis in Chapter 27](../../chapter27/README.md) +and [the later precision fixes in Chapter 29](../README.md#keeping-private-code-out-of-the-outside-world-summary). +This supplement records implementation dependencies and backport details. + The `escape-flow` branch developed this design in Chapter29 and backported it to Chapters 28a/28b. Chapter28a uses `LocalIds` and its existing initializer root/lowering protocol; Chapter28b adds saved summaries and cofinite identity @@ -125,7 +129,7 @@ later. This limitation is not repaired by resetting the whole IR. ## Validation -The combined `make -k tests CHAPTERS="chapter28a chapter28b chapter29" CTAGS=` +The combined `make -k tests CHAPTERS="chapter28a chapter28b chapter29"` run passes with assertions: 538 active tests in Chapter28a, 578 in Chapter28b, and 601 in Chapter29. Shared printer and ISA checks pass too. The log is saved under ignored `build/escape-backport-final.log`. |
