about summary refs log tree commit diff stats
path: root/cpp/.traces/memory_check_string
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-01 15:56:43 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-01 16:53:26 -0700
commitc0ac457610db622d8f77c7317cab4c418c94c8c5 (patch)
tree772abcd98f180ee523113eae238c88c58e5acd78 /cpp/.traces/memory_check_string
parent0a8b00c06d4a41b3604c7f8c5065d93296848d78 (diff)
downloadmu-c0ac457610db622d8f77c7317cab4c418c94c8c5.tar.gz
1231
Diffstat (limited to 'cpp/.traces/memory_check_string')
-rw-r--r--cpp/.traces/memory_check_string52
1 files changed, 52 insertions, 0 deletions
diff --git a/cpp/.traces/memory_check_string b/cpp/.traces/memory_check_string
new file mode 100644
index 00000000..d81ccd3e
--- /dev/null
+++ b/cpp/.traces/memory_check_string
@@ -0,0 +1,52 @@
+parse/0: instruction: copy
+parse/0:   ingredient: {name: "3", value: 0, type: 0, properties: ["3": "literal"]}
+parse/0:   product: {name: "1", value: 0, type: 1, properties: ["1": "integer"]}
+parse/0: instruction: copy
+parse/0:   ingredient: {name: "97", value: 0, type: 0, properties: ["97": "literal"]}
+parse/0:   product: {name: "2", value: 0, type: 1, properties: ["2": "integer"]}
+parse/0: instruction: copy
+parse/0:   ingredient: {name: "98", value: 0, type: 0, properties: ["98": "literal"]}
+parse/0:   product: {name: "3", value: 0, type: 1, properties: ["3": "integer"]}
+parse/0: instruction: copy
+parse/0:   ingredient: {name: "99", value: 0, type: 0, properties: ["99": "literal"]}
+parse/0:   product: {name: "4", value: 0, type: 1, properties: ["4": "integer"]}
+parse/0: instruction: memory-should-contain
+parse/0:   ingredient: {name: "
+    1:string <- [abc]
+  ", value: 0, type: 0, properties: ["
+    1:string <- [abc]
+  ": "literal-string"]}
+after-brace/0: recipe main
+after-brace/0: copy ...
+after-brace/0: copy ...
+after-brace/0: copy ...
+after-brace/0: copy ...
+after-brace/0: memory-should-contain ...
+new/0: routine allocated memory from 1000 to 101000
+schedule/0: main
+run/0: instruction main/0
+run/0: {name: "1", value: 1, type: 1, properties: ["1": "integer"]} <- copy {name: "3", value: 3, type: 0, properties: ["3": "literal"]}
+run/0: ingredient 0 is 3
+mem/0: storing 3 in location 1
+run/0: instruction main/1
+run/0: {name: "2", value: 2, type: 1, properties: ["2": "integer"]} <- copy {name: "97", value: 97, type: 0, properties: ["97": "literal"]}
+run/0: ingredient 0 is 97
+mem/0: storing 97 in location 2
+run/0: instruction main/2
+run/0: {name: "3", value: 3, type: 1, properties: ["3": "integer"]} <- copy {name: "98", value: 98, type: 0, properties: ["98": "literal"]}
+run/0: ingredient 0 is 98
+mem/0: storing 98 in location 3
+run/0: instruction main/3
+run/0: {name: "4", value: 4, type: 1, properties: ["4": "integer"]} <- copy {name: "99", value: 99, type: 0, properties: ["99": "literal"]}
+run/0: ingredient 0 is 99
+mem/0: storing 99 in location 4
+run/0: instruction main/4
+run/0: memory-should-contain {name: "
+    1:string <- [abc]
+  ", value: 0, type: 0, properties: ["
+    1:string <- [abc]
+  ": "literal-string"]}
+run/0: checking array length at 1
+run/0: checking location 2
+run/0: checking location 3
+run/0: checking location 4