about summary refs log tree commit diff stats
path: root/036refcount.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-22 12:16:02 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-22 12:16:02 -0700
commite939023612da044098e649e1e77cacceb73c564d (patch)
tree065f3e158bfb78d97c12c0c4b435681e722fe7ba /036refcount.cc
parentada5eb55cb185edf30dcac48b25cc485d44677ef (diff)
downloadmu-e939023612da044098e649e1e77cacceb73c564d.tar.gz
3553
Tag all transforms as idempotent or not.
I'd fallen off this wagon.
I might even be getting it wrong. Something a type system should
automatically verify.
Diffstat (limited to '036refcount.cc')
-rw-r--r--036refcount.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/036refcount.cc b/036refcount.cc
index 5deaa675..688a4682 100644
--- a/036refcount.cc
+++ b/036refcount.cc
@@ -281,7 +281,7 @@ bool operator<(const address_element_info& a, const address_element_info& b) {
 //: already knowing the sizes of all types
 
 :(after "Transform.push_back(compute_container_sizes)")
-Transform.push_back(compute_container_address_offsets);
+Transform.push_back(compute_container_address_offsets);  // idempotent
 :(code)
 void compute_container_address_offsets(const recipe_ordinal r) {
   recipe& caller = get(Recipe, r);