Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/Generators.golden

Issue 2051783002: [interpreter] Fix debug stepping for generators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/parsing/parser.cc ('k') | test/mjsunit/es6/debug-stepin-generators.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 pool type: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: no 8 wrap: no
9 test function name: f 9 test function name: f
10 ignition generators: yes 10 ignition generators: yes
(...skipping 16 matching lines...) Expand all
27 B(JumpIfTrue), U8(56), 27 B(JumpIfTrue), U8(56),
28 B(LdaSmi), U8(76), 28 B(LdaSmi), U8(76),
29 B(Star), R(2), 29 B(Star), R(2),
30 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), 30 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
31 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 31 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
32 B(PushContext), R(0), 32 B(PushContext), R(0),
33 B(Ldar), R(this), 33 B(Ldar), R(this),
34 B(StaContextSlot), R(context), U8(4), 34 B(StaContextSlot), R(context), U8(4),
35 /* 11 E> */ B(StackCheck), 35 /* 11 E> */ B(StackCheck),
36 B(Mov), R(context), R(4), 36 B(Mov), R(context), R(4),
37 B(LdrContextSlot), R(context), U8(4), R(6), 37 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6),
38 B(Ldar), R(6), 38 B(Ldar), R(6),
39 B(Mov), R(closure), R(5), 39 B(Mov), R(closure), R(5),
40 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8 (2), 40 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8 (2),
41 B(StaContextSlot), R(context), U8(5), 41 B(StaContextSlot), R(context), U8(5),
42 B(Star), R(5), 42 B(Star), R(5),
43 B(LdrContextSlot), R(context), U8(5), R(6), 43 B(LdrContextSlot), R(context), U8(5), R(6),
44 B(LdaZero), 44 B(LdaZero),
45 B(SuspendGenerator), R(6), 45 B(SuspendGenerator), R(6),
46 B(Ldar), R(5), 46 B(Ldar), R(5),
47 B(Return), 47 /* 16 S> */ B(Return),
48 B(LdaSmi), U8(-2), 48 B(LdaSmi), U8(-2),
49 B(Star), R(1), 49 B(Star), R(1),
50 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(6), U8(1), 50 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(6), U8(1),
51 B(Star), R(7), 51 B(Star), R(7),
52 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1), 52 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1),
53 B(Star), R(8), 53 B(Star), R(8),
54 B(LdaZero), 54 B(LdaZero),
55 B(TestEqualStrict), R(8), 55 B(TestEqualStrict), R(8),
56 B(JumpIfTrue), U8(31), 56 B(JumpIfTrue), U8(31),
57 B(LdaSmi), U8(2), 57 B(LdaSmi), U8(2),
58 B(TestEqualStrict), R(8), 58 B(TestEqualStrict), R(8),
59 B(JumpIfTrue), U8(22), 59 B(JumpIfTrue), U8(22),
60 B(Jump), U8(2), 60 B(Jump), U8(2),
61 B(LdaTrue), 61 B(LdaTrue),
62 B(Star), R(10), 62 B(Star), R(10),
63 B(Mov), R(7), R(9), 63 B(Mov), R(7), R(9),
64 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2), 64 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2),
65 B(Star), R(3), 65 B(Star), R(3),
66 B(LdaZero), 66 B(LdaZero),
67 B(Star), R(2), 67 B(Star), R(2),
68 B(Jump), U8(35), 68 B(Jump), U8(35),
69 B(Ldar), R(7), 69 B(Ldar), R(7),
70 B(Throw), 70 /* 11 E> */ B(Throw),
71 B(LdrUndefined), R(5), 71 B(LdrUndefined), R(5),
72 B(LdaTrue), 72 B(LdaTrue),
73 B(Star), R(6), 73 B(Star), R(6),
74 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2), 74 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2),
75 B(Star), R(3), 75 B(Star), R(3),
76 B(LdaSmi), U8(1), 76 B(LdaSmi), U8(1),
77 B(Star), R(2), 77 B(Star), R(2),
78 B(Jump), U8(14), 78 B(Jump), U8(14),
79 B(LdaSmi), U8(-1), 79 B(LdaSmi), U8(-1),
80 B(Star), R(2), 80 B(Star), R(2),
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 B(JumpIfTrueConstant), U8(0), 133 B(JumpIfTrueConstant), U8(0),
134 B(LdaSmi), U8(76), 134 B(LdaSmi), U8(76),
135 B(Star), R(2), 135 B(Star), R(2),
136 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), 136 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
137 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 137 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
138 B(PushContext), R(0), 138 B(PushContext), R(0),
139 B(Ldar), R(this), 139 B(Ldar), R(this),
140 B(StaContextSlot), R(context), U8(4), 140 B(StaContextSlot), R(context), U8(4),
141 /* 11 E> */ B(StackCheck), 141 /* 11 E> */ B(StackCheck),
142 B(Mov), R(context), R(4), 142 B(Mov), R(context), R(4),
143 B(LdrContextSlot), R(context), U8(4), R(6), 143 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(6),
144 B(Ldar), R(6), 144 B(Ldar), R(6),
145 B(Mov), R(closure), R(5), 145 B(Mov), R(closure), R(5),
146 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8 (2), 146 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8 (2),
147 B(StaContextSlot), R(context), U8(5), 147 B(StaContextSlot), R(context), U8(5),
148 B(Star), R(5), 148 B(Star), R(5),
149 B(LdrContextSlot), R(context), U8(5), R(6), 149 B(LdrContextSlot), R(context), U8(5), R(6),
150 B(LdaZero), 150 B(LdaZero),
151 B(SuspendGenerator), R(6), 151 B(SuspendGenerator), R(6),
152 B(Ldar), R(5), 152 B(Ldar), R(5),
153 B(Return), 153 /* 25 S> */ B(Return),
154 B(LdaSmi), U8(-2), 154 B(LdaSmi), U8(-2),
155 B(Star), R(1), 155 B(Star), R(1),
156 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(6), U8(1), 156 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(6), U8(1),
157 B(Star), R(7), 157 B(Star), R(7),
158 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1), 158 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1),
159 B(Star), R(8), 159 B(Star), R(8),
160 B(LdaZero), 160 B(LdaZero),
161 B(TestEqualStrict), R(8), 161 B(TestEqualStrict), R(8),
162 B(JumpIfTrue), U8(31), 162 B(JumpIfTrue), U8(31),
163 B(LdaSmi), U8(2), 163 B(LdaSmi), U8(2),
164 B(TestEqualStrict), R(8), 164 B(TestEqualStrict), R(8),
165 B(JumpIfTrue), U8(22), 165 B(JumpIfTrue), U8(22),
166 B(Jump), U8(2), 166 B(Jump), U8(2),
167 B(LdaTrue), 167 B(LdaTrue),
168 B(Star), R(10), 168 B(Star), R(10),
169 B(Mov), R(7), R(9), 169 B(Mov), R(7), R(9),
170 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2), 170 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2),
171 B(Star), R(3), 171 B(Star), R(3),
172 B(LdaZero), 172 B(LdaZero),
173 B(Star), R(2), 173 B(Star), R(2),
174 B(Jump), U8(113), 174 B(Jump), U8(113),
175 B(Ldar), R(7), 175 B(Ldar), R(7),
176 B(Throw), 176 /* 11 E> */ B(Throw),
177 /* 16 S> */ B(LdaSmi), U8(42), 177 /* 16 S> */ B(LdaSmi), U8(42),
178 B(Star), R(5), 178 B(Star), R(5),
179 B(LdaFalse), 179 B(LdaFalse),
180 B(Star), R(6), 180 B(Star), R(6),
181 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2), 181 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2),
182 B(Star), R(7), 182 B(Star), R(7),
183 B(LdrContextSlot), R(context), U8(5), R(5), 183 B(LdrContextSlot), R(context), U8(5), R(5),
184 B(LdaSmi), U8(1), 184 B(LdaSmi), U8(1),
185 B(SuspendGenerator), R(5), 185 B(SuspendGenerator), R(5),
186 B(Ldar), R(7), 186 B(Ldar), R(7),
187 B(Return), 187 /* 25 S> */ B(Return),
188 B(LdaSmi), U8(-2), 188 B(LdaSmi), U8(-2),
189 B(Star), R(1), 189 B(Star), R(1),
190 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(5), U8(1), 190 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(5), U8(1),
191 B(Star), R(6), 191 B(Star), R(6),
192 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8 (1), 192 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8 (1),
193 B(Star), R(8), 193 B(Star), R(8),
194 B(LdaZero), 194 B(LdaZero),
195 B(TestEqualStrict), R(8), 195 B(TestEqualStrict), R(8),
196 B(JumpIfTrue), U8(32), 196 B(JumpIfTrue), U8(32),
197 B(LdaSmi), U8(2), 197 B(LdaSmi), U8(2),
198 B(TestEqualStrict), R(8), 198 B(TestEqualStrict), R(8),
199 B(JumpIfTrue), U8(23), 199 B(JumpIfTrue), U8(23),
200 B(Jump), U8(2), 200 B(Jump), U8(2),
201 B(LdaTrue), 201 B(LdaTrue),
202 B(Star), R(10), 202 B(Star), R(10),
203 B(Mov), R(6), R(9), 203 B(Mov), R(6), R(9),
204 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2), 204 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2),
205 B(Star), R(3), 205 B(Star), R(3),
206 B(LdaSmi), U8(1), 206 B(LdaSmi), U8(1),
207 B(Star), R(2), 207 B(Star), R(2),
208 B(Jump), U8(35), 208 B(Jump), U8(35),
209 B(Ldar), R(6), 209 B(Ldar), R(6),
210 B(Throw), 210 /* 16 E> */ B(Throw),
211 B(LdrUndefined), R(5), 211 B(LdrUndefined), R(5),
212 B(LdaTrue), 212 B(LdaTrue),
213 B(Star), R(6), 213 B(Star), R(6),
214 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2), 214 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2),
215 B(Star), R(3), 215 B(Star), R(3),
216 B(LdaSmi), U8(2), 216 B(LdaSmi), U8(2),
217 B(Star), R(2), 217 B(Star), R(2),
218 B(Jump), U8(14), 218 B(Jump), U8(14),
219 B(LdaSmi), U8(-1), 219 B(LdaSmi), U8(-1),
220 B(Star), R(2), 220 B(Star), R(2),
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 B(JumpIfTrueConstant), U8(3), 279 B(JumpIfTrueConstant), U8(3),
280 B(LdaSmi), U8(76), 280 B(LdaSmi), U8(76),
281 B(Star), R(4), 281 B(Star), R(4),
282 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), 282 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
283 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 283 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
284 B(PushContext), R(0), 284 B(PushContext), R(0),
285 B(Ldar), R(this), 285 B(Ldar), R(this),
286 B(StaContextSlot), R(context), U8(4), 286 B(StaContextSlot), R(context), U8(4),
287 /* 11 E> */ B(StackCheck), 287 /* 11 E> */ B(StackCheck),
288 B(Mov), R(context), R(6), 288 B(Mov), R(context), R(6),
289 B(LdrContextSlot), R(context), U8(4), R(8), 289 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(8),
290 B(Ldar), R(8), 290 B(Ldar), R(8),
291 B(Mov), R(closure), R(7), 291 B(Mov), R(closure), R(7),
292 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8 (2), 292 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8 (2),
293 B(StaContextSlot), R(context), U8(5), 293 B(StaContextSlot), R(context), U8(5),
294 B(Star), R(7), 294 B(Star), R(7),
295 B(LdrContextSlot), R(context), U8(5), R(8), 295 B(LdrContextSlot), R(context), U8(5), R(8),
296 B(LdaZero), 296 B(LdaZero),
297 B(SuspendGenerator), R(8), 297 B(SuspendGenerator), R(8),
298 B(Ldar), R(7), 298 B(Ldar), R(7),
299 B(Return), 299 /* 44 S> */ B(Return),
300 B(LdaSmi), U8(-2), 300 B(LdaSmi), U8(-2),
301 B(Star), R(3), 301 B(Star), R(3),
302 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(8), U8(1), 302 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(8), U8(1),
303 B(Star), R(9), 303 B(Star), R(9),
304 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(8), U8 (1), 304 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(8), U8 (1),
305 B(Star), R(10), 305 B(Star), R(10),
306 B(LdaZero), 306 B(LdaZero),
307 B(TestEqualStrict), R(10), 307 B(TestEqualStrict), R(10),
308 B(JumpIfTrue), U8(31), 308 B(JumpIfTrue), U8(31),
309 B(LdaSmi), U8(2), 309 B(LdaSmi), U8(2),
310 B(TestEqualStrict), R(10), 310 B(TestEqualStrict), R(10),
311 B(JumpIfTrue), U8(22), 311 B(JumpIfTrue), U8(22),
312 B(Jump), U8(2), 312 B(Jump), U8(2),
313 B(LdaTrue), 313 B(LdaTrue),
314 B(Star), R(12), 314 B(Star), R(12),
315 B(Mov), R(9), R(11), 315 B(Mov), R(9), R(11),
316 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U 8(2), 316 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U 8(2),
317 B(Star), R(5), 317 B(Star), R(5),
318 B(LdaZero), 318 B(LdaZero),
319 B(Star), R(4), 319 B(Star), R(4),
320 B(JumpConstant), U8(16), 320 B(JumpConstant), U8(16),
321 B(Ldar), R(9), 321 B(Ldar), R(9),
322 B(Throw), 322 /* 11 E> */ B(Throw),
323 B(LdaConstant), U8(0), 323 B(LdaConstant), U8(0),
324 B(Star), R(7), 324 B(Star), R(7),
325 B(Mov), R(closure), R(8), 325 B(Mov), R(closure), R(8),
326 B(CallRuntime), U16(Runtime::kPushBlockContext), R(7), U8(2), 326 B(CallRuntime), U16(Runtime::kPushBlockContext), R(7), U8(2),
327 B(PushContext), R(1), 327 B(PushContext), R(1),
328 B(LdaTheHole), 328 B(LdaTheHole),
329 B(StaContextSlot), R(context), U8(4), 329 B(StaContextSlot), R(context), U8(4),
330 B(LdaUndefined), 330 B(LdaUndefined),
331 B(StaContextSlot), R(1), U8(10), 331 B(StaContextSlot), R(1), U8(10),
332 B(LdaZero), 332 B(LdaZero),
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(12), U8(1) , 384 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(12), U8(1) ,
385 B(Star), R(11), 385 B(Star), R(11),
386 B(LdaFalse), 386 B(LdaFalse),
387 B(Star), R(12), 387 B(Star), R(12),
388 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U 8(2), 388 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U 8(2),
389 B(Star), R(13), 389 B(Star), R(13),
390 B(LdrContextSlot), R(1), U8(5), R(11), 390 B(LdrContextSlot), R(1), U8(5), R(11),
391 B(LdaSmi), U8(1), 391 B(LdaSmi), U8(1),
392 B(SuspendGenerator), R(11), 392 B(SuspendGenerator), R(11),
393 B(Ldar), R(13), 393 B(Ldar), R(13),
394 B(Return), 394 /* 44 S> */ B(Return),
395 B(LdaSmi), U8(-2), 395 B(LdaSmi), U8(-2),
396 B(Star), R(3), 396 B(Star), R(3),
397 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(11), U8(1), 397 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(11), U8(1),
398 B(Star), R(12), 398 B(Star), R(12),
399 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(11), U 8(1), 399 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(11), U 8(1),
400 B(Star), R(14), 400 B(Star), R(14),
401 B(LdaZero), 401 B(LdaZero),
402 B(TestEqualStrict), R(14), 402 B(TestEqualStrict), R(14),
403 B(JumpIfTrue), U8(45), 403 B(JumpIfTrue), U8(45),
404 B(LdaSmi), U8(2), 404 B(LdaSmi), U8(2),
405 B(TestEqualStrict), R(14), 405 B(TestEqualStrict), R(14),
406 B(JumpIfTrue), U8(36), 406 B(JumpIfTrue), U8(36),
407 B(Jump), U8(2), 407 B(Jump), U8(2),
408 B(LdaTrue), 408 B(LdaTrue),
409 B(Star), R(16), 409 B(Star), R(16),
410 B(Mov), R(12), R(15), 410 B(Mov), R(12), R(15),
411 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(15), U 8(2), 411 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(15), U 8(2),
412 B(PopContext), R(2), 412 B(PopContext), R(2),
413 B(PopContext), R(2), 413 B(PopContext), R(2),
414 B(PopContext), R(2), 414 B(PopContext), R(2),
415 B(PopContext), R(2), 415 B(PopContext), R(2),
416 B(PopContext), R(2), 416 B(PopContext), R(2),
417 B(PopContext), R(2), 417 B(PopContext), R(2),
418 B(PopContext), R(2), 418 B(PopContext), R(2),
419 B(Star), R(8), 419 B(Star), R(8),
420 B(LdaZero), 420 B(LdaZero),
421 B(Star), R(7), 421 B(Star), R(7),
422 B(Jump), U8(75), 422 B(Jump), U8(75),
423 B(Ldar), R(12), 423 B(Ldar), R(12),
424 B(Throw), 424 /* 36 E> */ B(Throw),
425 B(Ldar), R(12), 425 B(Ldar), R(12),
426 B(PopContext), R(2), 426 B(PopContext), R(2),
427 B(LdaZero), 427 B(LdaZero),
428 B(StaContextSlot), R(1), U8(9), 428 B(StaContextSlot), R(1), U8(9),
429 B(Wide), B(Jump), U16(-223), 429 B(Wide), B(Jump), U16(-223),
430 B(Jump), U8(46), 430 B(Jump), U8(46),
431 B(Star), R(12), 431 B(Star), R(12),
432 B(LdaConstant), U8(11), 432 B(LdaConstant), U8(11),
433 B(Star), R(11), 433 B(Star), R(11),
434 B(Mov), R(closure), R(13), 434 B(Mov), R(closure), R(13),
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 kInstanceTypeDontCare, 600 kInstanceTypeDontCare,
601 kInstanceTypeDontCare, 601 kInstanceTypeDontCare,
602 ] 602 ]
603 handlers: [ 603 handlers: [
604 [44, 698, 704], 604 [44, 698, 704],
605 [154, 449, 455], 605 [154, 449, 455],
606 [157, 403, 405], 606 [157, 403, 405],
607 [552, 565, 567], 607 [552, 565, 567],
608 ] 608 ]
609 609
OLDNEW
« no previous file with comments | « src/parsing/parser.cc ('k') | test/mjsunit/es6/debug-stepin-generators.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698