From decaddb418abcb6094e339f1b8dd4bb519b761ad Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 16 Mar 2015 23:41:01 -0700 Subject: 941 - c++: basic break/loop conversion --- cpp/.traces/run_label | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cpp/.traces/run_label (limited to 'cpp/.traces/run_label') diff --git a/cpp/.traces/run_label b/cpp/.traces/run_label new file mode 100644 index 00000000..e1b62185 --- /dev/null +++ b/cpp/.traces/run_label @@ -0,0 +1,18 @@ +parse/0: label: +foo +parse/0: instruction: 1 +parse/0: ingredient: {name: "23", value: 23, type: 0, properties: [23: literal]} +parse/0: product: {name: "1", value: 1, type: 1, properties: [1: integer]} +parse/0: instruction: 1 +parse/0: ingredient: {name: "1", value: 1, type: 1, properties: [1: integer]} +parse/0: product: {name: "2", value: 2, type: 1, properties: [2: integer]} +after-brace/0: recipe main +after-brace/0: jump 0:offset +after-brace/0: copy ... +after-brace/0: copy ... +run/0: instruction main/1 +run/0: ingredient 0 is 23 +mem/0: storing in location 1 +run/0: instruction main/2 +run/0: ingredient 0 is 1 +mem/0: location 1 is 23 +mem/0: storing in location 2 -- cgit 1.4.1-2-gfad0