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

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

Issue 2889973002: [Interpreter] Handle various generator intrinsics (Closed)
Patch Set: REBASE. Created 3 years, 7 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 | « test/cctest/interpreter/bytecode_expectations/Modules.golden ('k') | no next file » | 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 wrap: no 6 wrap: no
7 test function name: f 7 test function name: f
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 --- 267 ---
268 snippet: " 268 snippet: "
269 function* f() { 269 function* f() {
270 for (let x = 0; x < 10; ++x) { let y = x; } 270 for (let x = 0; x < 10; ++x) { let y = x; }
271 } 271 }
272 f(); 272 f();
273 " 273 "
274 frame size: 14 274 frame size: 14
275 parameter count: 1 275 parameter count: 1
276 bytecode array length: 335 276 bytecode array length: 332
277 bytecodes: [ 277 bytecodes: [
278 B(Ldar), R(new_target), 278 B(Ldar), R(new_target),
279 B(JumpIfUndefined), U8(26), 279 B(JumpIfUndefined), U8(25),
280 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 280 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
281 B(PushContext), R(5), 281 B(PushContext), R(5),
282 B(ResumeGenerator), R(new_target), 282 B(ResumeGenerator), R(new_target),
283 B(Star), R(4), 283 B(Star), R(4),
284 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), 284 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0),
285 B(LdaSmi), I8(79), 285 B(LdaSmi), I8(79),
286 B(Star), R(6), 286 B(Star), R(6),
287 B(CallRuntime), U16(Runtime::kAbort), R(6), U8(1), 287 B(CallRuntime), U16(Runtime::kAbort), R(6), U8(1),
288 B(LdaSmi), I8(-2), 288 B(LdaSmi), I8(-2),
289 B(Star), R(4), 289 B(Star), R(4),
290 B(CreateFunctionContext), U8(4), 290 B(CreateFunctionContext), U8(4),
291 B(PushContext), R(0), 291 B(PushContext), R(0),
292 B(Mov), R(closure), R(6), 292 B(Mov), R(closure), R(6),
293 B(Mov), R(this), R(7), 293 B(Mov), R(this), R(7),
294 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(6) , U8(2), 294 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(6) , U8(2),
295 B(StaCurrentContextSlot), U8(4), 295 B(StaCurrentContextSlot), U8(4),
296 /* 11 E> */ B(StackCheck), 296 /* 11 E> */ B(StackCheck),
297 B(Mov), R(context), R(8), 297 B(Mov), R(context), R(8),
298 B(LdaImmutableCurrentContextSlot), U8(4), 298 B(LdaImmutableCurrentContextSlot), U8(4),
299 B(Star), R(9), 299 B(Star), R(9),
300 B(LdaImmutableCurrentContextSlot), U8(4), 300 B(LdaImmutableCurrentContextSlot), U8(4),
301 B(Star), R(10), 301 B(Star), R(10),
302 B(LdaZero), 302 B(LdaZero),
303 /* 11 E> */ B(SuspendGenerator), R(9), U8(0), 303 /* 11 E> */ B(SuspendGenerator), R(9), U8(0),
304 B(Ldar), R(10), 304 B(Ldar), R(10),
305 /* 62 S> */ B(Return), 305 /* 62 S> */ B(Return),
306 B(LdaSmi), I8(-2), 306 B(LdaSmi), I8(-2),
307 B(Star), R(4), 307 B(Star), R(4),
308 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9 ), U8(1), 308 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(9), U8(1),
309 B(Star), R(10), 309 B(Star), R(10),
310 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8 (1), 310 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(9), U8(1),
311 B(Star), R(11), 311 B(Star), R(11),
312 B(LdaZero), 312 B(LdaZero),
313 B(TestEqualStrictNoFeedback), R(11), 313 B(TestEqualStrictNoFeedback), R(11),
314 B(JumpIfTrue), U8(28), 314 B(JumpIfTrue), U8(28),
315 B(LdaSmi), I8(2), 315 B(LdaSmi), I8(2),
316 B(TestEqualStrictNoFeedback), R(11), 316 B(TestEqualStrictNoFeedback), R(11),
317 B(JumpIfTrue), U8(19), 317 B(JumpIfTrue), U8(19),
318 B(LdaTrue), 318 B(LdaTrue),
319 B(Star), R(13), 319 B(Star), R(13),
320 B(Mov), R(10), R(12), 320 B(Mov), R(10), R(12),
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 ] 429 ]
430 constant pool: [ 430 constant pool: [
431 Smi [52], 431 Smi [52],
432 FIXED_ARRAY_TYPE, 432 FIXED_ARRAY_TYPE,
433 FIXED_ARRAY_TYPE, 433 FIXED_ARRAY_TYPE,
434 FIXED_ARRAY_TYPE, 434 FIXED_ARRAY_TYPE,
435 Smi [6], 435 Smi [6],
436 Smi [9], 436 Smi [9],
437 ] 437 ]
438 handlers: [ 438 handlers: [
439 [52, 291, 297], 439 [51, 288, 294],
440 ] 440 ]
441 441
442 --- 442 ---
443 snippet: " 443 snippet: "
444 function* f() { 444 function* f() {
445 for (let x = 0; x < 10; ++x) yield x; 445 for (let x = 0; x < 10; ++x) yield x;
446 } 446 }
447 f(); 447 f();
448 " 448 "
449 frame size: 13 449 frame size: 13
450 parameter count: 1 450 parameter count: 1
451 bytecode array length: 444 451 bytecode array length: 439
452 bytecodes: [ 452 bytecodes: [
453 B(Ldar), R(new_target), 453 B(Ldar), R(new_target),
454 B(JumpIfUndefined), U8(26), 454 B(JumpIfUndefined), U8(25),
455 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 455 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
456 B(PushContext), R(4), 456 B(PushContext), R(4),
457 B(ResumeGenerator), R(new_target), 457 B(ResumeGenerator), R(new_target),
458 B(Star), R(3), 458 B(Star), R(3),
459 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), 459 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0),
460 B(LdaSmi), I8(79), 460 B(LdaSmi), I8(79),
461 B(Star), R(5), 461 B(Star), R(5),
462 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 462 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
463 B(LdaSmi), I8(-2), 463 B(LdaSmi), I8(-2),
464 B(Star), R(3), 464 B(Star), R(3),
465 B(CreateFunctionContext), U8(4), 465 B(CreateFunctionContext), U8(4),
466 B(PushContext), R(0), 466 B(PushContext), R(0),
467 B(Mov), R(closure), R(5), 467 B(Mov), R(closure), R(5),
468 B(Mov), R(this), R(6), 468 B(Mov), R(this), R(6),
469 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(5) , U8(2), 469 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(5) , U8(2),
470 B(StaCurrentContextSlot), U8(4), 470 B(StaCurrentContextSlot), U8(4),
471 /* 11 E> */ B(StackCheck), 471 /* 11 E> */ B(StackCheck),
472 B(Mov), R(context), R(7), 472 B(Mov), R(context), R(7),
473 B(LdaImmutableCurrentContextSlot), U8(4), 473 B(LdaImmutableCurrentContextSlot), U8(4),
474 B(Star), R(8), 474 B(Star), R(8),
475 B(LdaImmutableCurrentContextSlot), U8(4), 475 B(LdaImmutableCurrentContextSlot), U8(4),
476 B(Star), R(9), 476 B(Star), R(9),
477 B(LdaZero), 477 B(LdaZero),
478 /* 11 E> */ B(SuspendGenerator), R(8), U8(0), 478 /* 11 E> */ B(SuspendGenerator), R(8), U8(0),
479 B(Ldar), R(9), 479 B(Ldar), R(9),
480 /* 56 S> */ B(Return), 480 /* 56 S> */ B(Return),
481 B(LdaSmi), I8(-2), 481 B(LdaSmi), I8(-2),
482 B(Star), R(3), 482 B(Star), R(3),
483 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(8 ), U8(1), 483 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(8), U8(1),
484 B(Star), R(9), 484 B(Star), R(9),
485 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(8), U8 (1), 485 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(8), U8(1),
486 B(Star), R(10), 486 B(Star), R(10),
487 B(LdaZero), 487 B(LdaZero),
488 B(TestEqualStrictNoFeedback), R(10), 488 B(TestEqualStrictNoFeedback), R(10),
489 B(JumpIfTrue), U8(28), 489 B(JumpIfTrue), U8(28),
490 B(LdaSmi), I8(2), 490 B(LdaSmi), I8(2),
491 B(TestEqualStrictNoFeedback), R(10), 491 B(TestEqualStrictNoFeedback), R(10),
492 B(JumpIfTrue), U8(19), 492 B(JumpIfTrue), U8(19),
493 B(LdaTrue), 493 B(LdaTrue),
494 B(Star), R(12), 494 B(Star), R(12),
495 B(Mov), R(9), R(11), 495 B(Mov), R(9), R(11),
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 /* 44 E> */ B(StaCurrentContextSlot), U8(4), 540 /* 44 E> */ B(StaCurrentContextSlot), U8(4),
541 B(LdaSmi), I8(1), 541 B(LdaSmi), I8(1),
542 B(StaContextSlot), R(1), U8(7), U8(0), 542 B(StaContextSlot), R(1), U8(7), U8(0),
543 /* 36 S> */ B(LdaCurrentContextSlot), U8(4), 543 /* 36 S> */ B(LdaCurrentContextSlot), U8(4),
544 B(Star), R(8), 544 B(Star), R(8),
545 B(LdaSmi), I8(10), 545 B(LdaSmi), I8(10),
546 /* 36 E> */ B(TestLessThan), R(8), U8(5), 546 /* 36 E> */ B(TestLessThan), R(8), U8(5),
547 B(JumpIfFalse), U8(4), 547 B(JumpIfFalse), U8(4),
548 B(Jump), U8(6), 548 B(Jump), U8(6),
549 B(PopContext), R(2), 549 B(PopContext), R(2),
550 B(Jump), U8(157), 550 B(Jump), U8(155),
551 B(Ldar), R(3), 551 B(Ldar), R(3),
552 B(SwitchOnSmiNoFeedback), U8(5), U8(1), I8(1), 552 B(SwitchOnSmiNoFeedback), U8(5), U8(1), I8(1),
553 B(LdaSmi), I8(-2), 553 B(LdaSmi), I8(-2),
554 B(TestEqualStrictNoFeedback), R(3), 554 B(TestEqualStrictNoFeedback), R(3),
555 B(JumpIfTrue), U8(11), 555 B(JumpIfTrue), U8(11),
556 B(LdaSmi), I8(79), 556 B(LdaSmi), I8(79),
557 B(Star), R(8), 557 B(Star), R(8),
558 B(CallRuntime), U16(Runtime::kAbort), R(8), U8(1), 558 B(CallRuntime), U16(Runtime::kAbort), R(8), U8(1),
559 B(LdaContextSlot), R(1), U8(7), U8(0), 559 B(LdaContextSlot), R(1), U8(7), U8(0),
560 B(Star), R(8), 560 B(Star), R(8),
561 B(LdaSmi), I8(1), 561 B(LdaSmi), I8(1),
562 B(TestEqual), R(8), U8(6), 562 B(TestEqual), R(8), U8(6),
563 B(JumpIfFalse), U8(101), 563 B(JumpIfFalse), U8(99),
564 /* 18 E> */ B(StackCheck), 564 /* 18 E> */ B(StackCheck),
565 /* 47 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 565 /* 47 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
566 B(Star), R(8), 566 B(Star), R(8),
567 B(LdaCurrentContextSlot), U8(4), 567 B(LdaCurrentContextSlot), U8(4),
568 B(Star), R(9), 568 B(Star), R(9),
569 B(LdaFalse), 569 B(LdaFalse),
570 B(Star), R(10), 570 B(Star), R(10),
571 /* 53 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9), U8(2), 571 /* 53 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9), U8(2),
572 B(Star), R(9), 572 B(Star), R(9),
573 B(LdaSmi), I8(1), 573 B(LdaSmi), I8(1),
574 B(SuspendGenerator), R(8), U8(0), 574 B(SuspendGenerator), R(8), U8(0),
575 B(Ldar), R(9), 575 B(Ldar), R(9),
576 /* 56 S> */ B(Return), 576 /* 56 S> */ B(Return),
577 B(LdaSmi), I8(-2), 577 B(LdaSmi), I8(-2),
578 B(Star), R(3), 578 B(Star), R(3),
579 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(8 ), U8(1), 579 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(8), U8(1),
580 B(Star), R(9), 580 B(Star), R(9),
581 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(8), U8 (1), 581 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(8), U8(1),
582 B(Star), R(10), 582 B(Star), R(10),
583 B(LdaZero), 583 B(LdaZero),
584 B(TestEqualStrictNoFeedback), R(10), 584 B(TestEqualStrictNoFeedback), R(10),
585 B(JumpIfTrue), U8(36), 585 B(JumpIfTrue), U8(36),
586 B(LdaSmi), I8(2), 586 B(LdaSmi), I8(2),
587 B(TestEqualStrictNoFeedback), R(10), 587 B(TestEqualStrictNoFeedback), R(10),
588 B(JumpIfTrue), U8(27), 588 B(JumpIfTrue), U8(27),
589 B(LdaTrue), 589 B(LdaTrue),
590 B(Star), R(12), 590 B(Star), R(12),
591 B(Mov), R(9), R(11), 591 B(Mov), R(9), R(11),
592 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(11) , U8(2), 592 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(11) , U8(2),
593 B(PopContext), R(2), 593 B(PopContext), R(2),
594 B(PopContext), R(2), 594 B(PopContext), R(2),
595 B(PopContext), R(1), 595 B(PopContext), R(1),
596 B(PopContext), R(1), 596 B(PopContext), R(1),
597 B(Star), R(6), 597 B(Star), R(6),
598 B(LdaZero), 598 B(LdaZero),
599 B(Star), R(5), 599 B(Star), R(5),
600 B(Jump), U8(72), 600 B(Jump), U8(72),
601 B(Ldar), R(9), 601 B(Ldar), R(9),
602 /* 47 E> */ B(Throw), 602 /* 47 E> */ B(Throw),
603 B(LdaZero), 603 B(LdaZero),
604 B(StaContextSlot), R(1), U8(7), U8(0), 604 B(StaContextSlot), R(1), U8(7), U8(0),
605 B(LdaCurrentContextSlot), U8(4), 605 B(LdaCurrentContextSlot), U8(4),
606 /* 54 E> */ B(StaContextSlot), R(1), U8(5), U8(0), 606 /* 54 E> */ B(StaContextSlot), R(1), U8(5), U8(0),
607 B(JumpLoop), U8(130), I8(1), 607 B(JumpLoop), U8(128), I8(1),
608 B(LdaContextSlot), R(1), U8(7), U8(0), 608 B(LdaContextSlot), R(1), U8(7), U8(0),
609 B(Star), R(8), 609 B(Star), R(8),
610 B(LdaSmi), I8(1), 610 B(LdaSmi), I8(1),
611 B(TestEqual), R(8), U8(7), 611 B(TestEqual), R(8), U8(7),
612 B(JumpIfFalse), U8(6), 612 B(JumpIfFalse), U8(6),
613 B(PopContext), R(2), 613 B(PopContext), R(2),
614 B(Jump), U8(7), 614 B(Jump), U8(7),
615 B(PopContext), R(2), 615 B(PopContext), R(2),
616 B(JumpLoop), U8(238), I8(0), 616 B(JumpLoop), U8(236), I8(0),
617 B(PopContext), R(1), 617 B(PopContext), R(1),
618 B(LdaUndefined), 618 B(LdaUndefined),
619 B(Star), R(8), 619 B(Star), R(8),
620 B(LdaTrue), 620 B(LdaTrue),
621 B(Star), R(9), 621 B(Star), R(9),
622 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2), 622 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
623 B(Star), R(6), 623 B(Star), R(6),
624 B(LdaZero), 624 B(LdaZero),
625 B(Star), R(5), 625 B(Star), R(5),
626 B(Jump), U8(14), 626 B(Jump), U8(14),
(...skipping 16 matching lines...) Expand all
643 B(Jump), U8(8), 643 B(Jump), U8(8),
644 B(Ldar), R(6), 644 B(Ldar), R(6),
645 /* 56 S> */ B(Return), 645 /* 56 S> */ B(Return),
646 B(Ldar), R(6), 646 B(Ldar), R(6),
647 B(ReThrow), 647 B(ReThrow),
648 B(LdaUndefined), 648 B(LdaUndefined),
649 /* 56 S> */ B(Return), 649 /* 56 S> */ B(Return),
650 ] 650 ]
651 constant pool: [ 651 constant pool: [
652 Smi [52], 652 Smi [52],
653 Smi [125], 653 Smi [123],
654 FIXED_ARRAY_TYPE, 654 FIXED_ARRAY_TYPE,
655 Smi [84], 655 Smi [84],
656 FIXED_ARRAY_TYPE, 656 FIXED_ARRAY_TYPE,
657 Smi [60], 657 Smi [60],
658 Smi [301], 658 Smi [299],
659 Smi [6], 659 Smi [6],
660 Smi [9], 660 Smi [9],
661 ] 661 ]
662 handlers: [ 662 handlers: [
663 [52, 400, 406], 663 [51, 395, 401],
664 ] 664 ]
665 665
666 --- 666 ---
667 snippet: " 667 snippet: "
668 async function f() { 668 async function f() {
669 for (let x = 0; x < 10; ++x) { let y = x; } 669 for (let x = 0; x < 10; ++x) { let y = x; }
670 } 670 }
671 f(); 671 f();
672 " 672 "
673 frame size: 12 673 frame size: 12
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 831
832 --- 832 ---
833 snippet: " 833 snippet: "
834 async function f() { 834 async function f() {
835 for (let x = 0; x < 10; ++x) await x; 835 for (let x = 0; x < 10; ++x) await x;
836 } 836 }
837 f(); 837 f();
838 " 838 "
839 frame size: 14 839 frame size: 14
840 parameter count: 1 840 parameter count: 1
841 bytecode array length: 483 841 bytecode array length: 480
842 bytecodes: [ 842 bytecodes: [
843 B(Ldar), R(new_target), 843 B(Ldar), R(new_target),
844 B(JumpIfUndefined), U8(26), 844 B(JumpIfUndefined), U8(25),
845 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 845 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
846 B(PushContext), R(4), 846 B(PushContext), R(4),
847 B(ResumeGenerator), R(new_target), 847 B(ResumeGenerator), R(new_target),
848 B(Star), R(3), 848 B(Star), R(3),
849 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), 849 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0),
850 B(LdaSmi), I8(79), 850 B(LdaSmi), I8(79),
851 B(Star), R(5), 851 B(Star), R(5),
852 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 852 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
853 B(LdaSmi), I8(-2), 853 B(LdaSmi), I8(-2),
854 B(Star), R(3), 854 B(Star), R(3),
855 B(CreateFunctionContext), U8(6), 855 B(CreateFunctionContext), U8(6),
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 /* 49 E> */ B(StaCurrentContextSlot), U8(4), 905 /* 49 E> */ B(StaCurrentContextSlot), U8(4),
906 B(LdaSmi), I8(1), 906 B(LdaSmi), I8(1),
907 B(StaContextSlot), R(1), U8(9), U8(0), 907 B(StaContextSlot), R(1), U8(9), U8(0),
908 /* 41 S> */ B(LdaCurrentContextSlot), U8(4), 908 /* 41 S> */ B(LdaCurrentContextSlot), U8(4),
909 B(Star), R(9), 909 B(Star), R(9),
910 B(LdaSmi), I8(10), 910 B(LdaSmi), I8(10),
911 /* 41 E> */ B(TestLessThan), R(9), U8(5), 911 /* 41 E> */ B(TestLessThan), R(9), U8(5),
912 B(JumpIfFalse), U8(4), 912 B(JumpIfFalse), U8(4),
913 B(Jump), U8(6), 913 B(Jump), U8(6),
914 B(PopContext), R(2), 914 B(PopContext), R(2),
915 B(Jump), U8(187), 915 B(Jump), U8(185),
916 B(Ldar), R(3), 916 B(Ldar), R(3),
917 B(SwitchOnSmiNoFeedback), U8(4), U8(1), I8(0), 917 B(SwitchOnSmiNoFeedback), U8(4), U8(1), I8(0),
918 B(LdaSmi), I8(-2), 918 B(LdaSmi), I8(-2),
919 B(TestEqualStrictNoFeedback), R(3), 919 B(TestEqualStrictNoFeedback), R(3),
920 B(JumpIfTrue), U8(11), 920 B(JumpIfTrue), U8(11),
921 B(LdaSmi), I8(79), 921 B(LdaSmi), I8(79),
922 B(Star), R(9), 922 B(Star), R(9),
923 B(CallRuntime), U16(Runtime::kAbort), R(9), U8(1), 923 B(CallRuntime), U16(Runtime::kAbort), R(9), U8(1),
924 B(LdaContextSlot), R(1), U8(9), U8(0), 924 B(LdaContextSlot), R(1), U8(9), U8(0),
925 B(Star), R(9), 925 B(Star), R(9),
926 B(LdaSmi), I8(1), 926 B(LdaSmi), I8(1),
927 B(TestEqual), R(9), U8(6), 927 B(TestEqual), R(9), U8(6),
928 B(JumpIfFalse), U8(128), 928 B(JumpIfFalse), U8(126),
929 /* 23 E> */ B(StackCheck), 929 /* 23 E> */ B(StackCheck),
930 /* 52 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 930 /* 52 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
931 B(Star), R(9), 931 B(Star), R(9),
932 /* 58 S> */ B(LdaCurrentContextSlot), U8(4), 932 /* 58 S> */ B(LdaCurrentContextSlot), U8(4),
933 B(StaContextSlot), R(1), U8(5), U8(0), 933 B(StaContextSlot), R(1), U8(5), U8(0),
934 /* 52 S> */ B(LdaUndefined), 934 /* 52 S> */ B(LdaUndefined),
935 B(Star), R(10), 935 B(Star), R(10),
936 B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 936 B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
937 B(Star), R(11), 937 B(Star), R(11),
938 B(LdaContextSlot), R(1), U8(5), U8(0), 938 B(LdaContextSlot), R(1), U8(5), U8(0),
939 B(Star), R(12), 939 B(Star), R(12),
940 B(LdaContextSlot), R(1), U8(6), U8(0), 940 B(LdaContextSlot), R(1), U8(6), U8(0),
941 B(Star), R(13), 941 B(Star), R(13),
942 B(CallJSRuntime), U8(%async_function_await_uncaught), R(10), U8( 4), 942 B(CallJSRuntime), U8(%async_function_await_uncaught), R(10), U8( 4),
943 B(LdaContextSlot), R(1), U8(6), U8(0), 943 B(LdaContextSlot), R(1), U8(6), U8(0),
944 B(Star), R(10), 944 B(Star), R(10),
945 B(LdaZero), 945 B(LdaZero),
946 B(SuspendGenerator), R(9), U8(2), 946 B(SuspendGenerator), R(9), U8(2),
947 B(Ldar), R(10), 947 B(Ldar), R(10),
948 /* 61 S> */ B(Return), 948 /* 61 S> */ B(Return),
949 B(LdaSmi), I8(-2), 949 B(LdaSmi), I8(-2),
950 B(Star), R(3), 950 B(Star), R(3),
951 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9 ), U8(1), 951 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(9), U8(1),
952 B(Star), R(10), 952 B(Star), R(10),
953 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8 (1), 953 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(9), U8(1),
954 B(Star), R(11), 954 B(Star), R(11),
955 B(LdaZero), 955 B(LdaZero),
956 B(TestEqualStrictNoFeedback), R(11), 956 B(TestEqualStrictNoFeedback), R(11),
957 B(JumpIfTrue), U8(40), 957 B(JumpIfTrue), U8(40),
958 B(LdaSmi), I8(2), 958 B(LdaSmi), I8(2),
959 B(TestEqualStrictNoFeedback), R(11), 959 B(TestEqualStrictNoFeedback), R(11),
960 B(JumpIfTrue), U8(31), 960 B(JumpIfTrue), U8(31),
961 B(LdaTrue), 961 B(LdaTrue),
962 B(Star), R(13), 962 B(Star), R(13),
963 B(Mov), R(10), R(12), 963 B(Mov), R(10), R(12),
964 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12) , U8(2), 964 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12) , U8(2),
965 B(PopContext), R(2), 965 B(PopContext), R(2),
966 B(PopContext), R(2), 966 B(PopContext), R(2),
967 B(PopContext), R(1), 967 B(PopContext), R(1),
968 B(PopContext), R(1), 968 B(PopContext), R(1),
969 B(PopContext), R(1), 969 B(PopContext), R(1),
970 B(PopContext), R(1), 970 B(PopContext), R(1),
971 B(Star), R(6), 971 B(Star), R(6),
972 B(LdaZero), 972 B(LdaZero),
973 B(Star), R(5), 973 B(Star), R(5),
974 B(Jump), U8(134), 974 B(Jump), U8(134),
975 B(Ldar), R(10), 975 B(Ldar), R(10),
976 B(ReThrow), 976 B(ReThrow),
977 B(LdaZero), 977 B(LdaZero),
978 B(StaContextSlot), R(1), U8(9), U8(0), 978 B(StaContextSlot), R(1), U8(9), U8(0),
979 B(LdaCurrentContextSlot), U8(4), 979 B(LdaCurrentContextSlot), U8(4),
980 /* 59 E> */ B(StaContextSlot), R(1), U8(7), U8(0), 980 /* 59 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
981 B(JumpLoop), U8(157), I8(1), 981 B(JumpLoop), U8(155), I8(1),
982 B(LdaContextSlot), R(1), U8(9), U8(0), 982 B(LdaContextSlot), R(1), U8(9), U8(0),
983 B(Star), R(9), 983 B(Star), R(9),
984 B(LdaSmi), I8(1), 984 B(LdaSmi), I8(1),
985 B(TestEqual), R(9), U8(7), 985 B(TestEqual), R(9), U8(7),
986 B(JumpIfFalse), U8(6), 986 B(JumpIfFalse), U8(6),
987 B(PopContext), R(2), 987 B(PopContext), R(2),
988 B(Jump), U8(10), 988 B(Jump), U8(10),
989 B(PopContext), R(2), 989 B(PopContext), R(2),
990 B(Wide), B(JumpLoop), U16(266), I16(0), 990 B(Wide), B(JumpLoop), U16(264), I16(0),
991 B(PopContext), R(1), 991 B(PopContext), R(1),
992 B(LdaUndefined), 992 B(LdaUndefined),
993 B(Star), R(9), 993 B(Star), R(9),
994 B(LdaCurrentContextSlot), U8(6), 994 B(LdaCurrentContextSlot), U8(6),
995 B(Star), R(10), 995 B(Star), R(10),
996 B(LdaUndefined), 996 B(LdaUndefined),
997 B(Star), R(11), 997 B(Star), R(11),
998 B(CallJSRuntime), U8(%promise_resolve), R(9), U8(3), 998 B(CallJSRuntime), U8(%promise_resolve), R(9), U8(3),
999 B(LdaCurrentContextSlot), U8(6), 999 B(LdaCurrentContextSlot), U8(6),
1000 B(Star), R(6), 1000 B(Star), R(6),
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 FIXED_ARRAY_TYPE, 1057 FIXED_ARRAY_TYPE,
1058 Smi [84], 1058 Smi [84],
1059 FIXED_ARRAY_TYPE, 1059 FIXED_ARRAY_TYPE,
1060 Smi [83], 1060 Smi [83],
1061 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1061 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1062 FIXED_ARRAY_TYPE, 1062 FIXED_ARRAY_TYPE,
1063 Smi [6], 1063 Smi [6],
1064 Smi [9], 1064 Smi [9],
1065 ] 1065 ]
1066 handlers: [ 1066 handlers: [
1067 [61, 437, 443], 1067 [60, 434, 440],
1068 [64, 384, 386], 1068 [63, 381, 383],
1069 ] 1069 ]
1070 1070
OLDNEW
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Modules.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698