about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-04-20 09:54:10 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-04-20 09:54:10 -0700
commit249cc0817581d5144559c4b21936eb9588282a1f (patch)
tree614e1d48c01c47ae4e8bb95da08a0e062153a8ca
parent13485a58eaaa64ab7d90b16a37442083da0a5d1a (diff)
downloadmu-249cc0817581d5144559c4b21936eb9588282a1f.tar.gz
2846
-rw-r--r--031container.cc8
-rw-r--r--032array.cc8
-rw-r--r--043space.cc10
3 files changed, 13 insertions, 13 deletions
diff --git a/031container.cc b/031container.cc
index b4a5304c..dcaa15c0 100644
--- a/031container.cc
+++ b/031container.cc
@@ -183,10 +183,10 @@ case GET: {
   for (int i = 0; i < offset; ++i)
     src += size_of(element_type(base, i));
   trace(9998, "run") << "address to copy is " << src << end();
-  reagent tmp = element_type(base, offset);
-  tmp.set_value(src);
-  trace(9998, "run") << "its type is " << names_to_string(tmp.type) << end();
-  products.push_back(read_memory(tmp));
+  reagent elem = element_type(base, offset);
+  elem.set_value(src);
+  trace(9998, "run") << "its type is " << names_to_string(elem.type) << end();
+  products.push_back(read_memory(elem));
   break;
 }
 
diff --git a/032array.cc b/032array.cc
index bd28fef3..f4b6a943 100644
--- a/032array.cc
+++ b/032array.cc
@@ -221,10 +221,10 @@ case INDEX: {
   int src = base_address + 1 + offset_val.at(0)*size_of(element_type);
   trace(9998, "run") << "address to copy is " << src << end();
   trace(9998, "run") << "its type is " << get(Type, element_type->value).name << end();
-  reagent tmp;
-  tmp.set_value(src);
-  tmp.type = new type_tree(*element_type);
-  products.push_back(read_memory(tmp));
+  reagent elem;
+  elem.set_value(src);
+  elem.type = new type_tree(*element_type);
+  products.push_back(read_memory(elem));
   break;
 }
 
diff --git a/043space.cc b/043space.cc
index 51c84af6..3bb940e7 100644
--- a/043space.cc
+++ b/043space.cc
@@ -50,7 +50,7 @@ int default_space;
 default_space = 0;
 
 :(before "End canonize(x) Special-cases")
-  absolutize(x);
+absolutize(x);
 :(code)
 void absolutize(reagent& x) {
   if (is_raw(x) || is_dummy(x)) return;
@@ -131,8 +131,8 @@ def main [
 ]
 +mem: storing 35 in location 9
 
-:(after "reagent tmp" following "case GET:")
-tmp.properties.push_back(pair<string, string_tree*>("raw", NULL));
+:(after "reagent elem" following "case GET:")
+elem.properties.push_back(pair<string, string_tree*>("raw", NULL));
 
 //:: fix 'index'
 
@@ -152,8 +152,8 @@ def main [
 ]
 +mem: storing 35 in location 9
 
-:(after "reagent tmp" following "case INDEX:")
-tmp.properties.push_back(pair<string, string_tree*>("raw", NULL));
+:(after "reagent elem" following "case INDEX:")
+elem.properties.push_back(pair<string, string_tree*>("raw", NULL));
 
 //:: convenience operation to automatically deduce the amount of space to
 //:: allocate in a default space with names