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

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

Issue 2707873002: Collect type profile for DevTools. (Closed)
Patch Set: Use constructor name if available. 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 18 matching lines...) Expand all
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(LdaImmutableCurrentContextSlot), U8(4), 38 B(LdaImmutableCurrentContextSlot), U8(4),
39 B(Star), R(7), 39 B(Star), R(8),
40 B(Mov), R(closure), R(6), 40 B(Mov), R(closure), R(7),
41 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8 (2), 41 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8 (2),
42 B(StaCurrentContextSlot), U8(5), 42 B(StaCurrentContextSlot), U8(5),
43 B(Star), R(6), 43 B(Star), R(6),
44 B(LdaImmutableCurrentContextSlot), 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),
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(LdaImmutableCurrentContextSlot), U8(4), 153 B(LdaImmutableCurrentContextSlot), U8(4),
154 B(Star), R(7), 154 B(Star), R(8),
155 B(Mov), R(closure), R(6), 155 B(Mov), R(closure), R(7),
156 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8 (2), 156 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8 (2),
157 B(StaCurrentContextSlot), U8(5), 157 B(StaCurrentContextSlot), U8(5),
158 B(Star), R(6), 158 B(Star), R(6),
159 B(LdaImmutableCurrentContextSlot), 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),
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(LdaImmutableCurrentContextSlot), U8(4), 308 B(LdaImmutableCurrentContextSlot), U8(4),
309 B(Star), R(9), 309 B(Star), R(10),
310 B(Mov), R(closure), R(8), 310 B(Mov), R(closure), R(9),
311 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8 (2), 311 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(9), U8 (2),
312 B(StaCurrentContextSlot), U8(5), 312 B(StaCurrentContextSlot), U8(5),
313 B(Star), R(8), 313 B(Star), R(8),
314 B(LdaImmutableCurrentContextSlot), 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),
(...skipping 20 matching lines...) Expand all
342 /* 11 E> */ B(Throw), 342 /* 11 E> */ B(Throw),
343 B(Ldar), R(closure), 343 B(Ldar), R(closure),
344 B(CreateBlockContext), U8(0), 344 B(CreateBlockContext), U8(0),
345 B(PushContext), R(1), 345 B(PushContext), R(1),
346 B(LdaTheHole), 346 B(LdaTheHole),
347 B(StaCurrentContextSlot), U8(4), 347 B(StaCurrentContextSlot), U8(4),
348 B(LdaZero), 348 B(LdaZero),
349 B(StaContextSlot), R(1), U8(9), U8(0), 349 B(StaContextSlot), R(1), U8(9), U8(0),
350 B(Mov), R(context), R(10), 350 B(Mov), R(context), R(10),
351 B(Mov), R(context), R(11), 351 B(Mov), R(context), R(11),
352 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(2), U8(9), 352 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(6), U8(9),
353 B(Star), R(12),
354 B(LdaNamedProperty), R(12), U8(2), U8(3),
355 B(Star), R(13), 353 B(Star), R(13),
356 B(CallProperty), R(13), R(12), U8(1), U8(5), 354 B(LdaNamedProperty), R(13), U8(2), U8(7),
355 B(Star), R(14),
356 B(CallProperty), R(14), R(13), U8(1), U8(9),
357 B(JumpIfJSReceiver), U8(7), 357 B(JumpIfJSReceiver), U8(7),
358 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 358 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
359 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), 359 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
360 B(LdaSmi), I8(-2), 360 B(LdaSmi), I8(-2),
361 B(TestEqual), R(3), U8(0), 361 B(TestEqual), R(3), U8(0),
362 B(JumpIfTrue), U8(18), 362 B(JumpIfTrue), U8(18),
363 B(LdaSmi), I8(1), 363 B(LdaSmi), I8(1),
364 B(TestEqualStrict), R(3), U8(0), 364 B(TestEqualStrict), R(3), U8(0),
365 B(JumpIfTrue), U8(134), 365 B(JumpIfTrue), U8(134),
366 B(LdaSmi), I8(78), 366 B(LdaSmi), I8(78),
367 B(Star), R(12), 367 B(Star), R(12),
368 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), 368 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
369 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), 369 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0),
370 B(Star), R(14),
371 B(LdaNamedProperty), R(14), U8(3), U8(15),
370 B(Star), R(13), 372 B(Star), R(13),
371 B(LdaNamedProperty), R(13), U8(3), U8(9), 373 /* 27 E> */ B(CallProperty), R(13), R(14), U8(1), U8(13),
372 B(Star), R(12),
373 /* 27 E> */ B(CallProperty), R(12), R(13), U8(1), U8(7),
374 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), 374 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0),
375 B(Star), R(12), 375 B(Star), R(12),
376 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), 376 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
377 B(ToBooleanLogicalNot), 377 B(ToBooleanLogicalNot),
378 B(JumpIfFalse), U8(13), 378 B(JumpIfFalse), U8(13),
379 B(LdaContextSlot), R(1), U8(8), U8(0), 379 B(LdaContextSlot), R(1), U8(8), U8(0),
380 B(Star), R(12), 380 B(Star), R(12),
381 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1), 381 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1),
382 B(LdaContextSlot), R(1), U8(8), U8(0), 382 B(LdaContextSlot), R(1), U8(8), U8(0),
383 B(Star), R(12), 383 B(Star), R(12),
384 B(LdaNamedProperty), R(12), U8(4), U8(11), 384 B(LdaNamedProperty), R(12), U8(4), U8(19),
385 B(JumpIfToBooleanTrue), U8(147), 385 B(JumpIfToBooleanTrue), U8(147),
386 B(LdaContextSlot), R(1), U8(8), U8(0), 386 B(LdaContextSlot), R(1), U8(8), U8(0),
387 B(Star), R(12), 387 B(Star), R(14),
388 B(LdaNamedProperty), R(12), U8(5), U8(13), 388 B(LdaNamedProperty), R(14), U8(5), U8(21),
389 B(StaContextSlot), R(1), U8(10), U8(0), 389 B(StaContextSlot), R(1), U8(10), U8(0),
390 B(LdaSmi), I8(2), 390 B(LdaSmi), I8(2),
391 B(StaContextSlot), R(1), U8(9), U8(0), 391 B(StaContextSlot), R(1), U8(9), U8(0),
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),
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 B(JumpLoop), U8(218), I8(0), 446 B(JumpLoop), U8(218), I8(0),
447 B(Jump), U8(44), 447 B(Jump), U8(44),
448 B(Star), R(12), 448 B(Star), R(12),
449 B(Ldar), R(closure), 449 B(Ldar), R(closure),
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(33),
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(LdaImmutableCurrentContextSlot), 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),
471 B(SetPendingMessage), 471 B(SetPendingMessage),
472 B(Star), R(10), 472 B(Star), R(10),
473 B(LdaContextSlot), R(1), U8(9), U8(0), 473 B(LdaContextSlot), R(1), U8(9), U8(0),
474 B(Star), R(11), 474 B(Star), R(11),
475 B(LdaZero), 475 B(LdaZero),
476 B(TestEqualStrict), R(11), U8(16), 476 B(TestEqualStrict), R(11), U8(36),
477 B(JumpIfTrue), U8(159), 477 B(JumpIfTrue), U8(159),
478 B(LdaContextSlot), R(1), U8(7), U8(0), 478 B(LdaContextSlot), R(1), U8(7), U8(0),
479 B(Star), R(11), 479 B(Star), R(12),
480 B(LdaNamedProperty), R(11), U8(9), U8(17), 480 B(LdaNamedProperty), R(12), U8(9), U8(37),
481 B(StaContextSlot), R(1), U8(11), U8(0), 481 B(StaContextSlot), R(1), U8(11), U8(0),
482 B(LdaContextSlot), R(1), U8(11), U8(0), 482 B(LdaContextSlot), R(1), U8(11), U8(0),
483 B(Star), R(11), 483 B(Star), R(11),
484 B(TestUndetectable), R(11), 484 B(TestUndetectable), R(11),
485 B(JumpIfFalse), U8(4), 485 B(JumpIfFalse), U8(4),
486 B(Jump), U8(133), 486 B(Jump), U8(133),
487 B(LdaContextSlot), R(1), U8(9), U8(0), 487 B(LdaContextSlot), R(1), U8(9), U8(0),
488 B(Star), R(11), 488 B(Star), R(11),
489 B(LdaSmi), I8(1), 489 B(LdaSmi), I8(1),
490 B(TestEqualStrict), R(11), U8(20), 490 B(TestEqualStrict), R(11), U8(42),
491 B(JumpIfFalse), U8(75), 491 B(JumpIfFalse), U8(75),
492 B(LdaContextSlot), R(1), U8(11), U8(0), 492 B(LdaContextSlot), R(1), U8(11), U8(0),
493 B(TypeOf), 493 B(TypeOf),
494 B(Star), R(11), 494 B(Star), R(11),
495 B(LdaConstant), U8(10), 495 B(LdaConstant), U8(10),
496 B(TestEqualStrict), R(11), U8(21), 496 B(TestEqualStrict), R(11), U8(43),
497 B(JumpIfFalse), U8(4), 497 B(JumpIfFalse), U8(4),
498 B(Jump), U8(18), 498 B(Jump), U8(18),
499 B(Wide), B(LdaSmi), I16(130), 499 B(Wide), B(LdaSmi), I16(130),
500 B(Star), R(11), 500 B(Star), R(11),
501 B(LdaConstant), U8(11), 501 B(LdaConstant), U8(11),
502 B(Star), R(12), 502 B(Star), R(12),
503 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), 503 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
504 B(Throw), 504 B(Throw),
505 B(Mov), R(context), R(11), 505 B(Mov), R(context), R(11),
506 B(LdaContextSlot), R(1), U8(11), U8(0), 506 B(LdaContextSlot), R(1), U8(11), U8(0),
507 B(Star), R(12), 507 B(Star), R(12),
508 B(LdaContextSlot), R(1), U8(7), U8(0), 508 B(LdaContextSlot), R(1), U8(7), U8(0),
509 B(Star), R(13), 509 B(Star), R(13),
510 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), 510 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2),
511 B(Jump), U8(20), 511 B(Jump), U8(20),
512 B(Star), R(12), 512 B(Star), R(12),
513 B(Ldar), R(closure), 513 B(Ldar), R(closure),
514 B(CreateCatchContext), R(12), U8(7), U8(12), 514 B(CreateCatchContext), R(12), U8(7), U8(12),
515 B(Star), R(11), 515 B(Star), R(11),
516 B(LdaTheHole), 516 B(LdaTheHole),
517 B(SetPendingMessage), 517 B(SetPendingMessage),
518 B(Ldar), R(11), 518 B(Ldar), R(11),
519 B(PushContext), R(2), 519 B(PushContext), R(2),
520 B(PopContext), R(2), 520 B(PopContext), R(2),
521 B(Jump), U8(47), 521 B(Jump), U8(47),
522 B(LdaContextSlot), R(1), U8(11), U8(0), 522 B(LdaContextSlot), R(1), U8(11), U8(0),
523 B(Star), R(11), 523 B(Star), R(12),
524 B(LdaContextSlot), R(1), U8(7), U8(0), 524 B(LdaContextSlot), R(1), U8(7), U8(0),
525 B(Star), R(12), 525 B(Star), R(13),
526 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), 526 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2),
527 B(StaContextSlot), R(1), U8(12), U8(0), 527 B(StaContextSlot), R(1), U8(12), U8(0),
528 B(LdaContextSlot), R(1), U8(12), U8(0), 528 B(LdaContextSlot), R(1), U8(12), U8(0),
529 B(Star), R(11), 529 B(Star), R(11),
530 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), 530 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1),
531 B(JumpIfToBooleanFalse), U8(4), 531 B(JumpIfToBooleanFalse), U8(4),
532 B(Jump), U8(13), 532 B(Jump), U8(13),
533 B(LdaContextSlot), R(1), U8(12), U8(0), 533 B(LdaContextSlot), R(1), U8(12), U8(0),
534 B(Star), R(11), 534 B(Star), R(11),
535 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1), 535 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1),
536 B(Ldar), R(10), 536 B(Ldar), R(10),
(...skipping 86 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