diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 17:54:46 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 17:54:46 -0700 |
commit | 82ceda30ad6fb32382bb6d0565c75fe6a1a01b9f (patch) | |
tree | 91b52744240749efdacb87a86455e753dab31e84 /cpp/.traces/routine_state_test | |
parent | 6d17ef493bbec78ebda37e50e0cc8ce21fd9f46b (diff) | |
download | mu-82ceda30ad6fb32382bb6d0565c75fe6a1a01b9f.tar.gz |
1267 - 'routine-state' can use the provided routine id
Diffstat (limited to 'cpp/.traces/routine_state_test')
-rw-r--r-- | cpp/.traces/routine_state_test | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/cpp/.traces/routine_state_test b/cpp/.traces/routine_state_test new file mode 100644 index 00000000..9616c23c --- /dev/null +++ b/cpp/.traces/routine_state_test @@ -0,0 +1,39 @@ +parse/0: instruction: start-running +parse/0: ingredient: {name: "f2", value: 0, type: 0, properties: ["f2": "recipe"]} +parse/0: product: {name: "1", value: 0, type: 1, properties: ["1": "integer", "child-id": ]} +parse/0: instruction: copy +parse/0: ingredient: {name: "0", value: 0, type: 0, properties: ["0": "literal"]} +parse/0: product: {name: "12", value: 0, type: 1, properties: ["12": "integer"]} +parse/0: instruction: routine-state +parse/0: ingredient: {name: "1", value: 0, type: 1, properties: ["1": "integer", "child-id": ]} +parse/0: product: {name: "2", value: 0, type: 1, properties: ["2": "integer", "state": ]} +parse/0: instruction: copy +parse/0: ingredient: {name: "0", value: 0, type: 0, properties: ["0": "literal"]} +parse/0: product: {name: "12", value: 0, type: 1, properties: ["12": "integer"]} +after-brace/0: recipe f1 +after-brace/0: start-running ... +after-brace/0: copy ... +after-brace/0: routine-state ... +after-brace/0: recipe f2 +after-brace/0: copy ... +new/0: routine allocated memory from 1000 to 101000 +schedule/0: f1 +run/0: instruction f1/0 +run/0: {name: "1", value: 1, type: 1, properties: ["1": "integer", "child-id": ]} <- start-running/34 {name: "f2", value: 0, type: 0, properties: ["f2": "recipe"]} +run/0: ingredient 0 is f2 +new/0: routine allocated memory from 101000 to 201000 +mem/0: storing 2 in location 1 +run/0: instruction f1/1 +run/0: {name: "12", value: 12, type: 1, properties: ["12": "integer"]} <- copy/1 {name: "0", value: 0, type: 0, properties: ["0": "literal"]} +run/0: ingredient 0 is 0 +mem/0: storing 0 in location 12 +schedule/0: f2 +run/0: instruction f2/0 +run/0: {name: "12", value: 12, type: 1, properties: ["12": "integer"]} <- copy/1 {name: "0", value: 0, type: 0, properties: ["0": "literal"]} +run/0: ingredient 0 is 0 +mem/0: storing 0 in location 12 +schedule/0: f1 +run/0: instruction f1/2 +run/0: {name: "2", value: 2, type: 1, properties: ["2": "integer", "state": ]} <- routine-state/35 {name: "1", value: 1, type: 1, properties: ["1": "integer", "child-id": ]} +mem/0: location 1 is 2 +mem/0: storing 1 in location 2 |