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/integer-to-decimal-digit-zero | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cpp/.traces/integer-to-decimal-digit-zero') diff --git a/cpp/.traces/integer-to-decimal-digit-zero b/cpp/.traces/integer-to-decimal-digit-zero index 64d5b93d..210d1e48 100644 --- a/cpp/.traces/integer-to-decimal-digit-zero +++ b/cpp/.traces/integer-to-decimal-digit-zero @@ -18,7 +18,7 @@ after-brace/0: memory-should-contain ... new/0: routine allocated memory from 1000 to 101000 schedule/0: integer-to-decimal-digit-zero run/0: instruction integer-to-decimal-digit-zero/0 -run/0: run/42 {name: " +run/0: run/43 {name: " 1:address:array:character/raw <- integer-to-decimal-string 0:literal 2:array:character/raw <- copy 1:address:array:character/deref/raw ", value: 0, type: 0, properties: [" @@ -37,11 +37,11 @@ after-brace/0: copy ... run/0: instruction run1001/0 run/0: {name: "1", value: 1, type: 2-5-4, properties: ["1": "address":"array":"character", "raw": ]} <- integer-to-decimal-string/105 {name: "0", value: 0, type: 0, properties: ["0": "literal"]} run/0: instruction integer-to-decimal-string/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 integer-to-decimal-string/1 -run/0: {name: "n", value: 1, type: 1, properties: ["n": "integer"]} <- next-ingredient/29 +run/0: {name: "n", value: 1, type: 1, properties: ["n": "integer"]} <- next-ingredient/30 run/0: product 0 is 0 mem/0: storing 0 in location 1002 run/0: instruction integer-to-decimal-string/3 @@ -50,10 +50,10 @@ mem/0: location 1002 is 0 run/0: ingredient 0 is 0 run/0: jump-if fell through run/0: instruction integer-to-decimal-string/4 -run/0: {name: "result", value: 2, type: 2-5-4, properties: ["result": "address":"array":"character"]} <- new/41 {name: "0", value: 0, type: 0, properties: ["0": "literal-string"]} +run/0: {name: "result", value: 2, type: 2-5-4, properties: ["result": "address":"array":"character"]} <- new/42 {name: "0", value: 0, type: 0, properties: ["0": "literal-string"]} mem/0: storing 1031 in location 1003 run/0: instruction integer-to-decimal-string/5 -run/0: reply/32 {name: "result", value: 2, type: 2-5-4, properties: ["result": "address":"array":"character"]} +run/0: reply/33 {name: "result", value: 2, type: 2-5-4, properties: ["result": "address":"array":"character"]} mem/0: location 1003 is 1031 run/0: result 0 is 1031 mem/0: storing 1031 in location 1 @@ -66,7 +66,7 @@ mem/0: location 1032 is 48 mem/0: storing 1 in location 2 mem/0: storing 48 in location 3 run/0: instruction integer-to-decimal-digit-zero/1 -run/0: memory-should-contain/43 {name: " +run/0: memory-should-contain/44 {name: " 2:string <- [0] ", value: 0, type: 0, properties: [" 2:string <- [0] -- cgit 1.4.1-2-gfad0