about summary refs log tree commit diff stats
path: root/031address.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-09-28 22:21:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-09-28 22:21:15 -0700
commit86a6c9cd8952b4600f648519a64a86156d1a3e10 (patch)
tree8884fbb2348535e92bc61e1aee0d01773f2b3c08 /031address.cc
parentefb7c8d685ef8c7ec5a0e480b312003e907feaca (diff)
downloadmu-86a6c9cd8952b4600f648519a64a86156d1a3e10.tar.gz
2213 - start moving type checks out of 'run'
That way we only have to check each static instruction once, rather than
every time it runs.
Diffstat (limited to '031address.cc')
-rw-r--r--031address.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/031address.cc b/031address.cc
index 38a891ef..22a57189 100644
--- a/031address.cc
+++ b/031address.cc
@@ -29,9 +29,6 @@ if (x.value == 0) {
   return;
 }
 
-:(after "bool is_mu_array(reagent r)")
-r = canonize(r);
-
 //: writes to address 0 always loudly fail
 :(scenario store_to_0_warns)
 % Hide_warnings = true;
@@ -69,7 +66,7 @@ reagent lookup_memory(reagent x) {
   // populate types
   copy(++x.types.begin(), x.types.end(), inserter(result.types, result.types.begin()));
 
-  // drop-one 'lookup'
+  // drop one 'lookup'
   long long int i = 0;
   long long int len = SIZE(x.properties);
   for (i = 0; i < len; ++i) {