From 72cccd08c7a3462072b8ae5aea1576f010bf12c0 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 29 Apr 2015 23:55:51 -0700 Subject: 1225 Finally start tracing the actual instructions as they run. --- cpp/.traces/array_length | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpp/.traces/array_length') diff --git a/cpp/.traces/array_length b/cpp/.traces/array_length index 937d5d5c..bd5f2a56 100644 --- a/cpp/.traces/array_length +++ b/cpp/.traces/array_length @@ -22,16 +22,21 @@ after-brace/0: length ... new/0: routine allocated memory from 1000 to 101000 schedule/0: main run/0: instruction main/0 +run/0: {name: "1", value: 1, type: 1, properties: ["1": "integer"]} <- copy {name: "3", value: 3, type: 0, properties: ["3": "literal"]} run/0: ingredient 0 is 3 mem/0: storing 3 in location 1 run/0: instruction main/1 +run/0: {name: "2", value: 2, type: 1, properties: ["2": "integer"]} <- copy {name: "14", value: 14, type: 0, properties: ["14": "literal"]} run/0: ingredient 0 is 14 mem/0: storing 14 in location 2 run/0: instruction main/2 +run/0: {name: "3", value: 3, type: 1, properties: ["3": "integer"]} <- copy {name: "15", value: 15, type: 0, properties: ["15": "literal"]} run/0: ingredient 0 is 15 mem/0: storing 15 in location 3 run/0: instruction main/3 +run/0: {name: "4", value: 4, type: 1, properties: ["4": "integer"]} <- copy {name: "16", value: 16, type: 0, properties: ["16": "literal"]} run/0: ingredient 0 is 16 mem/0: storing 16 in location 4 run/0: instruction main/4 +run/0: {name: "5", value: 5, type: 1, properties: ["5": "integer"]} <- length {name: "1", value: 1, type: 5-1, properties: ["1": "array":"integer"]} mem/0: storing 3 in location 5 -- cgit 1.4.1-2-gfad0