From 22df891893d30e9906d0b14fc3ae5d8e67d500b2 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sat, 3 Oct 2026 14:03:48 -0700 Subject: Chapter renumber, and split ch 17 Renumber chapters 10a, 10b, 11, 12, 13, 14 -> 10, 11, 13, 12, [11,14]. Split ch 17 into a 17a and 17b; shuffle around im/mutable syntax to be consistent, and present it more slowly. THe new immutable syntax is pushed through all later chapters --- chapter15/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chapter15/README.md') diff --git a/chapter15/README.md b/chapter15/README.md index 1485b04c..db0f2f1c 100644 --- a/chapter15/README.md +++ b/chapter15/README.md @@ -89,7 +89,7 @@ These `TypeStruct` arrays otherwise behave exactly as a `TypeStruct`. ## Allocation and partial memory -This chapter keeps Chapter 10b's single hidden `$mem` variable and lazy +This chapter keeps Chapter 11's single hidden `$mem` variable and lazy `BulkMemPhi`/`MemPhi` partitioning. Start produces `{ctrl, $mem, arg}` and Return consumes `{ctrl, $mem, value}`. Array initialization changes New: instead of separate initializing Stores, New allocates and zeros the object. @@ -233,6 +233,7 @@ This means the IR for: Notice the `idx+1` folds the `+1` into the base math. +Also notice this form is perfect for the X86 addressing modes. ## Discussion -- cgit v1.2.3