From 6f5d7864f6c0c62b8849349cb182c61f8dbed452 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 25 Feb 2015 01:24:11 -0800 Subject: 832 - call-stack for C++ version These #defines and references now span many different layers. Let's see if the lack of encapsulation causes problems. Also interesting to run into a case where I need to modify a foundational layer and touch every single scenario/trace. Only alternative was to duplicate all the different layers that add instructions. Sign of problems with this model? --- cpp/.traces/index | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpp/.traces/index') diff --git a/cpp/.traces/index b/cpp/.traces/index index a23f11ab..9809b808 100644 --- a/cpp/.traces/index +++ b/cpp/.traces/index @@ -14,19 +14,19 @@ parse/0: instruction: 20 parse/0: ingredient: {name: "1", type: 6} parse/0: ingredient: {name: "0", type: 0} parse/0: product: {name: "5", type: 1} -run/0: instruction 0 +run/0: instruction main/0 run/0: ingredient 0 is 3 mem/0: storing in location 1 -run/0: instruction 1 +run/0: instruction main/1 run/0: ingredient 0 is 14 mem/0: storing in location 2 -run/0: instruction 2 +run/0: instruction main/2 run/0: ingredient 0 is 15 mem/0: storing in location 3 -run/0: instruction 3 +run/0: instruction main/3 run/0: ingredient 0 is 16 mem/0: storing in location 4 -run/0: instruction 4 +run/0: instruction main/4 run/0: ingredient 0 is 1 run/0: ingredient 1 is 0 run/0: address to copy is 2 -- cgit 1.4.1-2-gfad0