From cc5805dc5f6d35f13c1f8c05d35cc37272e31d7c Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 24 Mar 2015 21:31:45 -0700 Subject: 969 --- cpp/.traces/get_handles_nested_record_elements | 35 ++++++++++++++++++++++++++ cpp/.traces/get_handles_record_fields | 35 -------------------------- cpp/018record | 2 +- 3 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 cpp/.traces/get_handles_nested_record_elements delete mode 100644 cpp/.traces/get_handles_record_fields (limited to 'cpp') diff --git a/cpp/.traces/get_handles_nested_record_elements b/cpp/.traces/get_handles_nested_record_elements new file mode 100644 index 00000000..af104e87 --- /dev/null +++ b/cpp/.traces/get_handles_nested_record_elements @@ -0,0 +1,35 @@ +parse/0: instruction: 1 +parse/0: ingredient: {name: "34", value: 0, type: 0, properties: [34: literal]} +parse/0: product: {name: "12", value: 0, type: 1, properties: [12: integer]} +parse/0: instruction: 1 +parse/0: ingredient: {name: "35", value: 0, type: 0, properties: [35: literal]} +parse/0: product: {name: "13", value: 0, type: 1, properties: [13: integer]} +parse/0: instruction: 1 +parse/0: ingredient: {name: "36", value: 0, type: 0, properties: [36: literal]} +parse/0: product: {name: "14", value: 0, type: 1, properties: [14: integer]} +parse/0: instruction: 18 +parse/0: ingredient: {name: "12", value: 0, type: 5, properties: [12: point-integer]} +parse/0: ingredient: {name: "1", value: 0, type: 0, properties: [1: offset]} +parse/0: product: {name: "15", value: 0, type: 1, properties: [15: integer]} +after-brace/0: recipe main +after-brace/0: copy ... +after-brace/0: copy ... +after-brace/0: copy ... +after-brace/0: get ... +run/0: instruction main/0 +run/0: ingredient 0 is 34 +mem/0: storing 34 in location 12 +run/0: instruction main/1 +run/0: ingredient 0 is 35 +mem/0: storing 35 in location 13 +run/0: instruction main/2 +run/0: ingredient 0 is 36 +mem/0: storing 36 in location 14 +run/0: instruction main/3 +run/0: ingredient 0 is 12 +run/0: ingredient 1 is 1 +run/0: address to copy is 14 +run/0: its type is 1 +mem/0: location 14 is 36 +run/0: product 0 is 36 +mem/0: storing 36 in location 15 diff --git a/cpp/.traces/get_handles_record_fields b/cpp/.traces/get_handles_record_fields deleted file mode 100644 index af104e87..00000000 --- a/cpp/.traces/get_handles_record_fields +++ /dev/null @@ -1,35 +0,0 @@ -parse/0: instruction: 1 -parse/0: ingredient: {name: "34", value: 0, type: 0, properties: [34: literal]} -parse/0: product: {name: "12", value: 0, type: 1, properties: [12: integer]} -parse/0: instruction: 1 -parse/0: ingredient: {name: "35", value: 0, type: 0, properties: [35: literal]} -parse/0: product: {name: "13", value: 0, type: 1, properties: [13: integer]} -parse/0: instruction: 1 -parse/0: ingredient: {name: "36", value: 0, type: 0, properties: [36: literal]} -parse/0: product: {name: "14", value: 0, type: 1, properties: [14: integer]} -parse/0: instruction: 18 -parse/0: ingredient: {name: "12", value: 0, type: 5, properties: [12: point-integer]} -parse/0: ingredient: {name: "1", value: 0, type: 0, properties: [1: offset]} -parse/0: product: {name: "15", value: 0, type: 1, properties: [15: integer]} -after-brace/0: recipe main -after-brace/0: copy ... -after-brace/0: copy ... -after-brace/0: copy ... -after-brace/0: get ... -run/0: instruction main/0 -run/0: ingredient 0 is 34 -mem/0: storing 34 in location 12 -run/0: instruction main/1 -run/0: ingredient 0 is 35 -mem/0: storing 35 in location 13 -run/0: instruction main/2 -run/0: ingredient 0 is 36 -mem/0: storing 36 in location 14 -run/0: instruction main/3 -run/0: ingredient 0 is 12 -run/0: ingredient 1 is 1 -run/0: address to copy is 14 -run/0: its type is 1 -mem/0: location 14 is 36 -run/0: product 0 is 36 -mem/0: storing 36 in location 15 diff --git a/cpp/018record b/cpp/018record index 8acad726..44e568cc 100644 --- a/cpp/018record +++ b/cpp/018record @@ -85,7 +85,7 @@ Type[point_integer].elements.push_back(p2); vector i2; i2.push_back(integer); Type[point_integer].elements.push_back(i2); -:(scenario "get_handles_record_fields") +:(scenario "get_handles_nested_record_elements") recipe main [ 12:integer <- copy 34:literal 13:integer <- copy 35:literal -- cgit 1.4.1-2-gfad0