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

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

Issue 2655733003: Thread maybe-assigned through the bytecodes. (Closed)
Patch Set: Comment Created 3 years, 10 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
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 wrap: no 6 wrap: no
7 test function name: f 7 test function name: f
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
(...skipping 17 matching lines...) Expand all
28 B(Star), R(3), 28 B(Star), R(3),
29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
30 B(LdaSmi), I8(-2), 30 B(LdaSmi), I8(-2),
31 B(Star), R(1), 31 B(Star), R(1),
32 B(CreateFunctionContext), U8(2), 32 B(CreateFunctionContext), U8(2),
33 B(PushContext), R(0), 33 B(PushContext), R(0),
34 B(Ldar), R(this), 34 B(Ldar), R(this),
35 B(StaCurrentContextSlot), U8(4), 35 B(StaCurrentContextSlot), U8(4),
36 /* 11 E> */ B(StackCheck), 36 /* 11 E> */ B(StackCheck),
37 B(Mov), R(context), R(5), 37 B(Mov), R(context), R(5),
38 B(LdaCurrentContextSlot), U8(4), 38 B(LdaImmutableCurrentContextSlot), U8(4),
39 B(Star), R(7), 39 B(Star), R(7),
40 B(Mov), R(closure), R(6), 40 B(Mov), R(closure), R(6),
41 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8 (2), 41 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8 (2),
42 B(StaCurrentContextSlot), U8(5), 42 B(StaCurrentContextSlot), U8(5),
43 B(Star), R(6), 43 B(Star), R(6),
44 B(LdaCurrentContextSlot), U8(5), 44 B(LdaImmutableCurrentContextSlot), U8(5),
45 B(Star), R(7), 45 B(Star), R(7),
46 B(LdaZero), 46 B(LdaZero),
47 B(SuspendGenerator), R(7), 47 B(SuspendGenerator), R(7),
48 B(Ldar), R(6), 48 B(Ldar), R(6),
49 /* 16 S> */ B(Return), 49 /* 16 S> */ B(Return),
50 B(LdaSmi), I8(-2), 50 B(LdaSmi), I8(-2),
51 B(Star), R(1), 51 B(Star), R(1),
52 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7 ), U8(1), 52 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7 ), U8(1),
53 B(Star), R(8), 53 B(Star), R(8),
54 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8 (1), 54 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8 (1),
(...skipping 26 matching lines...) Expand all
81 B(Jump), U8(14), 81 B(Jump), U8(14),
82 B(LdaSmi), I8(-1), 82 B(LdaSmi), I8(-1),
83 B(Star), R(3), 83 B(Star), R(3),
84 B(Jump), U8(8), 84 B(Jump), U8(8),
85 B(Star), R(4), 85 B(Star), R(4),
86 B(LdaSmi), I8(2), 86 B(LdaSmi), I8(2),
87 B(Star), R(3), 87 B(Star), R(3),
88 B(LdaTheHole), 88 B(LdaTheHole),
89 B(SetPendingMessage), 89 B(SetPendingMessage),
90 B(Star), R(5), 90 B(Star), R(5),
91 B(LdaCurrentContextSlot), U8(5), 91 B(LdaImmutableCurrentContextSlot), U8(5),
92 B(Star), R(6), 92 B(Star), R(6),
93 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1), 93 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1),
94 B(Ldar), R(5), 94 B(Ldar), R(5),
95 B(SetPendingMessage), 95 B(SetPendingMessage),
96 B(LdaZero), 96 B(LdaZero),
97 B(TestEqualStrict), R(3), U8(0), 97 B(TestEqualStrict), R(3), U8(0),
98 B(JumpIfTrue), U8(18), 98 B(JumpIfTrue), U8(18),
99 B(LdaSmi), I8(1), 99 B(LdaSmi), I8(1),
100 B(TestEqualStrict), R(3), U8(0), 100 B(TestEqualStrict), R(3), U8(0),
101 B(JumpIfTrue), U8(14), 101 B(JumpIfTrue), U8(14),
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 B(Star), R(3), 143 B(Star), R(3),
144 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 144 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
145 B(LdaSmi), I8(-2), 145 B(LdaSmi), I8(-2),
146 B(Star), R(1), 146 B(Star), R(1),
147 B(CreateFunctionContext), U8(2), 147 B(CreateFunctionContext), U8(2),
148 B(PushContext), R(0), 148 B(PushContext), R(0),
149 B(Ldar), R(this), 149 B(Ldar), R(this),
150 B(StaCurrentContextSlot), U8(4), 150 B(StaCurrentContextSlot), U8(4),
151 /* 11 E> */ B(StackCheck), 151 /* 11 E> */ B(StackCheck),
152 B(Mov), R(context), R(5), 152 B(Mov), R(context), R(5),
153 B(LdaCurrentContextSlot), U8(4), 153 B(LdaImmutableCurrentContextSlot), U8(4),
154 B(Star), R(7), 154 B(Star), R(7),
155 B(Mov), R(closure), R(6), 155 B(Mov), R(closure), R(6),
156 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8 (2), 156 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8 (2),
157 B(StaCurrentContextSlot), U8(5), 157 B(StaCurrentContextSlot), U8(5),
158 B(Star), R(6), 158 B(Star), R(6),
159 B(LdaCurrentContextSlot), U8(5), 159 B(LdaImmutableCurrentContextSlot), U8(5),
160 B(Star), R(7), 160 B(Star), R(7),
161 B(LdaZero), 161 B(LdaZero),
162 B(SuspendGenerator), R(7), 162 B(SuspendGenerator), R(7),
163 B(Ldar), R(6), 163 B(Ldar), R(6),
164 /* 25 S> */ B(Return), 164 /* 25 S> */ B(Return),
165 B(LdaSmi), I8(-2), 165 B(LdaSmi), I8(-2),
166 B(Star), R(1), 166 B(Star), R(1),
167 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7 ), U8(1), 167 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7 ), U8(1),
168 B(Star), R(8), 168 B(Star), R(8),
169 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8 (1), 169 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8 (1),
(...skipping 14 matching lines...) Expand all
184 B(Star), R(3), 184 B(Star), R(3),
185 B(Jump), U8(113), 185 B(Jump), U8(113),
186 B(Ldar), R(8), 186 B(Ldar), R(8),
187 /* 11 E> */ B(Throw), 187 /* 11 E> */ B(Throw),
188 /* 16 S> */ B(LdaSmi), I8(42), 188 /* 16 S> */ B(LdaSmi), I8(42),
189 B(Star), R(6), 189 B(Star), R(6),
190 B(LdaFalse), 190 B(LdaFalse),
191 B(Star), R(7), 191 B(Star), R(7),
192 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(6), U8(2), 192 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(6), U8(2),
193 B(Star), R(6), 193 B(Star), R(6),
194 B(LdaCurrentContextSlot), U8(5), 194 B(LdaImmutableCurrentContextSlot), U8(5),
195 B(Star), R(7), 195 B(Star), R(7),
196 B(LdaSmi), I8(1), 196 B(LdaSmi), I8(1),
197 B(SuspendGenerator), R(7), 197 B(SuspendGenerator), R(7),
198 B(Ldar), R(6), 198 B(Ldar), R(6),
199 /* 25 S> */ B(Return), 199 /* 25 S> */ B(Return),
200 B(LdaSmi), I8(-2), 200 B(LdaSmi), I8(-2),
201 B(Star), R(1), 201 B(Star), R(1),
202 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7 ), U8(1), 202 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7 ), U8(1),
203 B(Star), R(8), 203 B(Star), R(8),
204 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8 (1), 204 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8 (1),
(...skipping 26 matching lines...) Expand all
231 B(Jump), U8(14), 231 B(Jump), U8(14),
232 B(LdaSmi), I8(-1), 232 B(LdaSmi), I8(-1),
233 B(Star), R(3), 233 B(Star), R(3),
234 B(Jump), U8(8), 234 B(Jump), U8(8),
235 B(Star), R(4), 235 B(Star), R(4),
236 B(LdaSmi), I8(3), 236 B(LdaSmi), I8(3),
237 B(Star), R(3), 237 B(Star), R(3),
238 B(LdaTheHole), 238 B(LdaTheHole),
239 B(SetPendingMessage), 239 B(SetPendingMessage),
240 B(Star), R(5), 240 B(Star), R(5),
241 B(LdaCurrentContextSlot), U8(5), 241 B(LdaImmutableCurrentContextSlot), U8(5),
242 B(Star), R(6), 242 B(Star), R(6),
243 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1), 243 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1),
244 B(Ldar), R(5), 244 B(Ldar), R(5),
245 B(SetPendingMessage), 245 B(SetPendingMessage),
246 B(LdaZero), 246 B(LdaZero),
247 B(TestEqualStrict), R(3), U8(0), 247 B(TestEqualStrict), R(3), U8(0),
248 B(JumpIfTrue), U8(25), 248 B(JumpIfTrue), U8(25),
249 B(LdaSmi), I8(1), 249 B(LdaSmi), I8(1),
250 B(TestEqualStrict), R(3), U8(0), 250 B(TestEqualStrict), R(3), U8(0),
251 B(JumpIfTrue), U8(21), 251 B(JumpIfTrue), U8(21),
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 B(Star), R(5), 298 B(Star), R(5),
299 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 299 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
300 B(LdaSmi), I8(-2), 300 B(LdaSmi), I8(-2),
301 B(Star), R(3), 301 B(Star), R(3),
302 B(CreateFunctionContext), U8(9), 302 B(CreateFunctionContext), U8(9),
303 B(PushContext), R(0), 303 B(PushContext), R(0),
304 B(Ldar), R(this), 304 B(Ldar), R(this),
305 B(StaCurrentContextSlot), U8(4), 305 B(StaCurrentContextSlot), U8(4),
306 /* 11 E> */ B(StackCheck), 306 /* 11 E> */ B(StackCheck),
307 B(Mov), R(context), R(7), 307 B(Mov), R(context), R(7),
308 B(LdaCurrentContextSlot), U8(4), 308 B(LdaImmutableCurrentContextSlot), U8(4),
309 B(Star), R(9), 309 B(Star), R(9),
310 B(Mov), R(closure), R(8), 310 B(Mov), R(closure), R(8),
311 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8 (2), 311 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8 (2),
312 B(StaCurrentContextSlot), U8(5), 312 B(StaCurrentContextSlot), U8(5),
313 B(Star), R(8), 313 B(Star), R(8),
314 B(LdaCurrentContextSlot), U8(5), 314 B(LdaImmutableCurrentContextSlot), U8(5),
315 B(Star), R(9), 315 B(Star), R(9),
316 B(LdaZero), 316 B(LdaZero),
317 B(SuspendGenerator), R(9), 317 B(SuspendGenerator), R(9),
318 B(Ldar), R(8), 318 B(Ldar), R(8),
319 /* 44 S> */ B(Return), 319 /* 44 S> */ B(Return),
320 B(LdaSmi), I8(-2), 320 B(LdaSmi), I8(-2),
321 B(Star), R(3), 321 B(Star), R(3),
322 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9 ), U8(1), 322 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9 ), U8(1),
323 B(Star), R(10), 323 B(Star), R(10),
324 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8 (1), 324 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8 (1),
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 B(LdaContextSlot), R(1), U8(10), U8(0), 392 B(LdaContextSlot), R(1), U8(10), U8(0),
393 B(StaContextSlot), R(1), U8(6), U8(0), 393 B(StaContextSlot), R(1), U8(6), U8(0),
394 /* 16 E> */ B(StackCheck), 394 /* 16 E> */ B(StackCheck),
395 B(Ldar), R(closure), 395 B(Ldar), R(closure),
396 B(CreateBlockContext), U8(6), 396 B(CreateBlockContext), U8(6),
397 B(PushContext), R(2), 397 B(PushContext), R(2),
398 B(LdaTheHole), 398 B(LdaTheHole),
399 B(StaCurrentContextSlot), U8(4), 399 B(StaCurrentContextSlot), U8(4),
400 B(LdaContextSlot), R(1), U8(6), U8(0), 400 B(LdaContextSlot), R(1), U8(6), U8(0),
401 B(StaCurrentContextSlot), U8(4), 401 B(StaCurrentContextSlot), U8(4),
402 /* 36 S> */ B(LdaCurrentContextSlot), U8(4), 402 /* 36 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
403 B(Star), R(12), 403 B(Star), R(12),
404 B(LdaFalse), 404 B(LdaFalse),
405 B(Star), R(13), 405 B(Star), R(13),
406 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12) , U8(2), 406 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12) , U8(2),
407 B(Star), R(12), 407 B(Star), R(12),
408 B(LdaContextSlot), R(1), U8(5), U8(0), 408 B(LdaImmutableContextSlot), R(1), U8(5), U8(0),
409 B(Star), R(13), 409 B(Star), R(13),
410 B(LdaSmi), I8(1), 410 B(LdaSmi), I8(1),
411 B(SuspendGenerator), R(13), 411 B(SuspendGenerator), R(13),
412 B(Ldar), R(12), 412 B(Ldar), R(12),
413 /* 44 S> */ B(Return), 413 /* 44 S> */ B(Return),
414 B(LdaSmi), I8(-2), 414 B(LdaSmi), I8(-2),
415 B(Star), R(3), 415 B(Star), R(3),
416 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 3), U8(1), 416 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 3), U8(1),
417 B(Star), R(14), 417 B(Star), R(14),
418 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U 8(1), 418 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U 8(1),
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 B(CreateCatchContext), R(12), U8(7), U8(8), 450 B(CreateCatchContext), R(12), U8(7), U8(8),
451 B(Star), R(11), 451 B(Star), R(11),
452 B(PushContext), R(2), 452 B(PushContext), R(2),
453 B(LdaContextSlot), R(1), U8(9), U8(0), 453 B(LdaContextSlot), R(1), U8(9), U8(0),
454 B(Star), R(12), 454 B(Star), R(12),
455 B(LdaSmi), I8(2), 455 B(LdaSmi), I8(2),
456 B(TestEqualStrict), R(12), U8(15), 456 B(TestEqualStrict), R(12), U8(15),
457 B(JumpIfFalse), U8(8), 457 B(JumpIfFalse), U8(8),
458 B(LdaSmi), I8(1), 458 B(LdaSmi), I8(1),
459 B(StaContextSlot), R(1), U8(9), U8(0), 459 B(StaContextSlot), R(1), U8(9), U8(0),
460 B(LdaCurrentContextSlot), U8(4), 460 B(LdaImmutableCurrentContextSlot), U8(4),
461 B(Star), R(12), 461 B(Star), R(12),
462 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), 462 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1),
463 B(PopContext), R(2), 463 B(PopContext), R(2),
464 B(LdaSmi), I8(-1), 464 B(LdaSmi), I8(-1),
465 B(Star), R(8), 465 B(Star), R(8),
466 B(Jump), U8(8), 466 B(Jump), U8(8),
467 B(Star), R(9), 467 B(Star), R(9),
468 B(LdaSmi), I8(1), 468 B(LdaSmi), I8(1),
469 B(Star), R(8), 469 B(Star), R(8),
470 B(LdaTheHole), 470 B(LdaTheHole),
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 B(Jump), U8(14), 566 B(Jump), U8(14),
567 B(LdaSmi), I8(-1), 567 B(LdaSmi), I8(-1),
568 B(Star), R(5), 568 B(Star), R(5),
569 B(Jump), U8(8), 569 B(Jump), U8(8),
570 B(Star), R(6), 570 B(Star), R(6),
571 B(LdaSmi), I8(4), 571 B(LdaSmi), I8(4),
572 B(Star), R(5), 572 B(Star), R(5),
573 B(LdaTheHole), 573 B(LdaTheHole),
574 B(SetPendingMessage), 574 B(SetPendingMessage),
575 B(Star), R(7), 575 B(Star), R(7),
576 B(LdaCurrentContextSlot), U8(5), 576 B(LdaImmutableCurrentContextSlot), U8(5),
577 B(Star), R(8), 577 B(Star), R(8),
578 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1), 578 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1),
579 B(Ldar), R(7), 579 B(Ldar), R(7),
580 B(SetPendingMessage), 580 B(SetPendingMessage),
581 B(LdaZero), 581 B(LdaZero),
582 B(TestEqualStrict), R(5), U8(0), 582 B(TestEqualStrict), R(5), U8(0),
583 B(JumpIfTrue), U8(32), 583 B(JumpIfTrue), U8(32),
584 B(LdaSmi), I8(1), 584 B(LdaSmi), I8(1),
585 B(TestEqualStrict), R(5), U8(0), 585 B(TestEqualStrict), R(5), U8(0),
586 B(JumpIfTrue), U8(28), 586 B(JumpIfTrue), U8(28),
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 FIXED_ARRAY_TYPE, 623 FIXED_ARRAY_TYPE,
624 Smi [579], 624 Smi [579],
625 ] 625 ]
626 handlers: [ 626 handlers: [
627 [53, 694, 700], 627 [53, 694, 700],
628 [149, 445, 451], 628 [149, 445, 451],
629 [152, 401, 403], 629 [152, 401, 403],
630 [547, 563, 565], 630 [547, 563, 565],
631 ] 631 ]
632 632
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698