From 3ba6686fc991998a0a420709dfb0012bbddf77ab Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Tue, 29 Sep 2026 12:21:46 -0700 Subject: Backport lazy memory splits to ch10, split into ch10a and b --- chapter10b/docs/example1.gv | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chapter10b/docs/example1.gv') diff --git a/chapter10b/docs/example1.gv b/chapter10b/docs/example1.gv index 2194ae8f..0b0a5feb 100644 --- a/chapter10b/docs/example1.gv +++ b/chapter10b/docs/example1.gv @@ -1,11 +1,13 @@ digraph Memory { - rankdir=LR; + rankdir=BT; node [shape=box]; M [label="Initial memory"]; X [label="Store x = 42"]; Y [label="Loop: Store y"]; - L [label="Load x -> 42"]; + L [label="Load x (42)"]; L -> X -> M [color=blue]; Y -> M [color=green]; MemMerge -> X [color=blue]; MemMerge -> Y [color=green]; Return -> MemMerge; Return -> L; + { rank=same; MemMerge -> L [style=invis]; } + Y -> X [style=invis]; // Layout only: keep the stores in code order. } -- cgit v1.2.3