about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-05 17:07:11 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-05 17:07:11 -0700
commit29057ed9e5c81aaa5b461d344ebdd7e713727965 (patch)
tree8309e8eba16c2458777aa2824868cdeaf2ff75bb
parentfb85b3b46d3e655f529e13b477fadf2782e63d94 (diff)
downloadmu-29057ed9e5c81aaa5b461d344ebdd7e713727965.tar.gz
2243
-rw-r--r--030container.cc2
-rw-r--r--031address.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/030container.cc b/030container.cc
index 817a8c47..4adf05a0 100644
--- a/030container.cc
+++ b/030container.cc
@@ -280,7 +280,7 @@ case GET_ADDRESS: {
     offset_value = offset.value;
   }
   reagent product = inst.products.at(0);
-  canonize_type(product);
+  // Update GET_ADDRESS product in Check
   reagent element;
   element.types = Type[base_type].elements.at(offset_value);
   element.types.insert(element.types.begin(), Type_ordinal["address"]);
diff --git a/031address.cc b/031address.cc
index 50c9c446..66172fbe 100644
--- a/031address.cc
+++ b/031address.cc
@@ -158,6 +158,8 @@ recipe main [
 
 :(after "Update GET_ADDRESS base in Check")
 if (!canonize_type(base)) break;
+:(after "Update GET_ADDRESS product in Check")
+if (!canonize_type(base)) break;
 :(after "Update GET_ADDRESS base in Run")
 base = canonize(base);