diff options
Diffstat (limited to 'cpp/.traces/new_array')
-rw-r--r-- | cpp/.traces/new_array | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/.traces/new_array b/cpp/.traces/new_array index e692fc38..1cf28797 100644 --- a/cpp/.traces/new_array +++ b/cpp/.traces/new_array @@ -18,13 +18,16 @@ after-brace/0: subtract ... new/0: routine allocated memory from 1000 to 101000 schedule/0: main run/0: instruction main/0 +run/0: {name: "1", value: 1, type: 2-5-1, properties: ["1": "address":"array":"integer", "raw": ]} <- new {name: "integer", value: 1, type: 0, properties: ["integer": "type"]}, {name: "5", value: 5, type: 0, properties: ["5": "literal"]} mem/0: array size is 5 mem/0: new alloc: 1000 mem/0: storing 1000 in location 1 run/0: instruction main/1 +run/0: {name: "2", value: 2, type: 2-1, properties: ["2": "address":"integer", "raw": ]} <- new {name: "integer", value: 1, type: 0, properties: ["integer": "type"]} mem/0: new alloc: 1005 mem/0: storing 1005 in location 2 run/0: instruction main/2 +run/0: {name: "3", value: 3, type: 1, properties: ["3": "integer", "raw": ]} <- subtract {name: "2", value: 2, type: 2-1, properties: ["2": "address":"integer", "raw": ]}, {name: "1", value: 1, type: 2-5-1, properties: ["1": "address":"array":"integer", "raw": ]} run/0: ingredient 0 is 2 mem/0: location 2 is 1005 run/0: ingredient 1 is 1 |