about summary refs log tree commit diff stats
path: root/cpp/013run
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-23 23:59:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-24 20:59:00 -0700
commit576990113273caed9a045380f1457adc1df6a5ee (patch)
tree0add69eef41b3eca78191c59b7bfbfaaedd980d8 /cpp/013run
parent7fb56277f54b9e2625357a433b18f60e4493f34a (diff)
downloadmu-576990113273caed9a045380f1457adc1df6a5ee.tar.gz
968
Diffstat (limited to 'cpp/013run')
-rw-r--r--cpp/013run6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/013run b/cpp/013run
index 26436392..fa7e3468 100644
--- a/cpp/013run
+++ b/cpp/013run
@@ -5,7 +5,7 @@ recipe main [
 ]
 +run: instruction main/0
 +run: ingredient 0 is 23
-+mem: storing in location 1
++mem: storing 23 in location 1
 
 :(scenario copy)
 recipe main [
@@ -15,7 +15,7 @@ recipe main [
 +run: instruction main/1
 +run: ingredient 0 is 1
 +mem: location 1 is 23
-+mem: storing in location 2
++mem: storing 23 in location 2
 
 :(before "End Types")
 // Book-keeping while running a recipe.
@@ -139,7 +139,7 @@ void write_memory(reagent x, vector<int> data) {
   size_t size = size_of(x);
   if (size != data.size()) raise << "size mismatch in storing to " << x.to_string();
   for (size_t offset = 0; offset < size; ++offset) {
-    trace("mem") << "storing in location " << base+offset;
+    trace("mem") << "storing " << data[offset] << " in location " << base+offset;
     Memory[base+offset] = data[offset];
   }
 }