diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 18:30:53 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 18:30:53 -0700 |
commit | 363685b87d15307c91d1f330f44b57bf377361a8 (patch) | |
tree | 0c4507ea89af78a7086670f4b4668fb75a505959 /cpp/.traces/array-from-args | |
parent | d98e1a188725f75ba54926e50badfc8b1fe74bc3 (diff) | |
download | mu-363685b87d15307c91d1f330f44b57bf377361a8.tar.gz |
1269 - 'wait-for-routine'
Diffstat (limited to 'cpp/.traces/array-from-args')
-rw-r--r-- | cpp/.traces/array-from-args | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/.traces/array-from-args b/cpp/.traces/array-from-args index 58df5f9e..695f32cb 100644 --- a/cpp/.traces/array-from-args +++ b/cpp/.traces/array-from-args @@ -24,7 +24,7 @@ after-brace/0: memory-should-contain ... new/0: routine allocated memory from 1000 to 101000 schedule/0: array-from-args run/0: instruction array-from-args/0 -run/0: run/44 {name: " +run/0: run/45 {name: " 1:address:array:location <- init-array 0:literal, 1:literal, 2:literal 2:array:location <- copy 1:address:array:location/deref ", value: 0, type: 0, properties: [" @@ -45,7 +45,7 @@ after-brace/0: copy ... run/0: instruction run1001/0 run/0: {name: "1", value: 1, type: 2-5-1, properties: ["1": "address":"array":"location"]} <- init-array/114 {name: "0", value: 0, type: 0, properties: ["0": "literal"]}, {name: "1", value: 1, type: 0, properties: ["1": "literal"]}, {name: "2", value: 2, type: 0, properties: ["2": "literal"]} run/0: instruction init-array/0 -run/0: {name: "default-space", value: 0, type: 2-5-1, properties: ["default-space": "address":"array":"location"]} <- new/43 {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/44 {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 init-array/1 @@ -125,7 +125,7 @@ run/0: ingredient 0 is 0 run/0: ingredient 1 is run/0: jumping to instruction 7 run/0: instruction init-array/8 -run/0: {name: "result", value: 4, type: 2-5-1, properties: ["result": "address":"array":"location"]} <- new/43 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "capacity", value: 1, type: 1, properties: ["capacity": "integer"]} +run/0: {name: "result", value: 4, type: 2-5-1, properties: ["result": "address":"array":"location"]} <- new/44 {name: "location", value: 1, type: 0, properties: ["location": "type"]}, {name: "capacity", value: 1, type: 1, properties: ["capacity": "integer"]} mem/0: location 1002 is 3 mem/0: array size is 3 mem/0: new alloc: 1031 @@ -312,7 +312,7 @@ mem/0: storing 0 in location 3 mem/0: storing 1 in location 4 mem/0: storing 2 in location 5 run/0: instruction array-from-args/1 -run/0: memory-should-contain/45 {name: " +run/0: memory-should-contain/46 {name: " 2 <- 3 # array length 3 <- 0 4 <- 1 |