summaryrefslogtreecommitdiff
path: root/chapter28b/README.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-11-16 14:25:14 -0800
committerCliff Click <cliffc@acm.org>2026-11-16 14:25:14 -0800
commit0dcd3513a633479ce228f24826db4f09e4c0fc8b (patch)
treed8fb6d0fb382df5799789e9dc1eb0fae2d381cce /chapter28b/README.md
parent51a029304d8105b201bdfb81a7692b8a1b16b028 (diff)
downloadSimple-0dcd3513a633479ce228f24826db4f09e4c0fc8b.tar.gz
Simple-0dcd3513a633479ce228f24826db4f09e4c0fc8b.zip
Phi fix
Fix Phi/Add refactoring peephole to canonicalize regardless of peephole order. Treat class fcns as having `self` be the class pointer
Diffstat (limited to 'chapter28b/README.md')
-rw-r--r--chapter28b/README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/chapter28b/README.md b/chapter28b/README.md
index 84e538ea..5d8cbdf9 100644
--- a/chapter28b/README.md
+++ b/chapter28b/README.md
@@ -120,7 +120,14 @@ those exclusions by owner and slot, then restores the complement. Treating
this set as FULL would expose private library functions. Unknown callback
arguments, results, and unloaded summaries use the evolving Start/Stop state;
no frozen public-function list supplies their bounds. Hidden class receivers
-default to the defining class singleton even after import. The
+default to the defining class singleton even after import, following
+[chapter 28a's receiver model](../chapter28a/README.md#globals-use-the-same-receiver-as-fields).
+`SummaryNode` excludes that hidden receiver from its conservative argument-escape
+scan: the caller supplies no class object through the ABI, and actual publication
+of the callee's class fields is already represented by the saved summary state.
+Instance receivers remain ordinary arguments and participate in that scan.
+[ReceiverTest](src/test/java/com/seaofnodes/simple/ReceiverTest.java) checks a
+callback forwarded by another compiled class with a different field value. The
[escape-flow implementation notes](../chapter29/docs/escape-flow.md) explain
the shared design and the identity-remapping checks in more detail.