From a11d9c4a3375906bf8ae1117c6043776d2f08d17 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 3 May 2015 18:40:44 -0700 Subject: 1247 --- cpp/.traces/closure | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'cpp/.traces/closure') diff --git a/cpp/.traces/closure b/cpp/.traces/closure index 3ee1eb17..fdec57d7 100644 --- a/cpp/.traces/closure +++ b/cpp/.traces/closure @@ -63,13 +63,13 @@ after-brace/0: reply ... new/0: routine allocated memory from 1000 to 101000 schedule/0: main run/0: instruction main/0 -run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/41 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]} +run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]} mem/0: array size is 30 mem/0: new alloc: 1000 run/0: instruction main/1 run/0: {name: "1", value: 1, type: 2-5-1, properties: ["1": "address":"array":"location", "names": "init-counter"]} <- init-counter/1001 run/0: instruction init-counter/0 -run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/41 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]} +run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]} mem/0: array size is 30 mem/0: new alloc: 1031 run/0: instruction init-counter/1 @@ -81,18 +81,18 @@ run/0: {name: "y", value: 2, type: 1, properties: ["y": "integer"]} <- copy/1 {n run/0: ingredient 0 is 3 mem/0: storing 3 in location 1034 run/0: instruction init-counter/3 -run/0: reply/32 {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} +run/0: reply/33 {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} run/0: result 0 is 1031 mem/0: storing 1031 in location 1002 run/0: instruction main/2 run/0: {name: "2", value: 2, type: 1, properties: ["2": "integer", "raw": ]} <- increment-counter/1002 {name: "1", value: 1, type: 2-5-1, properties: ["1": "address":"array":"location", "names": "init-counter"]} mem/0: location 1002 is 1031 run/0: instruction increment-counter/0 -run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/41 {name: "space", value: 0, type: 0, properties: ["space": "literal"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]} +run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "space", value: 0, type: 0, properties: ["space": "literal"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]} mem/0: array size is 30 mem/0: new alloc: 1062 run/0: instruction increment-counter/1 -run/0: {name: "0", value: 0, type: 2-5-1, properties: ["0": "address":"array":"location", "names": "init-counter"]} <- next-ingredient/29 +run/0: {name: "0", value: 0, type: 2-5-1, properties: ["0": "address":"array":"location", "names": "init-counter"]} <- next-ingredient/30 run/0: product 0 is 1031 mem/0: storing 1031 in location 1063 run/0: instruction increment-counter/2 @@ -107,7 +107,7 @@ run/0: {name: "y", value: 1, type: 1, properties: ["y": "integer"]} <- copy/1 {n run/0: ingredient 0 is 234 mem/0: storing 234 in location 1064 run/0: instruction increment-counter/4 -run/0: reply/32 {name: "y", value: 2, type: 1, properties: ["y": "integer", "space": "1"]} +run/0: reply/33 {name: "y", value: 2, type: 1, properties: ["y": "integer", "space": "1"]} mem/0: location 1034 is 4 run/0: result 0 is 4 mem/0: storing 4 in location 2 @@ -115,11 +115,11 @@ run/0: instruction main/3 run/0: {name: "3", value: 3, type: 1, properties: ["3": "integer", "raw": ]} <- increment-counter/1002 {name: "1", value: 1, type: 2-5-1, properties: ["1": "address":"array":"location", "names": "init-counter"]} mem/0: location 1002 is 1031 run/0: instruction increment-counter/0 -run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/41 {name: "space", value: 0, type: 0, properties: ["space": "literal"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]} +run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/42 {name: "space", value: 0, type: 0, properties: ["space": "literal"]}, {name: "30", value: 30, type: 0, properties: ["30": "literal"]} mem/0: array size is 30 mem/0: new alloc: 1093 run/0: instruction increment-counter/1 -run/0: {name: "0", value: 0, type: 2-5-1, properties: ["0": "address":"array":"location", "names": "init-counter"]} <- next-ingredient/29 +run/0: {name: "0", value: 0, type: 2-5-1, properties: ["0": "address":"array":"location", "names": "init-counter"]} <- next-ingredient/30 run/0: product 0 is 1031 mem/0: storing 1031 in location 1094 run/0: instruction increment-counter/2 @@ -134,7 +134,7 @@ run/0: {name: "y", value: 1, type: 1, properties: ["y": "integer"]} <- copy/1 {n run/0: ingredient 0 is 234 mem/0: storing 234 in location 1095 run/0: instruction increment-counter/4 -run/0: reply/32 {name: "y", value: 2, type: 1, properties: ["y": "integer", "space": "1"]} +run/0: reply/33 {name: "y", value: 2, type: 1, properties: ["y": "integer", "space": "1"]} mem/0: location 1034 is 5 run/0: result 0 is 5 mem/0: storing 5 in location 3 -- cgit 1.4.1-2-gfad0