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/index_direct_offset | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpp/.traces/index_direct_offset') diff --git a/cpp/.traces/index_direct_offset b/cpp/.traces/index_direct_offset index 4b15fa3b..c31f843e 100644 --- a/cpp/.traces/index_direct_offset +++ b/cpp/.traces/index_direct_offset @@ -27,21 +27,27 @@ after-brace/0: index ... 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"]} <- copy {name: "0", value: 0, type: 0, properties: ["0": "literal"]} run/0: ingredient 0 is 0 mem/0: storing 0 in location 5 run/0: instruction main/5 +run/0: {name: "6", value: 6, type: 1, properties: ["6": "integer"]} <- index {name: "1", value: 1, type: 5-1, properties: ["1": "array":"integer"]}, {name: "5", value: 5, type: 1, properties: ["5": "integer"]} run/0: ingredient 0 is {name: "1", value: 1, type: 5-1, properties: ["1": "array":"integer"]} run/0: ingredient 1 is {name: "5", value: 5, type: 1, properties: ["5": "integer"]} mem/0: location 5 is 0 -- cgit 1.4.1-2-gfad0