about summary refs log tree commit diff stats
path: root/cpp/.traces/new
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-27 10:51:27 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-27 10:51:27 -0700
commite2240eb4e89721928fef4e694524e350fb0140cb (patch)
treed5ede45295705c9e50e72e46436dfec6e16017e1 /cpp/.traces/new
parent67bd9b1ba1f84c9a6d73378daf764355a09f3c4f (diff)
downloadmu-e2240eb4e89721928fef4e694524e350fb0140cb.tar.gz
987 - c++: memory allocator
Diffstat (limited to 'cpp/.traces/new')
-rw-r--r--cpp/.traces/new27
1 files changed, 27 insertions, 0 deletions
diff --git a/cpp/.traces/new b/cpp/.traces/new
new file mode 100644
index 00000000..c76e910b
--- /dev/null
+++ b/cpp/.traces/new
@@ -0,0 +1,27 @@
+parse/0: instruction: 24
+parse/0:   ingredient: {name: "integer", value: 0, type: 0, properties: [integer: type]}
+parse/0:   product: {name: "1", value: 0, type: 2-1, properties: [1: address:integer, raw: ]}
+parse/0: instruction: 24
+parse/0:   ingredient: {name: "integer", value: 0, type: 0, properties: [integer: type]}
+parse/0:   product: {name: "2", value: 0, type: 2-1, properties: [2: address:integer, raw: ]}
+parse/0: instruction: 13
+parse/0:   ingredient: {name: "1", value: 0, type: 2-1, properties: [1: address:integer, raw: ]}
+parse/0:   ingredient: {name: "2", value: 0, type: 2-1, properties: [2: address:integer, raw: ]}
+parse/0:   product: {name: "3", value: 0, type: 3, properties: [3: boolean, raw: ]}
+new/0: integer -> 1
+new/0: integer -> 1
+after-brace/0: recipe main
+after-brace/0: new ...
+after-brace/0: new ...
+after-brace/0: equal ...
+run/0: instruction main/0
+mem/0: storing 1000 in location 1
+run/0: instruction main/1
+mem/0: storing 1001 in location 2
+run/0: instruction main/2
+run/0: ingredient 0 is 1
+mem/0: location 1 is 1000
+run/0: ingredient 1 is 2
+mem/0: location 2 is 1001
+run/0: product 0 is 0
+mem/0: storing 0 in location 3