about summary refs log tree commit diff stats
path: root/cpp/.traces/new_array
blob: 32a600fc6d05a5d48c0c33b7520847909c7e7a79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
parse/0: instruction: 36
parse/0:   ingredient: {name: "integer", value: 0, type: 0, properties: ["integer": "type"]}
parse/0:   ingredient: {name: "5", value: 0, type: 0, properties: ["5": "literal"]}
parse/0:   product: {name: "1", value: 0, type: 2-5-1, properties: ["1": "address":"array":"integer", "raw": ]}
parse/0: instruction: 36
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: 3
parse/0:   ingredient: {name: "2", value: 0, type: 2-1, properties: ["2": "address":"integer", "raw": ]}
parse/0:   ingredient: {name: "1", value: 0, type: 2-5-1, properties: ["1": "address":"array":"integer", "raw": ]}
parse/0:   product: {name: "3", value: 0, type: 1, properties: ["3": "integer", "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: subtract ...
new/0: routine allocated memory from 1000 to 101000
schedule/0: main
run/0: instruction main/0
mem/0: array size is 5
mem/0: new alloc: 1000
mem/0: storing 1000 in location 1
run/0: instruction main/1
mem/0: new alloc: 1005
mem/0: storing 1005 in location 2
run/0: instruction main/2
run/0: ingredient 0 is 2
mem/0: location 2 is 1005
run/0: ingredient 1 is 1
mem/0: location 1 is 1000
run/0: product 0 is 5
mem/0: storing 5 in location 3