about summary refs log tree commit diff stats
path: root/cpp/.traces/string-equal-reflexive
blob: 403911590848af08455135adc62588d3d5ed4445 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
parse/0: instruction: 33
parse/0:   ingredient: {name: "location", value: 0, type: 0, properties: ["location": "type"]}
parse/0:   ingredient: {name: "30", value: 0, type: 0, properties: ["30": "literal"]}
parse/0:   product: {name: "default-space", value: 0, type: 2-0, properties: ["default-space": "address":"space"]}
parse/0: instruction: 33
parse/0:   ingredient: {name: "abc", value: 0, type: 0, properties: ["abc": "literal-string"]}
parse/0:   product: {name: "x", value: 0, type: 2-5-4, properties: ["x": "address":"array":"character"]}
parse/0: instruction: 100
parse/0:   ingredient: {name: "x", value: 0, type: 2-5-4, properties: ["x": "address":"array":"character"]}
parse/0:   ingredient: {name: "x", value: 0, type: 2-5-4, properties: ["x": "address":"array":"character"]}
parse/0:   product: {name: "3", value: 0, type: 3, properties: ["3": "boolean", "raw": ]}
new/0: location -> 1
new/0: abc -> 0
name/0: assign x 1
after-brace/0: recipe test-string-equal-reflexive
after-brace/0: new ...
after-brace/0: new ...
after-brace/0: string-equal ...
run/0: instruction test-string-equal-reflexive/0
mem/0: new alloc: 1000
mem/0: array size is 30
run/0: instruction test-string-equal-reflexive/1
mem/0: storing 1030 in location 1002
run/0: instruction test-string-equal-reflexive/2
mem/0: location 1002 is 1030
mem/0: location 1002 is 1030
run/0: instruction string-equal/0
mem/0: new alloc: 1034
mem/0: array size is 30
run/0: instruction string-equal/1
run/0: product 0 is 1030
mem/0: storing 1030 in location 1036
run/0: instruction string-equal/2
mem/0: location 1036 is 1030
mem/0: storing 3 in location 1037
run/0: instruction string-equal/3
run/0: product 0 is 1030
mem/0: storing 1030 in location 1038
run/0: instruction string-equal/4
mem/0: location 1038 is 1030
mem/0: storing 3 in location 1039
run/0: instruction string-equal/6
string-equal/0: comparing lengths
run/0: instruction string-equal/7
run/0: ingredient 0 is a-len
mem/0: location 1037 is 3
run/0: ingredient 1 is b-len
mem/0: location 1039 is 3
run/0: product 0 is 1
mem/0: storing 1 in location 1040
run/0: instruction string-equal/8
mem/0: location 1040 is 1
run/0: ingredient 0 is 1
run/0: ingredient 1 is 
run/0: jumping to instruction 10
run/0: instruction string-equal/11
string-equal/0: comparing characters
run/0: instruction string-equal/12
run/0: ingredient 0 is 0
mem/0: storing 0 in location 1041
run/0: instruction string-equal/14
run/0: ingredient 0 is i
mem/0: location 1041 is 0
run/0: ingredient 1 is a-len
mem/0: location 1037 is 3
run/0: product 0 is 0
mem/0: storing 0 in location 1042
run/0: instruction string-equal/15
mem/0: location 1042 is 0
run/0: ingredient 0 is 0
run/0: jump-if fell through
run/0: instruction string-equal/16
run/0: ingredient 0 is {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}
mem/0: location 1036 is 1030
run/0: ingredient 1 is {name: "i", value: 6, type: 1, properties: ["i": "integer"]}
mem/0: location 1041 is 0
run/0: address to copy is 1031
run/0: its type is 4
mem/0: location 1031 is 97
run/0: product 0 is 97
mem/0: storing 97 in location 1043
run/0: instruction string-equal/17
run/0: ingredient 0 is {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}
mem/0: location 1038 is 1030
run/0: ingredient 1 is {name: "i", value: 6, type: 1, properties: ["i": "integer"]}
mem/0: location 1041 is 0
run/0: address to copy is 1031
run/0: its type is 4
mem/0: location 1031 is 97
run/0: product 0 is 97
mem/0: storing 97 in location 1044
run/0: instruction string-equal/19
run/0: ingredient 0 is a2
mem/0: location 1043 is 97
run/0: ingredient 1 is b2
mem/0: location 1044 is 97
run/0: product 0 is 1
mem/0: storing 1 in location 1045
run/0: instruction string-equal/20
mem/0: location 1045 is 1
run/0: ingredient 0 is 1
run/0: ingredient 1 is 
run/0: jumping to instruction 22
run/0: instruction string-equal/23
run/0: ingredient 0 is i
mem/0: location 1041 is 0
run/0: ingredient 1 is 1
run/0: product 0 is 1
mem/0: storing 1 in location 1041
run/0: instruction string-equal/24
run/0: ingredient 0 is -11
run/0: pc now 13
run/0: instruction string-equal/14
run/0: ingredient 0 is i
mem/0: location 1041 is 1
run/0: ingredient 1 is a-len
mem/0: location 1037 is 3
run/0: product 0 is 0
mem/0: storing 0 in location 1042
run/0: instruction string-equal/15
mem/0: location 1042 is 0
run/0: ingredient 0 is 0
run/0: jump-if fell through
run/0: instruction string-equal/16
run/0: ingredient 0 is {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}
mem/0: location 1036 is 1030
run/0: ingredient 1 is {name: "i", value: 6, type: 1, properties: ["i": "integer"]}
mem/0: location 1041 is 1
run/0: address to copy is 1032
run/0: its type is 4
mem/0: location 1032 is 98
run/0: product 0 is 98
mem/0: storing 98 in location 1043
run/0: instruction string-equal/17
run/0: ingredient 0 is {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}
mem/0: location 1038 is 1030
run/0: ingredient 1 is {name: "i", value: 6, type: 1, properties: ["i": "integer"]}
mem/0: location 1041 is 1
run/0: address to copy is 1032
run/0: its type is 4
mem/0: location 1032 is 98
run/0: product 0 is 98
mem/0: storing 98 in location 1044
run/0: instruction string-equal/19
run/0: ingredient 0 is a2
mem/0: location 1043 is 98
run/0: ingredient 1 is b2
mem/0: location 1044 is 98
run/0: product 0 is 1
mem/0: storing 1 in location 1045
run/0: instruction string-equal/20
mem/0: location 1045 is 1
run/0: ingredient 0 is 1
run/0: ingredient 1 is 
run/0: jumping to instruction 22
run/0: instruction string-equal/23
run/0: ingredient 0 is i
mem/0: location 1041 is 1
run/0: ingredient 1 is 1
run/0: product 0 is 2
mem/0: storing 2 in location 1041
run/0: instruction string-equal/24
run/0: ingredient 0 is -11
run/0: pc now 13
run/0: instruction string-equal/14
run/0: ingredient 0 is i
mem/0: location 1041 is 2
run/0: ingredient 1 is a-len
mem/0: location 1037 is 3
run/0: product 0 is 0
mem/0: storing 0 in location 1042
run/0: instruction string-equal/15
mem/0: location 1042 is 0
run/0: ingredient 0 is 0
run/0: jump-if fell through
run/0: instruction string-equal/16
run/0: ingredient 0 is {name: "a", value: 1, type: 2-5-4, properties: ["a": "address":"array":"character", "deref": ]}
mem/0: location 1036 is 1030
run/0: ingredient 1 is {name: "i", value: 6, type: 1, properties: ["i": "integer"]}
mem/0: location 1041 is 2
run/0: address to copy is 1033
run/0: its type is 4
mem/0: location 1033 is 99
run/0: product 0 is 99
mem/0: storing 99 in location 1043
run/0: instruction string-equal/17
run/0: ingredient 0 is {name: "b", value: 3, type: 2-5-4, properties: ["b": "address":"array":"character", "deref": ]}
mem/0: location 1038 is 1030
run/0: ingredient 1 is {name: "i", value: 6, type: 1, properties: ["i": "integer"]}
mem/0: location 1041 is 2
run/0: address to copy is 1033
run/0: its type is 4
mem/0: location 1033 is 99
run/0: product 0 is 99
mem/0: storing 99 in location 1044
run/0: instruction string-equal/19
run/0: ingredient 0 is a2
mem/0: location 1043 is 99
run/0: ingredient 1 is b2
mem/0: location 1044 is 99
run/0: product 0 is 1
mem/0: storing 1 in location 1045
run/0: instruction string-equal/20
mem/0: location 1045 is 1
run/0: ingredient 0 is 1
run/0: ingredient 1 is 
run/0: jumping to instruction 22
run/0: instruction string-equal/23
run/0: ingredient 0 is i
mem/0: location 1041 is 2
run/0: ingredient 1 is 1
run/0: product 0 is 3
mem/0: storing 3 in location 1041
run/0: instruction string-equal/24
run/0: ingredient 0 is -11
run/0: pc now 13
run/0: instruction string-equal/14
run/0: ingredient 0 is i
mem/0: location 1041 is 3
run/0: ingredient 1 is a-len
mem/0: location 1037 is 3
run/0: product 0 is 1
mem/0: storing 1 in location 1042
run/0: instruction string-equal/15
mem/0: location 1042 is 1
run/0: ingredient 0 is 1
run/0: ingredient 1 is 
run/0: jumping to instruction 25
run/0: instruction string-equal/26
run/0: result 0 is 1
mem/0: storing 1 in location 3