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/divide | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/.traces/divide') diff --git a/cpp/.traces/divide b/cpp/.traces/divide index d713a512..4cd49db4 100644 --- a/cpp/.traces/divide +++ b/cpp/.traces/divide @@ -8,13 +8,13 @@ parse/0: instruction: 5 parse/0: ingredient: {name: "1", type: 1} parse/0: ingredient: {name: "2", type: 1} parse/0: product: {name: "3", type: 1} -run/0: instruction 0 +run/0: instruction main/0 run/0: ingredient 0 is 27 mem/0: storing in location 1 -run/0: instruction 1 +run/0: instruction main/1 run/0: ingredient 0 is 3 mem/0: storing in location 2 -run/0: instruction 2 +run/0: instruction main/2 run/0: ingredient 0 is 1 mem/0: location 1 is 27 run/0: ingredient 1 is 2 -- cgit 1.4.1-2-gfad0 td> about summary refs log tree commit diff stats
path: root/cpp/.traces/get_address
blob: 1a37c192caabdee3501e9ff79d99179f5c12965d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26