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

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

Issue 2917263002: Move generator-close on exception from the generator function to the GeneratorResume builtin. (Closed)
Patch Set: Scope for the old unused context register Created 3 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
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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 [228, 238, 240], 634 [228, 238, 240],
635 ] 635 ]
636 636
637 --- 637 ---
638 snippet: " 638 snippet: "
639 function* f(arr) { 639 function* f(arr) {
640 for (let x of arr) { let y = x; } 640 for (let x of arr) { let y = x; }
641 } 641 }
642 f([1, 2, 3]); 642 f([1, 2, 3]);
643 " 643 "
644 frame size: 24 644 frame size: 20
645 parameter count: 2 645 parameter count: 2
646 bytecode array length: 446 646 bytecode array length: 382
647 bytecodes: [ 647 bytecodes: [
648 B(Mov), R(new_target), R(11), 648 B(Mov), R(new_target), R(11),
649 B(Ldar), R(new_target), 649 B(Ldar), R(new_target),
650 B(JumpIfUndefined), U8(25), 650 B(JumpIfUndefined), U8(25),
651 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(11), U 8(1), 651 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(11), U 8(1),
652 B(PushContext), R(13), 652 B(PushContext), R(13),
653 B(RestoreGeneratorState), R(11), 653 B(RestoreGeneratorState), R(11),
654 B(Star), R(12), 654 B(Star), R(12),
655 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), 655 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0),
656 B(LdaSmi), I8(79), 656 B(LdaSmi), I8(79),
657 B(Star), R(14), 657 B(Star), R(13),
658 B(CallRuntime), U16(Runtime::kAbort), R(14), U8(1), 658 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1),
659 B(LdaSmi), I8(-2), 659 B(LdaSmi), I8(-2),
660 B(Star), R(12), 660 B(Star), R(12),
661 B(CreateFunctionContext), U8(1), 661 B(CreateFunctionContext), U8(1),
662 B(PushContext), R(14), 662 B(PushContext), R(13),
663 B(Ldar), R(arg0), 663 B(Ldar), R(arg0),
664 B(StaCurrentContextSlot), U8(4), 664 B(StaCurrentContextSlot), U8(4),
665 B(Mov), R(closure), R(15), 665 B(Mov), R(closure), R(14),
666 B(Mov), R(this), R(16), 666 B(Mov), R(this), R(15),
667 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(15 ), U8(2), 667 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(14 ), U8(2),
668 B(Star), R(3), 668 B(Star), R(3),
669 /* 11 E> */ B(StackCheck), 669 /* 11 E> */ B(StackCheck),
670 B(Star), R(11),
671 B(Mov), R(context), R(17),
672 B(LdaZero), 670 B(LdaZero),
673 B(Mov), R(3), R(19), 671 B(Mov), R(3), R(11),
674 B(Mov), R(3), R(18), 672 B(Mov), R(3), R(15),
675 /* 11 E> */ B(SuspendGenerator), R(18), R(0), U8(19), U8(0), 673 B(Mov), R(3), R(14),
676 B(Ldar), R(19), 674 /* 11 E> */ B(SuspendGenerator), R(14), R(0), U8(15), U8(0),
675 B(Ldar), R(15),
677 /* 55 S> */ B(Return), 676 /* 55 S> */ B(Return),
678 B(RestoreGeneratorRegisters), R(11), R(0), U8(19), 677 B(RestoreGeneratorRegisters), R(11), R(0), U8(15),
679 B(LdaSmi), I8(-2), 678 B(LdaSmi), I8(-2),
680 B(Star), R(12), 679 B(Star), R(12),
681 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(18), U8(1), 680 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(14), U8(1),
682 B(Star), R(19), 681 B(Star), R(15),
683 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(18) , U8(1), 682 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(14) , U8(1),
684 B(Star), R(20),
685 B(LdaZero),
686 B(TestEqualStrictNoFeedback), R(20),
687 B(JumpIfTrue), U8(28),
688 B(LdaSmi), I8(2),
689 B(TestEqualStrictNoFeedback), R(20),
690 B(JumpIfTrue), U8(19),
691 B(LdaTrue),
692 B(Star), R(22),
693 B(Mov), R(19), R(21),
694 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(21) , U8(2),
695 B(Star), R(16), 683 B(Star), R(16),
696 B(LdaZero), 684 B(LdaZero),
697 B(Star), R(15), 685 B(TestEqualStrictNoFeedback), R(16),
698 B(JumpConstant), U8(10), 686 B(JumpIfTrue), U8(18),
699 B(Ldar), R(19), 687 B(LdaSmi), I8(2),
688 B(TestEqualStrictNoFeedback), R(16),
689 B(JumpIfTrue), U8(9),
690 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(11), U8(1),
691 B(Ldar), R(15),
692 /* 55 S> */ B(Return),
693 B(Ldar), R(15),
700 /* 11 E> */ B(Throw), 694 /* 11 E> */ B(Throw),
701 B(LdaZero), 695 B(LdaZero),
702 B(Star), R(7), 696 B(Star), R(7),
703 B(Mov), R(context), R(20), 697 B(Mov), R(context), R(16),
704 B(Mov), R(context), R(21), 698 B(Mov), R(context), R(17),
705 /* 35 S> */ B(LdaImmutableCurrentContextSlot), U8(4), 699 /* 35 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
706 B(Star), R(22), 700 B(Star), R(18),
707 B(LdaNamedProperty), R(22), U8(1), U8(3), 701 B(LdaNamedProperty), R(18), U8(1), U8(3),
708 B(Star), R(23), 702 B(Star), R(19),
709 B(CallProperty0), R(23), R(22), U8(5), 703 B(CallProperty0), R(19), R(18), U8(5),
710 B(JumpIfJSReceiver), U8(7), 704 B(JumpIfJSReceiver), U8(7),
711 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 705 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
712 B(Star), R(5), 706 B(Star), R(5),
713 /* 30 S> */ B(LdaNamedProperty), R(5), U8(2), U8(9), 707 /* 30 S> */ B(LdaNamedProperty), R(5), U8(2), U8(9),
714 B(Star), R(22), 708 B(Star), R(18),
715 B(CallProperty0), R(22), R(5), U8(7), 709 B(CallProperty0), R(18), R(5), U8(7),
716 B(Star), R(6), 710 B(Star), R(6),
717 /* 30 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1), 711 /* 30 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1),
718 B(ToBooleanLogicalNot), 712 B(ToBooleanLogicalNot),
719 B(JumpIfFalse), U8(7), 713 B(JumpIfFalse), U8(7),
720 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (6), U8(1), 714 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (6), U8(1),
721 B(LdaNamedProperty), R(6), U8(3), U8(11), 715 B(LdaNamedProperty), R(6), U8(3), U8(11),
722 B(JumpIfToBooleanTrue), U8(28), 716 B(JumpIfToBooleanTrue), U8(28),
723 B(LdaNamedProperty), R(6), U8(4), U8(13), 717 B(LdaNamedProperty), R(6), U8(4), U8(13),
724 B(Star), R(8), 718 B(Star), R(8),
725 B(LdaSmi), I8(2), 719 B(LdaSmi), I8(2),
726 B(Star), R(7), 720 B(Star), R(7),
727 B(Mov), R(8), R(4), 721 B(Mov), R(8), R(4),
728 /* 21 E> */ B(StackCheck), 722 /* 21 E> */ B(StackCheck),
729 B(Mov), R(4), R(1), 723 B(Mov), R(4), R(1),
730 /* 50 S> */ B(Mov), R(1), R(0), 724 /* 50 S> */ B(Mov), R(1), R(0),
731 B(LdaZero), 725 B(LdaZero),
732 B(Star), R(7), 726 B(Star), R(7),
733 B(JumpLoop), U8(53), I8(0), 727 B(JumpLoop), U8(53), I8(0),
734 B(Jump), U8(36), 728 B(Jump), U8(36),
735 B(Star), R(22), 729 B(Star), R(18),
736 B(Ldar), R(closure), 730 B(Ldar), R(closure),
737 /* 50 E> */ B(CreateCatchContext), R(22), U8(5), U8(6), 731 /* 50 E> */ B(CreateCatchContext), R(18), U8(5), U8(6),
738 B(PushContext), R(22), 732 B(PushContext), R(18),
739 B(Star), R(21), 733 B(Star), R(17),
740 B(LdaSmi), I8(2), 734 B(LdaSmi), I8(2),
741 B(TestEqualStrict), R(7), U8(15), 735 B(TestEqualStrict), R(7), U8(15),
742 B(JumpIfFalse), U8(6), 736 B(JumpIfFalse), U8(6),
743 B(LdaSmi), I8(1), 737 B(LdaSmi), I8(1),
744 B(Star), R(7), 738 B(Star), R(7),
745 B(LdaImmutableCurrentContextSlot), U8(4), 739 B(LdaImmutableCurrentContextSlot), U8(4),
746 B(Star), R(23), 740 B(Star), R(19),
747 B(CallRuntime), U16(Runtime::kReThrow), R(23), U8(1), 741 B(CallRuntime), U16(Runtime::kReThrow), R(19), U8(1),
748 B(PopContext), R(22), 742 B(PopContext), R(18),
749 B(LdaSmi), I8(-1), 743 B(LdaSmi), I8(-1),
750 B(Star), R(18), 744 B(Star), R(14),
751 B(Jump), U8(7), 745 B(Jump), U8(7),
752 B(Star), R(19), 746 B(Star), R(15),
753 B(LdaZero), 747 B(LdaZero),
754 B(Star), R(18), 748 B(Star), R(14),
755 B(LdaTheHole), 749 B(LdaTheHole),
756 B(SetPendingMessage), 750 B(SetPendingMessage),
757 B(Star), R(20), 751 B(Star), R(16),
758 B(LdaZero), 752 B(LdaZero),
759 B(TestEqualStrict), R(7), U8(16), 753 B(TestEqualStrict), R(7), U8(16),
760 B(JumpIfTrue), U8(104), 754 B(JumpIfTrue), U8(104),
761 B(LdaNamedProperty), R(5), U8(7), U8(17), 755 B(LdaNamedProperty), R(5), U8(7), U8(17),
762 B(Star), R(9), 756 B(Star), R(9),
763 B(TestUndetectable), 757 B(TestUndetectable),
764 B(JumpIfFalse), U8(4), 758 B(JumpIfFalse), U8(4),
765 B(Jump), U8(93), 759 B(Jump), U8(93),
766 B(LdaSmi), I8(1), 760 B(LdaSmi), I8(1),
767 B(TestEqualStrict), R(7), U8(20), 761 B(TestEqualStrict), R(7), U8(20),
768 B(JumpIfFalse), U8(61), 762 B(JumpIfFalse), U8(61),
769 B(Ldar), R(9), 763 B(Ldar), R(9),
770 B(TestTypeOf), U8(5), 764 B(TestTypeOf), U8(5),
771 B(JumpIfFalse), U8(4), 765 B(JumpIfFalse), U8(4),
772 B(Jump), U8(18), 766 B(Jump), U8(18),
773 B(Wide), B(LdaSmi), I16(130), 767 B(Wide), B(LdaSmi), I16(130),
774 B(Star), R(21), 768 B(Star), R(17),
775 B(LdaConstant), U8(8), 769 B(LdaConstant), U8(8),
776 B(Star), R(22), 770 B(Star), R(18),
777 B(CallRuntime), U16(Runtime::kNewTypeError), R(21), U8(2), 771 B(CallRuntime), U16(Runtime::kNewTypeError), R(17), U8(2),
778 B(Throw), 772 B(Throw),
779 B(Mov), R(context), R(21), 773 B(Mov), R(context), R(17),
780 B(Mov), R(9), R(22), 774 B(Mov), R(9), R(18),
781 B(Mov), R(5), R(23), 775 B(Mov), R(5), R(19),
782 B(InvokeIntrinsic), U8(Runtime::k_Call), R(22), U8(2), 776 B(InvokeIntrinsic), U8(Runtime::k_Call), R(18), U8(2),
783 B(Jump), U8(20), 777 B(Jump), U8(20),
784 B(Star), R(22), 778 B(Star), R(18),
785 B(Ldar), R(closure), 779 B(Ldar), R(closure),
786 B(CreateCatchContext), R(22), U8(5), U8(9), 780 B(CreateCatchContext), R(18), U8(5), U8(9),
787 B(Star), R(21), 781 B(Star), R(17),
788 B(LdaTheHole), 782 B(LdaTheHole),
789 B(SetPendingMessage), 783 B(SetPendingMessage),
790 B(Ldar), R(21), 784 B(Ldar), R(17),
791 B(PushContext), R(22), 785 B(PushContext), R(18),
792 B(PopContext), R(22), 786 B(PopContext), R(18),
793 B(Jump), U8(27), 787 B(Jump), U8(27),
794 B(Mov), R(9), R(21), 788 B(Mov), R(9), R(17),
795 B(Mov), R(5), R(22), 789 B(Mov), R(5), R(18),
796 B(InvokeIntrinsic), U8(Runtime::k_Call), R(21), U8(2), 790 B(InvokeIntrinsic), U8(Runtime::k_Call), R(17), U8(2),
797 B(Star), R(10), 791 B(Star), R(10),
798 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), 792 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1),
799 B(JumpIfToBooleanFalse), U8(4), 793 B(JumpIfToBooleanFalse), U8(4),
800 B(Jump), U8(7), 794 B(Jump), U8(7),
801 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1), 795 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1),
802 B(Ldar), R(20), 796 B(Ldar), R(16),
803 B(SetPendingMessage), 797 B(SetPendingMessage),
804 B(LdaZero), 798 B(LdaZero),
805 B(TestEqualStrictNoFeedback), R(18), 799 B(TestEqualStrictNoFeedback), R(14),
806 B(JumpIfFalse), U8(11), 800 B(JumpIfFalse), U8(5),
807 B(LdaSmi), I8(1),
808 B(Star), R(15),
809 B(Mov), R(19), R(16),
810 B(Jump), U8(31),
811 B(LdaUndefined),
812 B(Star), R(18),
813 B(LdaTrue),
814 B(Star), R(19),
815 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(18) , U8(2),
816 B(Star), R(16),
817 B(LdaZero),
818 B(Star), R(15),
819 B(Jump), U8(14),
820 B(LdaSmi), I8(-1),
821 B(Star), R(15),
822 B(Jump), U8(8),
823 B(Star), R(16),
824 B(LdaSmi), I8(1),
825 B(Star), R(15),
826 B(LdaTheHole),
827 B(SetPendingMessage),
828 B(Star), R(17),
829 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(3), U8(1),
830 B(Ldar), R(17),
831 B(SetPendingMessage),
832 B(Ldar), R(15), 801 B(Ldar), R(15),
833 B(SwitchOnSmiNoFeedback), U8(11), U8(2), I8(0),
834 B(Jump), U8(8),
835 B(Ldar), R(16),
836 /* 55 S> */ B(Return),
837 B(Ldar), R(16),
838 B(ReThrow), 802 B(ReThrow),
839 B(LdaUndefined), 803 B(LdaUndefined),
804 B(Star), R(14),
805 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(11), U8(1),
806 B(Ldar), R(14),
840 /* 55 S> */ B(Return), 807 /* 55 S> */ B(Return),
841 ] 808 ]
842 constant pool: [ 809 constant pool: [
843 Smi [58], 810 Smi [56],
844 SYMBOL_TYPE, 811 SYMBOL_TYPE,
845 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 812 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
846 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 813 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
847 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 814 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
848 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 815 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
849 FIXED_ARRAY_TYPE, 816 FIXED_ARRAY_TYPE,
850 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 817 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
851 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 818 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
852 FIXED_ARRAY_TYPE, 819 FIXED_ARRAY_TYPE,
853 Smi [298],
854 Smi [6],
855 Smi [9],
856 ] 820 ]
857 handlers: [ 821 handlers: [
858 [60, 407, 413], 822 [120, 238, 244],
859 [132, 250, 256], 823 [123, 202, 204],
860 [135, 214, 216], 824 [304, 314, 316],
861 [316, 326, 328],
862 ] 825 ]
863 826
864 --- 827 ---
865 snippet: " 828 snippet: "
866 function* f(arr) { 829 function* f(arr) {
867 for (let x of arr) yield x; 830 for (let x of arr) yield x;
868 } 831 }
869 f([1, 2, 3]); 832 f([1, 2, 3]);
870 " 833 "
871 frame size: 26 834 frame size: 21
872 parameter count: 2 835 parameter count: 2
873 bytecode array length: 552 836 bytecode array length: 477
874 bytecodes: [ 837 bytecodes: [
875 B(Mov), R(new_target), R(10), 838 B(Mov), R(new_target), R(10),
876 B(Ldar), R(new_target), 839 B(Ldar), R(new_target),
877 B(JumpIfUndefined), U8(25), 840 B(JumpIfUndefined), U8(25),
878 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(10), U 8(1), 841 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(10), U 8(1),
879 B(PushContext), R(12), 842 B(PushContext), R(12),
880 B(RestoreGeneratorState), R(10), 843 B(RestoreGeneratorState), R(10),
881 B(Star), R(11), 844 B(Star), R(11),
882 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), 845 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0),
883 B(LdaSmi), I8(79), 846 B(LdaSmi), I8(79),
884 B(Star), R(13), 847 B(Star), R(12),
885 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1), 848 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
886 B(LdaSmi), I8(-2), 849 B(LdaSmi), I8(-2),
887 B(Star), R(11), 850 B(Star), R(11),
888 B(CreateFunctionContext), U8(1), 851 B(CreateFunctionContext), U8(1),
889 B(PushContext), R(13), 852 B(PushContext), R(12),
890 B(Ldar), R(arg0), 853 B(Ldar), R(arg0),
891 B(StaCurrentContextSlot), U8(4), 854 B(StaCurrentContextSlot), U8(4),
892 B(Mov), R(closure), R(14), 855 B(Mov), R(closure), R(13),
893 B(Mov), R(this), R(15), 856 B(Mov), R(this), R(14),
894 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(14 ), U8(2), 857 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(13 ), U8(2),
895 B(Star), R(2), 858 B(Star), R(2),
896 /* 11 E> */ B(StackCheck), 859 /* 11 E> */ B(StackCheck),
897 B(Star), R(10),
898 B(Mov), R(context), R(16),
899 B(LdaZero), 860 B(LdaZero),
900 B(Mov), R(2), R(18), 861 B(Mov), R(2), R(10),
901 B(Mov), R(2), R(17), 862 B(Mov), R(2), R(14),
902 /* 11 E> */ B(SuspendGenerator), R(17), R(0), U8(18), U8(0), 863 B(Mov), R(2), R(13),
903 B(Ldar), R(18), 864 /* 11 E> */ B(SuspendGenerator), R(13), R(0), U8(14), U8(0),
865 B(Ldar), R(14),
904 /* 49 S> */ B(Return), 866 /* 49 S> */ B(Return),
905 B(RestoreGeneratorRegisters), R(10), R(0), U8(18), 867 B(RestoreGeneratorRegisters), R(10), R(0), U8(14),
906 B(LdaSmi), I8(-2), 868 B(LdaSmi), I8(-2),
907 B(Star), R(11), 869 B(Star), R(11),
908 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(17), U8(1), 870 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
909 B(Star), R(18), 871 B(Star), R(14),
910 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(17) , U8(1), 872 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1),
911 B(Star), R(19),
912 B(LdaZero),
913 B(TestEqualStrictNoFeedback), R(19),
914 B(JumpIfTrue), U8(28),
915 B(LdaSmi), I8(2),
916 B(TestEqualStrictNoFeedback), R(19),
917 B(JumpIfTrue), U8(19),
918 B(LdaTrue),
919 B(Star), R(21),
920 B(Mov), R(18), R(20),
921 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(20) , U8(2),
922 B(Star), R(15), 873 B(Star), R(15),
923 B(LdaZero), 874 B(LdaZero),
924 B(Star), R(14), 875 B(TestEqualStrictNoFeedback), R(15),
925 B(JumpConstant), U8(14), 876 B(JumpIfTrue), U8(18),
926 B(Ldar), R(18), 877 B(LdaSmi), I8(2),
878 B(TestEqualStrictNoFeedback), R(15),
879 B(JumpIfTrue), U8(9),
880 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(10), U8(1),
881 B(Ldar), R(14),
882 /* 49 S> */ B(Return),
883 B(Ldar), R(14),
927 /* 11 E> */ B(Throw), 884 /* 11 E> */ B(Throw),
928 B(LdaZero), 885 B(LdaZero),
929 B(Star), R(6), 886 B(Star), R(6),
930 B(Mov), R(context), R(19), 887 B(Mov), R(context), R(15),
931 B(Mov), R(context), R(20), 888 B(Mov), R(context), R(16),
932 /* 35 S> */ B(LdaImmutableCurrentContextSlot), U8(4), 889 /* 35 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
933 B(Star), R(21), 890 B(Star), R(17),
934 B(LdaNamedProperty), R(21), U8(2), U8(3), 891 B(LdaNamedProperty), R(17), U8(2), U8(3),
935 B(Star), R(22), 892 B(Star), R(18),
936 B(CallProperty0), R(22), R(21), U8(5), 893 B(CallProperty0), R(18), R(17), U8(5),
937 B(JumpIfJSReceiver), U8(7), 894 B(JumpIfJSReceiver), U8(7),
938 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 895 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
939 B(Star), R(4), 896 B(Star), R(4),
940 B(Ldar), R(11), 897 B(Ldar), R(11),
941 B(SwitchOnSmiNoFeedback), U8(3), U8(1), I8(1), 898 B(SwitchOnSmiNoFeedback), U8(3), U8(1), I8(1),
942 B(LdaSmi), I8(-2), 899 B(LdaSmi), I8(-2),
943 /* 35 E> */ B(TestEqualStrictNoFeedback), R(11), 900 /* 35 E> */ B(TestEqualStrictNoFeedback), R(11),
944 B(JumpIfTrue), U8(11), 901 B(JumpIfTrue), U8(11),
945 B(LdaSmi), I8(79), 902 B(LdaSmi), I8(79),
946 B(Star), R(21), 903 B(Star), R(17),
947 B(CallRuntime), U16(Runtime::kAbort), R(21), U8(1), 904 B(CallRuntime), U16(Runtime::kAbort), R(17), U8(1),
948 /* 30 S> */ B(LdaNamedProperty), R(4), U8(4), U8(9), 905 /* 30 S> */ B(LdaNamedProperty), R(4), U8(4), U8(9),
949 B(Star), R(21), 906 B(Star), R(17),
950 B(CallProperty0), R(21), R(4), U8(7), 907 B(CallProperty0), R(17), R(4), U8(7),
951 B(Star), R(5), 908 B(Star), R(5),
952 /* 30 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1), 909 /* 30 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1),
953 B(ToBooleanLogicalNot), 910 B(ToBooleanLogicalNot),
954 B(JumpIfFalse), U8(7), 911 B(JumpIfFalse), U8(7),
955 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (5), U8(1), 912 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (5), U8(1),
956 B(LdaNamedProperty), R(5), U8(5), U8(11), 913 B(LdaNamedProperty), R(5), U8(5), U8(11),
957 B(JumpIfToBooleanTrue), U8(101), 914 B(JumpIfToBooleanTrue), U8(91),
958 B(LdaNamedProperty), R(5), U8(6), U8(13), 915 B(LdaNamedProperty), R(5), U8(6), U8(13),
959 B(Star), R(7), 916 B(Star), R(7),
960 B(LdaSmi), I8(2), 917 B(LdaSmi), I8(2),
961 B(Star), R(6), 918 B(Star), R(6),
962 B(Mov), R(7), R(3), 919 B(Mov), R(7), R(3),
963 /* 21 E> */ B(StackCheck), 920 /* 21 E> */ B(StackCheck),
964 B(Mov), R(3), R(0), 921 B(Mov), R(3), R(0),
965 /* 40 S> */ B(LdaFalse), 922 /* 40 S> */ B(LdaSmi), I8(1),
966 B(Star), R(23), 923 B(Mov), R(0), R(18),
967 B(Mov), R(3), R(22), 924 B(Mov), R(2), R(17),
968 /* 46 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(22) , U8(2), 925 /* 46 E> */ B(SuspendGenerator), R(17), R(0), U8(18), U8(0),
969 B(Star), R(22), 926 B(LdaFalse),
970 B(LdaSmi), I8(1), 927 B(Star), R(20),
971 B(Mov), R(2), R(21), 928 B(Mov), R(18), R(19),
972 B(SuspendGenerator), R(21), R(0), U8(22), U8(0), 929 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(19) , U8(2),
973 B(Ldar), R(22),
974 /* 49 S> */ B(Return), 930 /* 49 S> */ B(Return),
975 B(RestoreGeneratorRegisters), R(10), R(0), U8(22), 931 B(RestoreGeneratorRegisters), R(10), R(0), U8(18),
976 B(LdaSmi), I8(-2), 932 B(LdaSmi), I8(-2),
977 B(Star), R(11), 933 B(Star), R(11),
978 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(21), U8(1), 934 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(17), U8(1),
979 B(Star), R(22), 935 B(Star), R(18),
980 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21) , U8(1), 936 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(17) , U8(1),
981 B(Star), R(23), 937 B(Star), R(19),
982 B(LdaZero), 938 B(LdaZero),
983 B(TestEqualStrictNoFeedback), R(23), 939 B(TestEqualStrictNoFeedback), R(19),
984 B(JumpIfTrue), U8(28), 940 B(JumpIfTrue), U8(19),
985 B(LdaSmi), I8(2), 941 B(LdaSmi), I8(2),
986 B(TestEqualStrictNoFeedback), R(23), 942 B(TestEqualStrictNoFeedback), R(19),
987 B(JumpIfTrue), U8(19), 943 B(JumpIfTrue), U8(10),
988 B(LdaTrue),
989 B(Star), R(25),
990 B(Mov), R(22), R(24),
991 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24) , U8(2),
992 B(Star), R(18),
993 B(LdaZero), 944 B(LdaZero),
994 B(Star), R(17), 945 B(Star), R(13),
946 B(Mov), R(18), R(14),
995 B(Jump), U8(59), 947 B(Jump), U8(59),
996 B(Ldar), R(22), 948 B(Ldar), R(18),
997 /* 40 E> */ B(Throw), 949 /* 40 E> */ B(Throw),
998 B(LdaZero), 950 B(LdaZero),
999 B(Star), R(6), 951 B(Star), R(6),
1000 B(JumpLoop), U8(147), I8(0), 952 B(JumpLoop), U8(137), I8(0),
1001 B(Jump), U8(36), 953 B(Jump), U8(36),
1002 B(Star), R(21), 954 B(Star), R(17),
1003 B(Ldar), R(closure), 955 B(Ldar), R(closure),
1004 B(CreateCatchContext), R(21), U8(7), U8(8), 956 B(CreateCatchContext), R(17), U8(7), U8(8),
1005 B(PushContext), R(21), 957 B(PushContext), R(17),
1006 B(Star), R(20), 958 B(Star), R(16),
1007 B(LdaSmi), I8(2), 959 B(LdaSmi), I8(2),
1008 B(TestEqualStrict), R(6), U8(15), 960 B(TestEqualStrict), R(6), U8(15),
1009 B(JumpIfFalse), U8(6), 961 B(JumpIfFalse), U8(6),
1010 B(LdaSmi), I8(1), 962 B(LdaSmi), I8(1),
1011 B(Star), R(6), 963 B(Star), R(6),
1012 B(LdaImmutableCurrentContextSlot), U8(4), 964 B(LdaImmutableCurrentContextSlot), U8(4),
1013 B(Star), R(22), 965 B(Star), R(18),
1014 B(CallRuntime), U16(Runtime::kReThrow), R(22), U8(1), 966 B(CallRuntime), U16(Runtime::kReThrow), R(18), U8(1),
1015 B(PopContext), R(21), 967 B(PopContext), R(17),
1016 B(LdaSmi), I8(-1), 968 B(LdaSmi), I8(-1),
1017 B(Star), R(17), 969 B(Star), R(13),
1018 B(Jump), U8(8), 970 B(Jump), U8(8),
1019 B(Star), R(18), 971 B(Star), R(14),
1020 B(LdaSmi), I8(1), 972 B(LdaSmi), I8(1),
1021 B(Star), R(17), 973 B(Star), R(13),
1022 B(LdaTheHole), 974 B(LdaTheHole),
1023 B(SetPendingMessage), 975 B(SetPendingMessage),
1024 B(Star), R(19), 976 B(Star), R(15),
1025 B(LdaZero), 977 B(LdaZero),
1026 B(TestEqualStrict), R(6), U8(16), 978 B(TestEqualStrict), R(6), U8(16),
1027 B(JumpIfTrue), U8(104), 979 B(JumpIfTrue), U8(104),
1028 B(LdaNamedProperty), R(4), U8(9), U8(17), 980 B(LdaNamedProperty), R(4), U8(9), U8(17),
1029 B(Star), R(8), 981 B(Star), R(8),
1030 B(TestUndetectable), 982 B(TestUndetectable),
1031 B(JumpIfFalse), U8(4), 983 B(JumpIfFalse), U8(4),
1032 B(Jump), U8(93), 984 B(Jump), U8(93),
1033 B(LdaSmi), I8(1), 985 B(LdaSmi), I8(1),
1034 B(TestEqualStrict), R(6), U8(20), 986 B(TestEqualStrict), R(6), U8(20),
1035 B(JumpIfFalse), U8(61), 987 B(JumpIfFalse), U8(61),
1036 B(Ldar), R(8), 988 B(Ldar), R(8),
1037 B(TestTypeOf), U8(5), 989 B(TestTypeOf), U8(5),
1038 B(JumpIfFalse), U8(4), 990 B(JumpIfFalse), U8(4),
1039 B(Jump), U8(18), 991 B(Jump), U8(18),
1040 B(Wide), B(LdaSmi), I16(130), 992 B(Wide), B(LdaSmi), I16(130),
1041 B(Star), R(20), 993 B(Star), R(16),
1042 B(LdaConstant), U8(10), 994 B(LdaConstant), U8(10),
1043 B(Star), R(21), 995 B(Star), R(17),
1044 B(CallRuntime), U16(Runtime::kNewTypeError), R(20), U8(2), 996 B(CallRuntime), U16(Runtime::kNewTypeError), R(16), U8(2),
1045 B(Throw), 997 B(Throw),
1046 B(Mov), R(context), R(20), 998 B(Mov), R(context), R(16),
1047 B(Mov), R(8), R(21), 999 B(Mov), R(8), R(17),
1048 B(Mov), R(4), R(22), 1000 B(Mov), R(4), R(18),
1049 B(InvokeIntrinsic), U8(Runtime::k_Call), R(21), U8(2), 1001 B(InvokeIntrinsic), U8(Runtime::k_Call), R(17), U8(2),
1050 B(Jump), U8(20), 1002 B(Jump), U8(20),
1051 B(Star), R(21), 1003 B(Star), R(17),
1052 B(Ldar), R(closure), 1004 B(Ldar), R(closure),
1053 B(CreateCatchContext), R(21), U8(7), U8(11), 1005 B(CreateCatchContext), R(17), U8(7), U8(11),
1054 B(Star), R(20), 1006 B(Star), R(16),
1055 B(LdaTheHole), 1007 B(LdaTheHole),
1056 B(SetPendingMessage), 1008 B(SetPendingMessage),
1057 B(Ldar), R(20), 1009 B(Ldar), R(16),
1058 B(PushContext), R(21), 1010 B(PushContext), R(17),
1059 B(PopContext), R(21), 1011 B(PopContext), R(17),
1060 B(Jump), U8(27), 1012 B(Jump), U8(27),
1061 B(Mov), R(8), R(20), 1013 B(Mov), R(8), R(16),
1062 B(Mov), R(4), R(21), 1014 B(Mov), R(4), R(17),
1063 B(InvokeIntrinsic), U8(Runtime::k_Call), R(20), U8(2), 1015 B(InvokeIntrinsic), U8(Runtime::k_Call), R(16), U8(2),
1064 B(Star), R(9), 1016 B(Star), R(9),
1065 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(9), U8(1), 1017 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(9), U8(1),
1066 B(JumpIfToBooleanFalse), U8(4), 1018 B(JumpIfToBooleanFalse), U8(4),
1067 B(Jump), U8(7), 1019 B(Jump), U8(7),
1068 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (9), U8(1), 1020 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (9), U8(1),
1069 B(Ldar), R(19), 1021 B(Ldar), R(15),
1070 B(SetPendingMessage), 1022 B(SetPendingMessage),
1071 B(Ldar), R(17), 1023 B(Ldar), R(13),
1072 B(SwitchOnSmiNoFeedback), U8(12), U8(2), I8(0), 1024 B(SwitchOnSmiNoFeedback), U8(12), U8(2), I8(0),
1073 B(Jump), U8(19), 1025 B(Jump), U8(12),
1074 B(LdaZero), 1026 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(10), U8(1),
1075 B(Star), R(14),
1076 B(Mov), R(18), R(15),
1077 B(Jump), U8(40),
1078 B(LdaSmi), I8(1),
1079 B(Star), R(14),
1080 B(Mov), R(18), R(15),
1081 B(Jump), U8(31),
1082 B(LdaUndefined),
1083 B(Star), R(17),
1084 B(LdaTrue),
1085 B(Star), R(18),
1086 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(17) , U8(2),
1087 B(Star), R(15),
1088 B(LdaZero),
1089 B(Star), R(14),
1090 B(Jump), U8(14),
1091 B(LdaSmi), I8(-1),
1092 B(Star), R(14),
1093 B(Jump), U8(8),
1094 B(Star), R(15),
1095 B(LdaSmi), I8(1),
1096 B(Star), R(14),
1097 B(LdaTheHole),
1098 B(SetPendingMessage),
1099 B(Star), R(16),
1100 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(2), U8(1),
1101 B(Ldar), R(16),
1102 B(SetPendingMessage),
1103 B(Ldar), R(14), 1027 B(Ldar), R(14),
1104 B(SwitchOnSmiNoFeedback), U8(15), U8(2), I8(0),
1105 B(Jump), U8(8),
1106 B(Ldar), R(15),
1107 /* 49 S> */ B(Return), 1028 /* 49 S> */ B(Return),
1108 B(Ldar), R(15), 1029 B(Ldar), R(14),
1109 B(ReThrow), 1030 B(ReThrow),
1110 B(LdaUndefined), 1031 B(LdaUndefined),
1032 B(Star), R(13),
1033 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(10), U8(1),
1034 B(Ldar), R(13),
1111 /* 49 S> */ B(Return), 1035 /* 49 S> */ B(Return),
1112 ] 1036 ]
1113 constant pool: [ 1037 constant pool: [
1114 Smi [58], 1038 Smi [56],
1115 Smi [141], 1039 Smi [129],
1116 SYMBOL_TYPE, 1040 SYMBOL_TYPE,
1117 Smi [91], 1041 Smi [90],
1118 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 1042 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
1119 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 1043 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
1120 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 1044 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
1121 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1045 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1122 FIXED_ARRAY_TYPE, 1046 FIXED_ARRAY_TYPE,
1123 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 1047 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
1124 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 1048 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
1125 FIXED_ARRAY_TYPE, 1049 FIXED_ARRAY_TYPE,
1126 Smi [6], 1050 Smi [6],
1127 Smi [14], 1051 Smi [13],
1128 Smi [404],
1129 Smi [6],
1130 Smi [9],
1131 ] 1052 ]
1132 handlers: [ 1053 handlers: [
1133 [60, 513, 519], 1054 [120, 322, 328],
1134 [132, 344, 350], 1055 [123, 286, 288],
1135 [135, 308, 310], 1056 [389, 399, 401],
1136 [411, 421, 423],
1137 ] 1057 ]
1138 1058
1139 --- 1059 ---
1140 snippet: " 1060 snippet: "
1141 async function f(arr) { 1061 async function f(arr) {
1142 for (let x of arr) { let y = x; } 1062 for (let x of arr) { let y = x; }
1143 } 1063 }
1144 f([1, 2, 3]); 1064 f([1, 2, 3]);
1145 " 1065 "
1146 frame size: 23 1066 frame size: 23
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1348 [218, 228, 230], 1268 [218, 228, 230],
1349 ] 1269 ]
1350 1270
1351 --- 1271 ---
1352 snippet: " 1272 snippet: "
1353 async function f(arr) { 1273 async function f(arr) {
1354 for (let x of arr) await x; 1274 for (let x of arr) await x;
1355 } 1275 }
1356 f([1, 2, 3]); 1276 f([1, 2, 3]);
1357 " 1277 "
1358 frame size: 28 1278 frame size: 27
1359 parameter count: 2 1279 parameter count: 2
1360 bytecode array length: 558 1280 bytecode array length: 549
1361 bytecodes: [ 1281 bytecodes: [
1362 B(Mov), R(new_target), R(11), 1282 B(Mov), R(new_target), R(11),
1363 B(Ldar), R(new_target), 1283 B(Ldar), R(new_target),
1364 B(JumpIfUndefined), U8(25), 1284 B(JumpIfUndefined), U8(25),
1365 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(11), U 8(1), 1285 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(11), U 8(1),
1366 B(PushContext), R(13), 1286 B(PushContext), R(13),
1367 B(RestoreGeneratorState), R(11), 1287 B(RestoreGeneratorState), R(11),
1368 B(Star), R(12), 1288 B(Star), R(12),
1369 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), 1289 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0),
1370 B(LdaSmi), I8(79), 1290 B(LdaSmi), I8(79),
1371 B(Star), R(14), 1291 B(Star), R(13),
1372 B(CallRuntime), U16(Runtime::kAbort), R(14), U8(1), 1292 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1),
1373 B(LdaSmi), I8(-2), 1293 B(LdaSmi), I8(-2),
1374 B(Star), R(12), 1294 B(Star), R(12),
1375 B(CreateFunctionContext), U8(1), 1295 B(CreateFunctionContext), U8(1),
1376 B(PushContext), R(14), 1296 B(PushContext), R(13),
1377 B(Ldar), R(arg0), 1297 B(Ldar), R(arg0),
1378 B(StaCurrentContextSlot), U8(4), 1298 B(StaCurrentContextSlot), U8(4),
1379 B(Mov), R(closure), R(15), 1299 B(Mov), R(closure), R(14),
1380 B(Mov), R(this), R(16), 1300 B(Mov), R(this), R(15),
1381 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(15 ), U8(2), 1301 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(14 ), U8(2),
1382 B(Star), R(2), 1302 B(Star), R(2),
1383 /* 16 E> */ B(StackCheck), 1303 /* 16 E> */ B(StackCheck),
1384 B(LdaUndefined), 1304 B(LdaUndefined),
1385 B(Star), R(15), 1305 B(Star), R(14),
1386 B(CallJSRuntime), U8(%async_function_promise_create), R(15), U8( 1), 1306 B(CallJSRuntime), U8(%async_function_promise_create), R(14), U8( 1),
1387 B(Star), R(3), 1307 B(Star), R(3),
1308 B(Mov), R(context), R(16),
1309 B(Mov), R(2), R(11),
1388 B(Mov), R(context), R(17), 1310 B(Mov), R(context), R(17),
1389 B(Mov), R(2), R(11),
1390 B(Mov), R(context), R(18),
1391 B(LdaZero), 1311 B(LdaZero),
1392 B(Star), R(7), 1312 B(Star), R(7),
1313 B(Mov), R(context), R(20),
1393 B(Mov), R(context), R(21), 1314 B(Mov), R(context), R(21),
1394 B(Mov), R(context), R(22),
1395 /* 40 S> */ B(LdaImmutableCurrentContextSlot), U8(4), 1315 /* 40 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
1316 B(Star), R(22),
1317 B(LdaNamedProperty), R(22), U8(1), U8(3),
1396 B(Star), R(23), 1318 B(Star), R(23),
1397 B(LdaNamedProperty), R(23), U8(1), U8(3), 1319 B(CallProperty0), R(23), R(22), U8(5),
1398 B(Star), R(24),
1399 B(CallProperty0), R(24), R(23), U8(5),
1400 B(JumpIfJSReceiver), U8(7), 1320 B(JumpIfJSReceiver), U8(7),
1401 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 1321 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
1402 B(Star), R(5), 1322 B(Star), R(5),
1403 B(Ldar), R(12), 1323 B(Ldar), R(12),
1404 B(SwitchOnSmiNoFeedback), U8(2), U8(1), I8(0), 1324 B(SwitchOnSmiNoFeedback), U8(2), U8(1), I8(0),
1405 B(LdaSmi), I8(-2), 1325 B(LdaSmi), I8(-2),
1406 /* 40 E> */ B(TestEqualStrictNoFeedback), R(12), 1326 /* 40 E> */ B(TestEqualStrictNoFeedback), R(12),
1407 B(JumpIfTrue), U8(11), 1327 B(JumpIfTrue), U8(11),
1408 B(LdaSmi), I8(79), 1328 B(LdaSmi), I8(79),
1409 B(Star), R(23), 1329 B(Star), R(22),
1410 B(CallRuntime), U16(Runtime::kAbort), R(23), U8(1), 1330 B(CallRuntime), U16(Runtime::kAbort), R(22), U8(1),
1411 /* 35 S> */ B(LdaNamedProperty), R(5), U8(3), U8(9), 1331 /* 35 S> */ B(LdaNamedProperty), R(5), U8(3), U8(9),
1412 B(Star), R(23), 1332 B(Star), R(22),
1413 B(CallProperty0), R(23), R(5), U8(7), 1333 B(CallProperty0), R(22), R(5), U8(7),
1414 B(Star), R(6), 1334 B(Star), R(6),
1415 /* 35 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1), 1335 /* 35 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1),
1416 B(ToBooleanLogicalNot), 1336 B(ToBooleanLogicalNot),
1417 B(JumpIfFalse), U8(7), 1337 B(JumpIfFalse), U8(7),
1418 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (6), U8(1), 1338 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (6), U8(1),
1419 B(LdaNamedProperty), R(6), U8(4), U8(11), 1339 B(LdaNamedProperty), R(6), U8(4), U8(11),
1420 B(JumpIfToBooleanTrue), U8(107), 1340 B(JumpIfToBooleanTrue), U8(98),
1421 B(LdaNamedProperty), R(6), U8(5), U8(13), 1341 B(LdaNamedProperty), R(6), U8(5), U8(13),
1422 B(Star), R(8), 1342 B(Star), R(8),
1423 B(LdaSmi), I8(2), 1343 B(LdaSmi), I8(2),
1424 B(Star), R(7), 1344 B(Star), R(7),
1425 B(Mov), R(8), R(4), 1345 B(Mov), R(8), R(4),
1426 /* 26 E> */ B(StackCheck), 1346 /* 26 E> */ B(StackCheck),
1427 B(Mov), R(4), R(0), 1347 B(Mov), R(4), R(0),
1428 /* 45 S> */ B(LdaUndefined), 1348 /* 45 S> */ B(LdaUndefined),
1429 B(Star), R(24), 1349 B(Star), R(23),
1430 B(Mov), R(2), R(25), 1350 B(Mov), R(2), R(24),
1431 B(Mov), R(4), R(26), 1351 B(Mov), R(4), R(25),
1432 B(Mov), R(3), R(27), 1352 B(Mov), R(3), R(26),
1433 /* 51 E> */ B(CallJSRuntime), U8(%async_function_await_uncaught), R(24), U8( 4), 1353 /* 51 E> */ B(CallJSRuntime), U8(%async_function_await_uncaught), R(23), U8( 4),
1434 B(LdaZero), 1354 B(LdaZero),
1435 B(Mov), R(2), R(23), 1355 B(Mov), R(2), R(22),
1436 B(Mov), R(3), R(24), 1356 B(Mov), R(3), R(23),
1437 B(SuspendGenerator), R(23), R(0), U8(24), U8(2), 1357 B(SuspendGenerator), R(22), R(0), U8(23), U8(2),
1438 B(Ldar), R(24), 1358 B(Ldar), R(23),
1439 /* 54 S> */ B(Return), 1359 /* 54 S> */ B(Return),
1440 B(RestoreGeneratorRegisters), R(11), R(0), U8(24), 1360 B(RestoreGeneratorRegisters), R(11), R(0), U8(23),
1441 B(LdaSmi), I8(-2), 1361 B(LdaSmi), I8(-2),
1442 B(Star), R(12), 1362 B(Star), R(12),
1443 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(23), U8(1), 1363 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(22), U8(1),
1364 B(Star), R(23),
1365 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(22) , U8(1),
1444 B(Star), R(24), 1366 B(Star), R(24),
1445 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(23) , U8(1),
1446 B(Star), R(25),
1447 B(LdaZero), 1367 B(LdaZero),
1448 B(TestEqualStrictNoFeedback), R(25), 1368 B(TestEqualStrictNoFeedback), R(24),
1449 B(JumpIfTrue), U8(28), 1369 B(JumpIfTrue), U8(19),
1450 B(LdaSmi), I8(2), 1370 B(LdaSmi), I8(2),
1451 B(TestEqualStrictNoFeedback), R(25), 1371 B(TestEqualStrictNoFeedback), R(24),
1452 B(JumpIfTrue), U8(19), 1372 B(JumpIfTrue), U8(10),
1453 B(LdaTrue),
1454 B(Star), R(27),
1455 B(Mov), R(24), R(26),
1456 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(26) , U8(2),
1457 B(Star), R(20),
1458 B(LdaZero), 1373 B(LdaZero),
1459 B(Star), R(19), 1374 B(Star), R(18),
1375 B(Mov), R(23), R(19),
1460 B(Jump), U8(63), 1376 B(Jump), U8(63),
1461 B(Ldar), R(24), 1377 B(Ldar), R(23),
1462 /* 45 E> */ B(ReThrow), 1378 /* 45 E> */ B(ReThrow),
1463 B(LdaZero), 1379 B(LdaZero),
1464 B(Star), R(7), 1380 B(Star), R(7),
1465 B(JumpLoop), U8(153), I8(0), 1381 B(JumpLoop), U8(144), I8(0),
1466 B(Jump), U8(40), 1382 B(Jump), U8(40),
1467 B(Star), R(23), 1383 B(Star), R(22),
1468 B(Ldar), R(closure), 1384 B(Ldar), R(closure),
1469 B(CreateCatchContext), R(23), U8(6), U8(7), 1385 B(CreateCatchContext), R(22), U8(6), U8(7),
1470 B(Star), R(22), 1386 B(Star), R(21),
1471 B(LdaTheHole), 1387 B(LdaTheHole),
1472 B(SetPendingMessage), 1388 B(SetPendingMessage),
1473 B(Ldar), R(22), 1389 B(Ldar), R(21),
1474 B(PushContext), R(23), 1390 B(PushContext), R(22),
1475 B(LdaSmi), I8(2), 1391 B(LdaSmi), I8(2),
1476 B(TestEqualStrict), R(7), U8(15), 1392 B(TestEqualStrict), R(7), U8(15),
1477 B(JumpIfFalse), U8(6), 1393 B(JumpIfFalse), U8(6),
1478 B(LdaSmi), I8(1), 1394 B(LdaSmi), I8(1),
1479 B(Star), R(7), 1395 B(Star), R(7),
1480 B(LdaImmutableCurrentContextSlot), U8(4), 1396 B(LdaImmutableCurrentContextSlot), U8(4),
1481 B(Star), R(24), 1397 B(Star), R(23),
1482 B(CallRuntime), U16(Runtime::kReThrow), R(24), U8(1), 1398 B(CallRuntime), U16(Runtime::kReThrow), R(23), U8(1),
1483 B(PopContext), R(23), 1399 B(PopContext), R(22),
1484 B(LdaSmi), I8(-1), 1400 B(LdaSmi), I8(-1),
1401 B(Star), R(18),
1402 B(Jump), U8(8),
1485 B(Star), R(19), 1403 B(Star), R(19),
1486 B(Jump), U8(8),
1487 B(Star), R(20),
1488 B(LdaSmi), I8(1), 1404 B(LdaSmi), I8(1),
1489 B(Star), R(19), 1405 B(Star), R(18),
1490 B(LdaTheHole), 1406 B(LdaTheHole),
1491 B(SetPendingMessage), 1407 B(SetPendingMessage),
1492 B(Star), R(21), 1408 B(Star), R(20),
1493 B(LdaZero), 1409 B(LdaZero),
1494 B(TestEqualStrict), R(7), U8(16), 1410 B(TestEqualStrict), R(7), U8(16),
1495 B(JumpIfTrue), U8(104), 1411 B(JumpIfTrue), U8(104),
1496 B(LdaNamedProperty), R(5), U8(8), U8(17), 1412 B(LdaNamedProperty), R(5), U8(8), U8(17),
1497 B(Star), R(9), 1413 B(Star), R(9),
1498 B(TestUndetectable), 1414 B(TestUndetectable),
1499 B(JumpIfFalse), U8(4), 1415 B(JumpIfFalse), U8(4),
1500 B(Jump), U8(93), 1416 B(Jump), U8(93),
1501 B(LdaSmi), I8(1), 1417 B(LdaSmi), I8(1),
1502 B(TestEqualStrict), R(7), U8(20), 1418 B(TestEqualStrict), R(7), U8(20),
1503 B(JumpIfFalse), U8(61), 1419 B(JumpIfFalse), U8(61),
1504 B(Ldar), R(9), 1420 B(Ldar), R(9),
1505 B(TestTypeOf), U8(5), 1421 B(TestTypeOf), U8(5),
1506 B(JumpIfFalse), U8(4), 1422 B(JumpIfFalse), U8(4),
1507 B(Jump), U8(18), 1423 B(Jump), U8(18),
1508 B(Wide), B(LdaSmi), I16(130), 1424 B(Wide), B(LdaSmi), I16(130),
1425 B(Star), R(21),
1426 B(LdaConstant), U8(9),
1509 B(Star), R(22), 1427 B(Star), R(22),
1510 B(LdaConstant), U8(9), 1428 B(CallRuntime), U16(Runtime::kNewTypeError), R(21), U8(2),
1511 B(Star), R(23),
1512 B(CallRuntime), U16(Runtime::kNewTypeError), R(22), U8(2),
1513 B(Throw), 1429 B(Throw),
1514 B(Mov), R(context), R(22), 1430 B(Mov), R(context), R(21),
1515 B(Mov), R(9), R(23),
1516 B(Mov), R(5), R(24),
1517 B(InvokeIntrinsic), U8(Runtime::k_Call), R(23), U8(2),
1518 B(Jump), U8(20),
1519 B(Star), R(23),
1520 B(Ldar), R(closure),
1521 B(CreateCatchContext), R(23), U8(6), U8(10),
1522 B(Star), R(22),
1523 B(LdaTheHole),
1524 B(SetPendingMessage),
1525 B(Ldar), R(22),
1526 B(PushContext), R(23),
1527 B(PopContext), R(23),
1528 B(Jump), U8(27),
1529 B(Mov), R(9), R(22), 1431 B(Mov), R(9), R(22),
1530 B(Mov), R(5), R(23), 1432 B(Mov), R(5), R(23),
1531 B(InvokeIntrinsic), U8(Runtime::k_Call), R(22), U8(2), 1433 B(InvokeIntrinsic), U8(Runtime::k_Call), R(22), U8(2),
1434 B(Jump), U8(20),
1435 B(Star), R(22),
1436 B(Ldar), R(closure),
1437 B(CreateCatchContext), R(22), U8(6), U8(10),
1438 B(Star), R(21),
1439 B(LdaTheHole),
1440 B(SetPendingMessage),
1441 B(Ldar), R(21),
1442 B(PushContext), R(22),
1443 B(PopContext), R(22),
1444 B(Jump), U8(27),
1445 B(Mov), R(9), R(21),
1446 B(Mov), R(5), R(22),
1447 B(InvokeIntrinsic), U8(Runtime::k_Call), R(21), U8(2),
1532 B(Star), R(10), 1448 B(Star), R(10),
1533 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), 1449 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1),
1534 B(JumpIfToBooleanFalse), U8(4), 1450 B(JumpIfToBooleanFalse), U8(4),
1535 B(Jump), U8(7), 1451 B(Jump), U8(7),
1536 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1), 1452 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1),
1537 B(Ldar), R(21), 1453 B(Ldar), R(20),
1538 B(SetPendingMessage), 1454 B(SetPendingMessage),
1539 B(Ldar), R(19), 1455 B(Ldar), R(18),
1540 B(SwitchOnSmiNoFeedback), U8(11), U8(2), I8(0), 1456 B(SwitchOnSmiNoFeedback), U8(11), U8(2), I8(0),
1541 B(Jump), U8(13), 1457 B(Jump), U8(13),
1542 B(LdaZero), 1458 B(LdaZero),
1543 B(Star), R(15), 1459 B(Star), R(14),
1544 B(Mov), R(20), R(16), 1460 B(Mov), R(19), R(15),
1545 B(Jump), U8(83), 1461 B(Jump), U8(83),
1546 B(Ldar), R(20), 1462 B(Ldar), R(19),
1547 B(ReThrow), 1463 B(ReThrow),
1548 B(LdaUndefined), 1464 B(LdaUndefined),
1549 B(Star), R(19), 1465 B(Star), R(18),
1550 B(LdaUndefined), 1466 B(LdaUndefined),
1551 B(Star), R(21), 1467 B(Star), R(20),
1552 B(Mov), R(3), R(20), 1468 B(Mov), R(3), R(19),
1553 B(CallJSRuntime), U8(%promise_resolve), R(19), U8(3), 1469 B(CallJSRuntime), U8(%promise_resolve), R(18), U8(3),
1554 B(LdaZero), 1470 B(LdaZero),
1555 B(Star), R(15), 1471 B(Star), R(14),
1556 B(Mov), R(3), R(16), 1472 B(Mov), R(3), R(15),
1557 B(Jump), U8(59), 1473 B(Jump), U8(59),
1558 B(Jump), U8(45), 1474 B(Jump), U8(45),
1559 B(Star), R(19), 1475 B(Star), R(18),
1560 B(Ldar), R(closure), 1476 B(Ldar), R(closure),
1561 B(CreateCatchContext), R(19), U8(6), U8(13), 1477 B(CreateCatchContext), R(18), U8(6), U8(13),
1562 B(Star), R(18), 1478 B(Star), R(17),
1563 B(LdaTheHole), 1479 B(LdaTheHole),
1564 B(SetPendingMessage), 1480 B(SetPendingMessage),
1565 B(Ldar), R(18), 1481 B(Ldar), R(17),
1566 B(PushContext), R(19), 1482 B(PushContext), R(18),
1567 B(LdaUndefined), 1483 B(LdaUndefined),
1568 B(Star), R(20), 1484 B(Star), R(19),
1569 B(LdaImmutableCurrentContextSlot), U8(4), 1485 B(LdaImmutableCurrentContextSlot), U8(4),
1486 B(Star), R(21),
1487 B(LdaFalse),
1570 B(Star), R(22), 1488 B(Star), R(22),
1571 B(LdaFalse), 1489 B(Mov), R(3), R(20),
1572 B(Star), R(23), 1490 B(CallJSRuntime), U8(%promise_internal_reject), R(19), U8(4),
1573 B(Mov), R(3), R(21), 1491 B(PopContext), R(18),
1574 B(CallJSRuntime), U8(%promise_internal_reject), R(20), U8(4),
1575 B(PopContext), R(19),
1576 B(LdaZero), 1492 B(LdaZero),
1577 B(Star), R(15), 1493 B(Star), R(14),
1578 B(Mov), R(3), R(16), 1494 B(Mov), R(3), R(15),
1579 B(Jump), U8(14), 1495 B(Jump), U8(14),
1580 B(LdaSmi), I8(-1), 1496 B(LdaSmi), I8(-1),
1497 B(Star), R(14),
1498 B(Jump), U8(8),
1581 B(Star), R(15), 1499 B(Star), R(15),
1582 B(Jump), U8(8),
1583 B(Star), R(16),
1584 B(LdaSmi), I8(1), 1500 B(LdaSmi), I8(1),
1585 B(Star), R(15), 1501 B(Star), R(14),
1586 B(LdaTheHole), 1502 B(LdaTheHole),
1587 B(SetPendingMessage), 1503 B(SetPendingMessage),
1504 B(Star), R(16),
1505 B(LdaUndefined),
1588 B(Star), R(17), 1506 B(Star), R(17),
1589 B(LdaUndefined), 1507 B(Mov), R(3), R(18),
1590 B(Star), R(18), 1508 B(CallJSRuntime), U8(%async_function_promise_release), R(17), U8 (2),
1591 B(Mov), R(3), R(19), 1509 B(Ldar), R(16),
1592 B(CallJSRuntime), U8(%async_function_promise_release), R(18), U8 (2),
1593 B(Ldar), R(17),
1594 B(SetPendingMessage), 1510 B(SetPendingMessage),
1595 B(Ldar), R(15), 1511 B(Ldar), R(14),
1596 B(SwitchOnSmiNoFeedback), U8(14), U8(2), I8(0), 1512 B(SwitchOnSmiNoFeedback), U8(14), U8(2), I8(0),
1597 B(Jump), U8(8), 1513 B(Jump), U8(8),
1598 B(Ldar), R(16), 1514 B(Ldar), R(15),
1599 /* 54 S> */ B(Return), 1515 /* 54 S> */ B(Return),
1600 B(Ldar), R(16), 1516 B(Ldar), R(15),
1601 B(ReThrow), 1517 B(ReThrow),
1602 B(LdaUndefined), 1518 B(LdaUndefined),
1603 /* 54 S> */ B(Return), 1519 /* 54 S> */ B(Return),
1604 ] 1520 ]
1605 constant pool: [ 1521 constant pool: [
1606 Smi [88], 1522 Smi [88],
1607 SYMBOL_TYPE, 1523 SYMBOL_TYPE,
1608 Smi [97], 1524 Smi [97],
1609 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 1525 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
1610 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 1526 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
1611 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 1527 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
1612 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1528 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1613 FIXED_ARRAY_TYPE, 1529 FIXED_ARRAY_TYPE,
1614 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 1530 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
1615 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 1531 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
1616 FIXED_ARRAY_TYPE, 1532 FIXED_ARRAY_TYPE,
1617 Smi [6], 1533 Smi [6],
1618 Smi [14], 1534 Smi [14],
1619 FIXED_ARRAY_TYPE, 1535 FIXED_ARRAY_TYPE,
1620 Smi [6], 1536 Smi [6],
1621 Smi [9], 1537 Smi [9],
1622 ] 1538 ]
1623 handlers: [ 1539 handlers: [
1624 [70, 513, 519], 1540 [70, 504, 510],
1625 [73, 468, 470], 1541 [73, 459, 461],
1626 [79, 301, 307], 1542 [79, 292, 298],
1627 [82, 261, 263], 1543 [82, 252, 254],
1628 [368, 378, 380], 1544 [359, 369, 371],
1629 ] 1545 ]
1630 1546
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698