about summary refs log tree commit diff stats
path: root/cpp/017record
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-25 01:24:11 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-25 01:24:11 -0800
commit6f5d7864f6c0c62b8849349cb182c61f8dbed452 (patch)
treec4c22032dc09eefbc3b55268044d29607804c4fd /cpp/017record
parentdc3803320013059ad400853e3f6a2851f7f82c04 (diff)
downloadmu-6f5d7864f6c0c62b8849349cb182c61f8dbed452.tar.gz
832 - call-stack for C++ version
These #defines and references now span many different layers. Let's see
if the lack of encapsulation causes problems.

Also interesting to run into a case where I need to modify a
foundational layer and touch every single scenario/trace. Only
alternative was to duplicate all the different layers that add
instructions. Sign of problems with this model?
Diffstat (limited to 'cpp/017record')
-rw-r--r--cpp/017record6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/017record b/cpp/017record
index 3dbd21c0..6ce9da1d 100644
--- a/cpp/017record
+++ b/cpp/017record
@@ -63,7 +63,7 @@ recipe main [
   13:integer <- copy 35:literal
   15:integer <- get 12:point, 1:offset
 ]
-+run: instruction 2
++run: instruction main/2
 +run: ingredient 0 is 12
 +run: ingredient 1 is 1
 +run: address to copy is 13
@@ -90,7 +90,7 @@ recipe main [
   14:integer <- copy 36:literal
   15:integer <- get 12:point-integer, 1:offset
 ]
-+run: instruction 2
++run: instruction main/2
 +run: ingredient 0 is 12
 +run: ingredient 1 is 1
 +run: address to copy is 14
@@ -133,7 +133,7 @@ recipe main [
   13:integer <- copy 35:literal
   15:address:integer <- get-address 12:point, 1:offset
 ]
-+run: instruction 2
++run: instruction main/2
 +run: ingredient 0 is 12
 +run: ingredient 1 is 1
 +run: address to copy is 13