about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-28 22:41:19 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-28 22:41:19 -0800
commitf78f1907a1b58720eaef83f19c0f41387159774d (patch)
tree9c00f4afcaab8a92a42750d3138bcba8316179fd
parent808e171dbda290fc1f7d70c3bce0b6d339f87859 (diff)
downloadmu-f78f1907a1b58720eaef83f19c0f41387159774d.tar.gz
2498
Just one tangle of dependencies left in the transforms. Untangling it
will require one more region: for transforms modifying types (inside
instructions).
-rw-r--r--048check_type_by_name.cc2
-rw-r--r--999spaces.cc10
2 files changed, 8 insertions, 4 deletions
diff --git a/048check_type_by_name.cc b/048check_type_by_name.cc
index f229263e..c741e037 100644
--- a/048check_type_by_name.cc
+++ b/048check_type_by_name.cc
@@ -15,7 +15,9 @@ recipe main [
 +error: main: x used with multiple types
 
 :(after "Begin Instruction Modifying Transforms")
+// Begin Type Modifying Transforms
 Transform.push_back(check_types_by_name);  // idempotent
+// End Type Modifying Transforms
 
 :(code)
 void check_types_by_name(const recipe_ordinal r) {
diff --git a/999spaces.cc b/999spaces.cc
index 33d14453..8a90dbb4 100644
--- a/999spaces.cc
+++ b/999spaces.cc
@@ -44,10 +44,12 @@ assert(Max_callstack_depth == 9989);
 //:     56.2 check header ingredients
 //:      ↳ 56.4 fill in reply ingredients
 //:
-//:     48 check types by name
-//:      ↓ ↱ 56.3 deduce types from header
-//:      ↓ ↑ ↳ 57 static dispatch
-//:      ↳ 56 check reply instructions against header
+//:     begin type modifying transforms
+//:       48 check types by name
+//:        ↓ ↱ 56.3 deduce types from header
+//:        ↓ ↑ ↳ 57 static dispatch
+//:        ↳ 56 check reply instructions against header
+//:     end type modifying transforms
 //:
 //:     30 check or set invalid containers
 //:     ---