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

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

Issue 2898163002: Make non-Module generators only context allocate parameters. (Closed)
Patch Set: More flag magic 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
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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 [228, 238, 240], 635 [228, 238, 240],
636 ] 636 ]
637 637
638 --- 638 ---
639 snippet: " 639 snippet: "
640 function* f(arr) { 640 function* f(arr) {
641 for (let x of arr) { let y = x; } 641 for (let x of arr) { let y = x; }
642 } 642 }
643 f([1, 2, 3]); 643 f([1, 2, 3]);
644 " 644 "
645 frame size: 15 645 frame size: 24
646 parameter count: 2 646 parameter count: 2
647 bytecode array length: 589 647 bytecode array length: 435
648 bytecodes: [ 648 bytecodes: [
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(new_ta rget), U8(1), 651 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
652 B(PushContext), R(5), 652 B(PushContext), R(14),
653 B(ResumeGenerator), R(new_target), 653 B(ResumeGenerator), R(new_target),
654 B(Star), R(4), 654 B(Star), R(13),
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(6), 657 B(Star), R(15),
658 B(CallRuntime), U16(Runtime::kAbort), R(6), U8(1), 658 B(CallRuntime), U16(Runtime::kAbort), R(15), U8(1),
659 B(LdaSmi), I8(-2), 659 B(LdaSmi), I8(-2),
660 B(Star), R(4), 660 B(Star), R(13),
661 B(CreateFunctionContext), U8(9), 661 B(CreateFunctionContext), U8(1),
662 B(PushContext), R(0), 662 B(PushContext), R(11),
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(6), 665 B(Mov), R(closure), R(15),
666 B(Mov), R(this), R(7), 666 B(Mov), R(this), R(16),
667 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(6) , U8(2), 667 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(15 ), U8(2),
668 B(StaCurrentContextSlot), U8(5), 668 B(Star), R(3),
669 /* 11 E> */ B(StackCheck), 669 /* 11 E> */ B(StackCheck),
670 B(Mov), R(context), R(8), 670 B(Mov), R(context), R(17),
671 B(LdaImmutableCurrentContextSlot), U8(5), 671 B(LdaZero),
672 B(Star), R(9), 672 B(Mov), R(3), R(19),
673 B(LdaImmutableCurrentContextSlot), U8(5), 673 B(Mov), R(3), R(18),
674 B(Star), R(10), 674 /* 11 E> */ B(SuspendGenerator), R(18), U8(0),
675 B(LdaZero), 675 B(Ldar), R(19),
676 /* 11 E> */ B(SuspendGenerator), R(9), U8(0),
677 B(Ldar), R(10),
678 /* 55 S> */ B(Return), 676 /* 55 S> */ B(Return),
679 B(LdaSmi), I8(-2), 677 B(LdaSmi), I8(-2),
680 B(Star), R(4), 678 B(Star), R(13),
681 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(9), U8(1), 679 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(18), U8(1),
682 B(Star), R(10), 680 B(Star), R(19),
683 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(9), U8(1), 681 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(18) , U8(1),
684 B(Star), R(11), 682 B(Star), R(20),
685 B(LdaZero), 683 B(LdaZero),
686 B(TestEqualStrictNoFeedback), R(11), 684 B(TestEqualStrictNoFeedback), R(20),
687 B(JumpIfTrue), U8(28), 685 B(JumpIfTrue), U8(28),
688 B(LdaSmi), I8(2), 686 B(LdaSmi), I8(2),
689 B(TestEqualStrictNoFeedback), R(11), 687 B(TestEqualStrictNoFeedback), R(20),
690 B(JumpIfTrue), U8(19), 688 B(JumpIfTrue), U8(19),
691 B(LdaTrue), 689 B(LdaTrue),
692 B(Star), R(13), 690 B(Star), R(22),
693 B(Mov), R(10), R(12), 691 B(Mov), R(19), R(21),
694 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12) , U8(2), 692 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(21) , U8(2),
695 B(Star), R(7), 693 B(Star), R(16),
696 B(LdaZero), 694 B(LdaZero),
697 B(Star), R(6), 695 B(Star), R(15),
698 B(JumpConstant), U8(13), 696 B(JumpConstant), U8(10),
699 B(Ldar), R(10), 697 B(Ldar), R(19),
700 /* 11 E> */ B(Throw), 698 /* 11 E> */ B(Throw),
701 B(Ldar), R(closure), 699 B(LdaZero),
702 B(CreateBlockContext), U8(1), 700 B(Star), R(7),
703 B(PushContext), R(1), 701 B(Mov), R(context), R(20),
704 B(LdaTheHole), 702 B(Mov), R(context), R(21),
705 B(StaCurrentContextSlot), U8(4), 703 /* 35 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
706 B(LdaZero), 704 B(Star), R(22),
707 B(StaContextSlot), R(1), U8(9), U8(0), 705 B(LdaNamedProperty), R(22), U8(1), U8(3),
708 B(Mov), R(context), R(11), 706 B(Star), R(23),
709 B(Mov), R(context), R(12), 707 B(CallProperty0), R(23), R(22), U8(5),
710 /* 35 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
711 B(Star), R(13),
712 B(LdaNamedProperty), R(13), U8(2), U8(3),
713 B(Star), R(14),
714 B(CallProperty0), R(14), R(13), U8(5),
715 B(JumpIfJSReceiver), U8(7), 708 B(JumpIfJSReceiver), U8(7),
716 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 709 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
717 /* 35 E> */ B(StaContextSlot), R(1), U8(7), U8(0), 710 B(Star), R(5),
718 /* 32 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), 711 /* 32 S> */ B(LdaNamedProperty), R(5), U8(2), U8(9),
719 B(Star), R(14), 712 B(Star), R(22),
720 B(LdaNamedProperty), R(14), U8(3), U8(9), 713 /* 32 E> */ B(CallProperty0), R(22), R(5), U8(7),
721 B(Star), R(13), 714 B(Star), R(6),
722 /* 32 E> */ B(CallProperty0), R(13), R(14), U8(7), 715 /* 32 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1),
723 /* 32 E> */ B(StaContextSlot), R(1), U8(8), U8(0),
724 B(Star), R(13),
725 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(13), U8(1),
726 B(ToBooleanLogicalNot), 716 B(ToBooleanLogicalNot),
727 B(JumpIfFalse), U8(13), 717 B(JumpIfFalse), U8(7),
728 B(LdaContextSlot), R(1), U8(8), U8(0), 718 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (6), U8(1),
729 B(Star), R(13), 719 B(LdaNamedProperty), R(6), U8(3), U8(11),
730 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (13), U8(1), 720 B(JumpIfToBooleanTrue), U8(28),
731 B(LdaContextSlot), R(1), U8(8), U8(0), 721 B(LdaNamedProperty), R(6), U8(4), U8(13),
732 B(Star), R(13), 722 B(Star), R(8),
733 B(LdaNamedProperty), R(13), U8(4), U8(11),
734 B(JumpIfToBooleanTrue), U8(73),
735 B(LdaContextSlot), R(1), U8(8), U8(0),
736 B(Star), R(13),
737 B(LdaNamedProperty), R(13), U8(5), U8(13),
738 B(StaContextSlot), R(1), U8(10), U8(0),
739 B(LdaSmi), I8(2), 723 B(LdaSmi), I8(2),
740 B(StaContextSlot), R(1), U8(9), U8(0), 724 B(Star), R(7),
741 B(LdaContextSlot), R(1), U8(10), U8(0), 725 B(Mov), R(8), R(4),
742 B(StaContextSlot), R(1), U8(6), U8(0),
743 /* 21 E> */ B(StackCheck), 726 /* 21 E> */ B(StackCheck),
727 B(Mov), R(4), R(1),
728 /* 50 S> */ B(Mov), R(1), R(0),
729 B(LdaZero),
730 B(Star), R(7),
731 B(JumpLoop), U8(53), I8(0),
732 B(Jump), U8(36),
733 B(Star), R(22),
744 B(Ldar), R(closure), 734 B(Ldar), R(closure),
745 B(CreateBlockContext), U8(6), 735 /* 50 E> */ B(CreateCatchContext), R(22), U8(5), U8(6),
746 B(PushContext), R(2), 736 B(PushContext), R(12),
737 B(Star), R(21),
738 B(LdaSmi), I8(2),
739 B(TestEqualStrict), R(7), U8(15),
740 B(JumpIfFalse), U8(6),
741 B(LdaSmi), I8(1),
742 B(Star), R(7),
743 B(LdaImmutableCurrentContextSlot), U8(4),
744 B(Star), R(22),
745 B(CallRuntime), U16(Runtime::kReThrow), R(22), U8(1),
746 B(PopContext), R(12),
747 B(LdaSmi), I8(-1),
748 B(Star), R(18),
749 B(Jump), U8(7),
750 B(Star), R(19),
751 B(LdaZero),
752 B(Star), R(18),
747 B(LdaTheHole), 753 B(LdaTheHole),
748 B(StaCurrentContextSlot), U8(4), 754 B(SetPendingMessage),
749 B(LdaContextSlot), R(1), U8(6), U8(0), 755 B(Star), R(20),
750 B(StaCurrentContextSlot), U8(4), 756 B(LdaZero),
751 B(Ldar), R(closure), 757 B(TestEqualStrict), R(7), U8(16),
752 B(CreateBlockContext), U8(7), 758 B(JumpIfTrue), U8(104),
753 B(PushContext), R(3), 759 B(LdaNamedProperty), R(5), U8(7), U8(17),
754 B(LdaTheHole),
755 B(StaCurrentContextSlot), U8(4),
756 /* 50 S> */ B(LdaImmutableContextSlot), R(3), U8(4), U8(0),
757 /* 50 E> */ B(StaCurrentContextSlot), U8(4),
758 B(PopContext), R(3),
759 B(PopContext), R(2),
760 B(LdaZero),
761 B(StaContextSlot), R(1), U8(9), U8(0),
762 B(JumpLoop), U8(120), I8(0),
763 B(Jump), U8(44),
764 B(Star), R(13),
765 B(Ldar), R(closure),
766 B(CreateCatchContext), R(13), U8(8), U8(9),
767 B(PushContext), R(2),
768 B(Star), R(12),
769 B(LdaContextSlot), R(1), U8(9), U8(0),
770 B(Star), R(13),
771 B(LdaSmi), I8(2),
772 B(TestEqualStrict), R(13), U8(15),
773 B(JumpIfFalse), U8(8),
774 B(LdaSmi), I8(1),
775 B(StaContextSlot), R(1), U8(9), U8(0),
776 B(LdaImmutableCurrentContextSlot), U8(4),
777 B(Star), R(13),
778 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1),
779 B(PopContext), R(2),
780 B(LdaSmi), I8(-1),
781 B(Star), R(9), 760 B(Star), R(9),
782 B(Jump), U8(7),
783 B(Star), R(10),
784 B(LdaZero),
785 B(Star), R(9),
786 B(LdaTheHole),
787 B(SetPendingMessage),
788 B(Star), R(11),
789 B(LdaContextSlot), R(1), U8(9), U8(0),
790 B(Star), R(12),
791 B(LdaZero),
792 B(TestEqualStrict), R(12), U8(16),
793 B(JumpIfTrue), U8(150),
794 B(LdaContextSlot), R(1), U8(7), U8(0),
795 B(Star), R(12),
796 B(LdaNamedProperty), R(12), U8(10), U8(17),
797 B(StaContextSlot), R(1), U8(11), U8(0),
798 B(LdaContextSlot), R(1), U8(11), U8(0),
799 B(TestUndetectable), 761 B(TestUndetectable),
800 B(JumpIfFalse), U8(4), 762 B(JumpIfFalse), U8(4),
801 B(Jump), U8(127), 763 B(Jump), U8(93),
802 B(LdaContextSlot), R(1), U8(9), U8(0), 764 B(LdaSmi), I8(1),
803 B(Star), R(12), 765 B(TestEqualStrict), R(7), U8(20),
804 B(LdaSmi), I8(1), 766 B(JumpIfFalse), U8(61),
805 B(TestEqualStrict), R(12), U8(20), 767 B(Ldar), R(9),
806 B(JumpIfFalse), U8(69),
807 B(LdaContextSlot), R(1), U8(11), U8(0),
808 B(TestTypeOf), U8(5), 768 B(TestTypeOf), U8(5),
809 B(JumpIfFalse), U8(4), 769 B(JumpIfFalse), U8(4),
810 B(Jump), U8(18), 770 B(Jump), U8(18),
811 B(Wide), B(LdaSmi), I16(130), 771 B(Wide), B(LdaSmi), I16(130),
812 B(Star), R(12), 772 B(Star), R(21),
813 B(LdaConstant), U8(11), 773 B(LdaConstant), U8(8),
814 B(Star), R(13), 774 B(Star), R(22),
815 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), 775 B(CallRuntime), U16(Runtime::kNewTypeError), R(21), U8(2),
816 B(Throw), 776 B(Throw),
817 B(Mov), R(context), R(12), 777 B(Mov), R(context), R(21),
818 B(LdaContextSlot), R(1), U8(11), U8(0), 778 B(Mov), R(9), R(22),
819 B(Star), R(13), 779 B(Mov), R(5), R(23),
820 B(LdaContextSlot), R(1), U8(7), U8(0), 780 B(InvokeIntrinsic), U8(Runtime::k_Call), R(22), U8(2),
821 B(Star), R(14),
822 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2),
823 B(Jump), U8(20), 781 B(Jump), U8(20),
824 B(Star), R(13), 782 B(Star), R(22),
825 B(Ldar), R(closure), 783 B(Ldar), R(closure),
826 B(CreateCatchContext), R(13), U8(8), U8(12), 784 B(CreateCatchContext), R(22), U8(5), U8(9),
827 B(Star), R(12), 785 B(Star), R(21),
828 B(LdaTheHole), 786 B(LdaTheHole),
829 B(SetPendingMessage), 787 B(SetPendingMessage),
830 B(Ldar), R(12), 788 B(Ldar), R(21),
831 B(PushContext), R(2), 789 B(PushContext), R(12),
832 B(PopContext), R(2), 790 B(PopContext), R(12),
833 B(Jump), U8(47), 791 B(Jump), U8(27),
834 B(LdaContextSlot), R(1), U8(11), U8(0), 792 B(Mov), R(9), R(21),
835 B(Star), R(12), 793 B(Mov), R(5), R(22),
836 B(LdaContextSlot), R(1), U8(7), U8(0), 794 B(InvokeIntrinsic), U8(Runtime::k_Call), R(21), U8(2),
837 B(Star), R(13), 795 B(Star), R(10),
838 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), 796 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1),
839 B(StaContextSlot), R(1), U8(12), U8(0),
840 B(LdaContextSlot), R(1), U8(12), U8(0),
841 B(Star), R(12),
842 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
843 B(JumpIfToBooleanFalse), U8(4), 797 B(JumpIfToBooleanFalse), U8(4),
844 B(Jump), U8(13), 798 B(Jump), U8(7),
845 B(LdaContextSlot), R(1), U8(12), U8(0), 799 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1),
846 B(Star), R(12), 800 B(Ldar), R(20),
847 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1), 801 B(SetPendingMessage),
848 B(Ldar), R(11), 802 B(LdaZero),
849 B(SetPendingMessage), 803 B(TestEqualStrictNoFeedback), R(18),
850 B(LdaZero), 804 B(JumpIfFalse), U8(11),
851 B(TestEqualStrictNoFeedback), R(9), 805 B(LdaSmi), I8(1),
852 B(JumpIfFalse), U8(15), 806 B(Star), R(15),
853 B(PopContext), R(1), 807 B(Mov), R(19), R(16),
854 B(PopContext), R(1), 808 B(Jump), U8(31),
855 B(LdaSmi), I8(1),
856 B(Star), R(6),
857 B(Mov), R(10), R(7),
858 B(Jump), U8(33),
859 B(PopContext), R(1),
860 B(LdaUndefined), 809 B(LdaUndefined),
861 B(Star), R(9), 810 B(Star), R(18),
862 B(LdaTrue), 811 B(LdaTrue),
863 B(Star), R(10), 812 B(Star), R(19),
864 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(9), U8(2), 813 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(18) , U8(2),
865 B(Star), R(7), 814 B(Star), R(16),
866 B(LdaZero), 815 B(LdaZero),
867 B(Star), R(6), 816 B(Star), R(15),
868 B(Jump), U8(14), 817 B(Jump), U8(14),
869 B(LdaSmi), I8(-1), 818 B(LdaSmi), I8(-1),
870 B(Star), R(6), 819 B(Star), R(15),
871 B(Jump), U8(8), 820 B(Jump), U8(8),
872 B(Star), R(7), 821 B(Star), R(16),
873 B(LdaSmi), I8(1), 822 B(LdaSmi), I8(1),
874 B(Star), R(6), 823 B(Star), R(15),
875 B(LdaTheHole), 824 B(LdaTheHole),
876 B(SetPendingMessage), 825 B(SetPendingMessage),
877 B(Star), R(8), 826 B(Star), R(17),
878 B(LdaImmutableCurrentContextSlot), U8(5), 827 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(3), U8(1),
879 B(Star), R(9), 828 B(Ldar), R(17),
880 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(9), U8(1), 829 B(SetPendingMessage),
881 B(Ldar), R(8), 830 B(Ldar), R(15),
882 B(SetPendingMessage), 831 B(SwitchOnSmiNoFeedback), U8(11), U8(2), I8(0),
883 B(Ldar), R(6),
884 B(SwitchOnSmiNoFeedback), U8(14), U8(2), I8(0),
885 B(Jump), U8(8), 832 B(Jump), U8(8),
886 B(Ldar), R(7), 833 B(Ldar), R(16),
887 /* 55 S> */ B(Return), 834 /* 55 S> */ B(Return),
888 B(Ldar), R(7), 835 B(Ldar), R(16),
889 B(ReThrow), 836 B(ReThrow),
890 B(LdaUndefined), 837 B(LdaUndefined),
891 /* 55 S> */ B(Return), 838 /* 55 S> */ B(Return),
892 ] 839 ]
893 constant pool: [ 840 constant pool: [
894 Smi [56], 841 Smi [54],
895 FIXED_ARRAY_TYPE,
896 SYMBOL_TYPE, 842 SYMBOL_TYPE,
897 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 843 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
898 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 844 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
899 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 845 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
900 FIXED_ARRAY_TYPE,
901 FIXED_ARRAY_TYPE,
902 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 846 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
903 FIXED_ARRAY_TYPE, 847 FIXED_ARRAY_TYPE,
904 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 848 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
905 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 849 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
906 FIXED_ARRAY_TYPE, 850 FIXED_ARRAY_TYPE,
907 Smi [446], 851 Smi [298],
908 Smi [6], 852 Smi [6],
909 Smi [9], 853 Smi [9],
910 ] 854 ]
911 handlers: [ 855 handlers: [
912 [55, 546, 552], 856 [55, 396, 402],
913 [134, 331, 337], 857 [121, 239, 245],
914 [137, 287, 289], 858 [124, 203, 205],
915 [423, 439, 441], 859 [305, 315, 317],
916 ] 860 ]
917 861
918 --- 862 ---
919 snippet: " 863 snippet: "
920 function* f(arr) { 864 function* f(arr) {
921 for (let x of arr) yield x; 865 for (let x of arr) yield x;
922 } 866 }
923 f([1, 2, 3]); 867 f([1, 2, 3]);
924 " 868 "
925 frame size: 17 869 frame size: 26
926 parameter count: 2 870 parameter count: 2
927 bytecode array length: 695 871 bytecode array length: 535
928 bytecodes: [ 872 bytecodes: [
929 B(Ldar), R(new_target), 873 B(Ldar), R(new_target),
930 B(JumpIfUndefined), U8(25), 874 B(JumpIfUndefined), U8(25),
931 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1), 875 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
932 B(PushContext), R(4), 876 B(PushContext), R(13),
933 B(ResumeGenerator), R(new_target), 877 B(ResumeGenerator), R(new_target),
934 B(Star), R(3), 878 B(Star), R(12),
935 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), 879 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0),
936 B(LdaSmi), I8(79), 880 B(LdaSmi), I8(79),
937 B(Star), R(5), 881 B(Star), R(14),
938 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 882 B(CallRuntime), U16(Runtime::kAbort), R(14), U8(1),
939 B(LdaSmi), I8(-2), 883 B(LdaSmi), I8(-2),
940 B(Star), R(3), 884 B(Star), R(12),
941 B(CreateFunctionContext), U8(9), 885 B(CreateFunctionContext), U8(1),
942 B(PushContext), R(0), 886 B(PushContext), R(10),
943 B(Ldar), R(arg0), 887 B(Ldar), R(arg0),
944 B(StaCurrentContextSlot), U8(4), 888 B(StaCurrentContextSlot), U8(4),
945 B(Mov), R(closure), R(5), 889 B(Mov), R(closure), R(14),
946 B(Mov), R(this), R(6), 890 B(Mov), R(this), R(15),
947 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(5) , U8(2), 891 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(14 ), U8(2),
948 B(StaCurrentContextSlot), U8(5), 892 B(Star), R(2),
949 /* 11 E> */ B(StackCheck), 893 /* 11 E> */ B(StackCheck),
950 B(Mov), R(context), R(7), 894 B(Mov), R(context), R(16),
951 B(LdaImmutableCurrentContextSlot), U8(5), 895 B(LdaZero),
952 B(Star), R(8), 896 B(Mov), R(2), R(18),
953 B(LdaImmutableCurrentContextSlot), U8(5), 897 B(Mov), R(2), R(17),
954 B(Star), R(9), 898 /* 11 E> */ B(SuspendGenerator), R(17), U8(0),
955 B(LdaZero), 899 B(Ldar), R(18),
956 /* 11 E> */ B(SuspendGenerator), R(8), U8(0), 900 /* 49 S> */ B(Return),
957 B(Ldar), R(9), 901 B(LdaSmi), I8(-2),
958 /* 49 S> */ B(Return), 902 B(Star), R(12),
959 B(LdaSmi), I8(-2), 903 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(17), U8(1),
960 B(Star), R(3), 904 B(Star), R(18),
961 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(8), U8(1), 905 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(17) , U8(1),
962 B(Star), R(9), 906 B(Star), R(19),
963 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(8), U8(1), 907 B(LdaZero),
964 B(Star), R(10), 908 B(TestEqualStrictNoFeedback), R(19),
965 B(LdaZero),
966 B(TestEqualStrictNoFeedback), R(10),
967 B(JumpIfTrue), U8(28), 909 B(JumpIfTrue), U8(28),
968 B(LdaSmi), I8(2), 910 B(LdaSmi), I8(2),
969 B(TestEqualStrictNoFeedback), R(10), 911 B(TestEqualStrictNoFeedback), R(19),
970 B(JumpIfTrue), U8(19), 912 B(JumpIfTrue), U8(19),
971 B(LdaTrue), 913 B(LdaTrue),
972 B(Star), R(12), 914 B(Star), R(21),
973 B(Mov), R(9), R(11), 915 B(Mov), R(18), R(20),
974 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(11) , U8(2), 916 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(20) , U8(2),
975 B(Star), R(6), 917 B(Star), R(15),
976 B(LdaZero), 918 B(LdaZero),
977 B(Star), R(5), 919 B(Star), R(14),
978 B(JumpConstant), U8(16), 920 B(JumpConstant), U8(14),
979 B(Ldar), R(9), 921 B(Ldar), R(18),
980 /* 11 E> */ B(Throw), 922 /* 11 E> */ B(Throw),
981 B(Ldar), R(closure), 923 B(LdaZero),
982 B(CreateBlockContext), U8(2), 924 B(Star), R(6),
983 B(PushContext), R(1), 925 B(Mov), R(context), R(19),
984 B(LdaTheHole), 926 B(Mov), R(context), R(20),
985 B(StaCurrentContextSlot), U8(4), 927 /* 35 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
986 B(LdaZero), 928 B(Star), R(21),
987 B(StaContextSlot), R(1), U8(9), U8(0), 929 B(LdaNamedProperty), R(21), U8(2), U8(3),
988 B(Mov), R(context), R(10), 930 B(Star), R(22),
989 B(Mov), R(context), R(11), 931 B(CallProperty0), R(22), R(21), U8(5),
990 /* 35 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
991 B(Star), R(12),
992 B(LdaNamedProperty), R(12), U8(3), U8(3),
993 B(Star), R(13),
994 B(CallProperty0), R(13), R(12), U8(5),
995 B(JumpIfJSReceiver), U8(7), 932 B(JumpIfJSReceiver), U8(7),
996 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 933 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
997 /* 35 E> */ B(StaContextSlot), R(1), U8(7), U8(0), 934 B(Star), R(4),
998 B(Ldar), R(3), 935 B(Ldar), R(12),
999 B(SwitchOnSmiNoFeedback), U8(4), U8(1), I8(1), 936 B(SwitchOnSmiNoFeedback), U8(3), U8(1), I8(1),
1000 B(LdaSmi), I8(-2), 937 B(LdaSmi), I8(-2),
1001 B(TestEqualStrictNoFeedback), R(3), 938 /* 35 E> */ B(TestEqualStrictNoFeedback), R(12),
1002 B(JumpIfTrue), U8(11), 939 B(JumpIfTrue), U8(11),
1003 B(LdaSmi), I8(79), 940 B(LdaSmi), I8(79),
1004 B(Star), R(12), 941 B(Star), R(21),
1005 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), 942 B(CallRuntime), U16(Runtime::kAbort), R(21), U8(1),
1006 /* 32 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), 943 /* 32 S> */ B(LdaNamedProperty), R(4), U8(4), U8(9),
1007 B(Star), R(13), 944 B(Star), R(21),
1008 B(LdaNamedProperty), R(13), U8(5), U8(9), 945 /* 32 E> */ B(CallProperty0), R(21), R(4), U8(7),
1009 B(Star), R(12), 946 B(Star), R(5),
1010 /* 32 E> */ B(CallProperty0), R(12), R(13), U8(7), 947 /* 32 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1),
1011 /* 32 E> */ B(StaContextSlot), R(1), U8(8), U8(0),
1012 B(Star), R(12),
1013 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
1014 B(ToBooleanLogicalNot), 948 B(ToBooleanLogicalNot),
1015 B(JumpIfFalse), U8(13), 949 B(JumpIfFalse), U8(7),
1016 B(LdaContextSlot), R(1), U8(8), U8(0), 950 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (5), U8(1),
1017 B(Star), R(12), 951 B(LdaNamedProperty), R(5), U8(5), U8(11),
1018 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1), 952 B(JumpIfToBooleanTrue), U8(95),
1019 B(LdaContextSlot), R(1), U8(8), U8(0), 953 B(LdaNamedProperty), R(5), U8(6), U8(13),
1020 B(Star), R(12), 954 B(Star), R(7),
1021 B(LdaNamedProperty), R(12), U8(6), U8(11), 955 B(LdaSmi), I8(2),
1022 B(JumpIfToBooleanTrue), U8(142), 956 B(Star), R(6),
1023 B(LdaContextSlot), R(1), U8(8), U8(0), 957 B(Mov), R(7), R(3),
1024 B(Star), R(12),
1025 B(LdaNamedProperty), R(12), U8(7), U8(13),
1026 B(StaContextSlot), R(1), U8(10), U8(0),
1027 B(LdaSmi), I8(2),
1028 B(StaContextSlot), R(1), U8(9), U8(0),
1029 B(LdaContextSlot), R(1), U8(10), U8(0),
1030 B(StaContextSlot), R(1), U8(6), U8(0),
1031 /* 21 E> */ B(StackCheck), 958 /* 21 E> */ B(StackCheck),
959 B(Mov), R(3), R(0),
960 /* 40 S> */ B(LdaFalse),
961 B(Star), R(23),
962 B(Mov), R(3), R(22),
963 /* 46 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(22) , U8(2),
964 B(Star), R(22),
965 B(LdaSmi), I8(1),
966 B(Mov), R(2), R(21),
967 B(SuspendGenerator), R(21), U8(0),
968 B(Ldar), R(22),
969 /* 49 S> */ B(Return),
970 B(LdaSmi), I8(-2),
971 B(Star), R(12),
972 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(21), U8(1),
973 B(Star), R(22),
974 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21) , U8(1),
975 B(Star), R(23),
976 B(LdaZero),
977 B(TestEqualStrictNoFeedback), R(23),
978 B(JumpIfTrue), U8(28),
979 B(LdaSmi), I8(2),
980 B(TestEqualStrictNoFeedback), R(23),
981 B(JumpIfTrue), U8(19),
982 B(LdaTrue),
983 B(Star), R(25),
984 B(Mov), R(22), R(24),
985 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24) , U8(2),
986 B(Star), R(18),
987 B(LdaZero),
988 B(Star), R(17),
989 B(Jump), U8(59),
990 B(Ldar), R(22),
991 /* 40 E> */ B(Throw),
992 B(LdaZero),
993 B(Star), R(6),
994 B(JumpLoop), U8(141), I8(0),
995 B(Jump), U8(36),
996 B(Star), R(21),
1032 B(Ldar), R(closure), 997 B(Ldar), R(closure),
1033 B(CreateBlockContext), U8(8), 998 B(CreateCatchContext), R(21), U8(7), U8(8),
1034 B(PushContext), R(2), 999 B(PushContext), R(11),
1000 B(Star), R(20),
1001 B(LdaSmi), I8(2),
1002 B(TestEqualStrict), R(6), U8(15),
1003 B(JumpIfFalse), U8(6),
1004 B(LdaSmi), I8(1),
1005 B(Star), R(6),
1006 B(LdaImmutableCurrentContextSlot), U8(4),
1007 B(Star), R(21),
1008 B(CallRuntime), U16(Runtime::kReThrow), R(21), U8(1),
1009 B(PopContext), R(11),
1010 B(LdaSmi), I8(-1),
1011 B(Star), R(17),
1012 B(Jump), U8(8),
1013 B(Star), R(18),
1014 B(LdaSmi), I8(1),
1015 B(Star), R(17),
1035 B(LdaTheHole), 1016 B(LdaTheHole),
1036 B(StaCurrentContextSlot), U8(4), 1017 B(SetPendingMessage),
1037 B(LdaContextSlot), R(1), U8(6), U8(0), 1018 B(Star), R(19),
1038 B(StaCurrentContextSlot), U8(4), 1019 B(LdaZero),
1039 /* 40 S> */ B(LdaImmutableContextSlot), R(1), U8(5), U8(0), 1020 B(TestEqualStrict), R(6), U8(16),
1040 B(Star), R(12), 1021 B(JumpIfTrue), U8(104),
1041 B(LdaImmutableCurrentContextSlot), U8(4), 1022 B(LdaNamedProperty), R(4), U8(9), U8(17),
1042 B(Star), R(13),
1043 B(LdaFalse),
1044 B(Star), R(14),
1045 /* 46 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(13) , U8(2),
1046 B(Star), R(13),
1047 B(LdaSmi), I8(1),
1048 B(SuspendGenerator), R(12), U8(0),
1049 B(Ldar), R(13),
1050 /* 49 S> */ B(Return),
1051 B(LdaSmi), I8(-2),
1052 B(Star), R(3),
1053 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(12), U8(1),
1054 B(Star), R(13),
1055 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(12) , U8(1),
1056 B(Star), R(14),
1057 B(LdaZero),
1058 B(TestEqualStrictNoFeedback), R(14),
1059 B(JumpIfTrue), U8(40),
1060 B(LdaSmi), I8(2),
1061 B(TestEqualStrictNoFeedback), R(14),
1062 B(JumpIfTrue), U8(31),
1063 B(LdaTrue),
1064 B(Star), R(16),
1065 B(Mov), R(13), R(15),
1066 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(15) , U8(2),
1067 B(PopContext), R(2),
1068 B(PopContext), R(2),
1069 B(PopContext), R(2),
1070 B(PopContext), R(2),
1071 B(PopContext), R(2),
1072 B(PopContext), R(2),
1073 B(Star), R(9),
1074 B(LdaZero),
1075 B(Star), R(8), 1023 B(Star), R(8),
1076 B(Jump), U8(71),
1077 B(Ldar), R(13),
1078 /* 40 E> */ B(Throw),
1079 B(PopContext), R(2),
1080 B(LdaZero),
1081 B(StaContextSlot), R(1), U8(9), U8(0),
1082 B(JumpLoop), U8(210), I8(0),
1083 B(Jump), U8(44),
1084 B(Star), R(12),
1085 B(Ldar), R(closure),
1086 B(CreateCatchContext), R(12), U8(9), U8(10),
1087 B(PushContext), R(2),
1088 B(Star), R(11),
1089 B(LdaContextSlot), R(1), U8(9), U8(0),
1090 B(Star), R(12),
1091 B(LdaSmi), I8(2),
1092 B(TestEqualStrict), R(12), U8(15),
1093 B(JumpIfFalse), U8(8),
1094 B(LdaSmi), I8(1),
1095 B(StaContextSlot), R(1), U8(9), U8(0),
1096 B(LdaImmutableCurrentContextSlot), U8(4),
1097 B(Star), R(12),
1098 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1),
1099 B(PopContext), R(2),
1100 B(LdaSmi), I8(-1),
1101 B(Star), R(8),
1102 B(Jump), U8(8),
1103 B(Star), R(9),
1104 B(LdaSmi), I8(1),
1105 B(Star), R(8),
1106 B(LdaTheHole),
1107 B(SetPendingMessage),
1108 B(Star), R(10),
1109 B(LdaContextSlot), R(1), U8(9), U8(0),
1110 B(Star), R(11),
1111 B(LdaZero),
1112 B(TestEqualStrict), R(11), U8(16),
1113 B(JumpIfTrue), U8(150),
1114 B(LdaContextSlot), R(1), U8(7), U8(0),
1115 B(Star), R(11),
1116 B(LdaNamedProperty), R(11), U8(11), U8(17),
1117 B(StaContextSlot), R(1), U8(11), U8(0),
1118 B(LdaContextSlot), R(1), U8(11), U8(0),
1119 B(TestUndetectable), 1024 B(TestUndetectable),
1120 B(JumpIfFalse), U8(4), 1025 B(JumpIfFalse), U8(4),
1121 B(Jump), U8(127), 1026 B(Jump), U8(93),
1122 B(LdaContextSlot), R(1), U8(9), U8(0), 1027 B(LdaSmi), I8(1),
1123 B(Star), R(11), 1028 B(TestEqualStrict), R(6), U8(20),
1124 B(LdaSmi), I8(1), 1029 B(JumpIfFalse), U8(61),
1125 B(TestEqualStrict), R(11), U8(20), 1030 B(Ldar), R(8),
1126 B(JumpIfFalse), U8(69),
1127 B(LdaContextSlot), R(1), U8(11), U8(0),
1128 B(TestTypeOf), U8(5), 1031 B(TestTypeOf), U8(5),
1129 B(JumpIfFalse), U8(4), 1032 B(JumpIfFalse), U8(4),
1130 B(Jump), U8(18), 1033 B(Jump), U8(18),
1131 B(Wide), B(LdaSmi), I16(130), 1034 B(Wide), B(LdaSmi), I16(130),
1132 B(Star), R(11), 1035 B(Star), R(20),
1133 B(LdaConstant), U8(12), 1036 B(LdaConstant), U8(10),
1134 B(Star), R(12), 1037 B(Star), R(21),
1135 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), 1038 B(CallRuntime), U16(Runtime::kNewTypeError), R(20), U8(2),
1136 B(Throw), 1039 B(Throw),
1137 B(Mov), R(context), R(11), 1040 B(Mov), R(context), R(20),
1138 B(LdaContextSlot), R(1), U8(11), U8(0), 1041 B(Mov), R(8), R(21),
1139 B(Star), R(12), 1042 B(Mov), R(4), R(22),
1140 B(LdaContextSlot), R(1), U8(7), U8(0), 1043 B(InvokeIntrinsic), U8(Runtime::k_Call), R(21), U8(2),
1141 B(Star), R(13),
1142 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2),
1143 B(Jump), U8(20), 1044 B(Jump), U8(20),
1144 B(Star), R(12), 1045 B(Star), R(21),
1145 B(Ldar), R(closure), 1046 B(Ldar), R(closure),
1146 B(CreateCatchContext), R(12), U8(9), U8(13), 1047 B(CreateCatchContext), R(21), U8(7), U8(11),
1147 B(Star), R(11), 1048 B(Star), R(20),
1148 B(LdaTheHole), 1049 B(LdaTheHole),
1149 B(SetPendingMessage), 1050 B(SetPendingMessage),
1150 B(Ldar), R(11), 1051 B(Ldar), R(20),
1151 B(PushContext), R(2), 1052 B(PushContext), R(11),
1152 B(PopContext), R(2), 1053 B(PopContext), R(11),
1153 B(Jump), U8(47), 1054 B(Jump), U8(27),
1154 B(LdaContextSlot), R(1), U8(11), U8(0), 1055 B(Mov), R(8), R(20),
1155 B(Star), R(11), 1056 B(Mov), R(4), R(21),
1156 B(LdaContextSlot), R(1), U8(7), U8(0), 1057 B(InvokeIntrinsic), U8(Runtime::k_Call), R(20), U8(2),
1157 B(Star), R(12), 1058 B(Star), R(9),
1158 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), 1059 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(9), U8(1),
1159 B(StaContextSlot), R(1), U8(12), U8(0),
1160 B(LdaContextSlot), R(1), U8(12), U8(0),
1161 B(Star), R(11),
1162 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1),
1163 B(JumpIfToBooleanFalse), U8(4), 1060 B(JumpIfToBooleanFalse), U8(4),
1164 B(Jump), U8(13), 1061 B(Jump), U8(7),
1165 B(LdaContextSlot), R(1), U8(12), U8(0), 1062 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (9), U8(1),
1166 B(Star), R(11), 1063 B(Ldar), R(19),
1167 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1), 1064 B(SetPendingMessage),
1168 B(Ldar), R(10), 1065 B(Ldar), R(17),
1169 B(SetPendingMessage), 1066 B(SwitchOnSmiNoFeedback), U8(12), U8(2), I8(0),
1170 B(Ldar), R(8), 1067 B(Jump), U8(19),
1171 B(SwitchOnSmiNoFeedback), U8(14), U8(2), I8(0), 1068 B(LdaZero),
1172 B(Jump), U8(27), 1069 B(Star), R(14),
1173 B(PopContext), R(1), 1070 B(Mov), R(18), R(15),
1174 B(PopContext), R(1), 1071 B(Jump), U8(40),
1175 B(LdaZero), 1072 B(LdaSmi), I8(1),
1176 B(Star), R(5), 1073 B(Star), R(14),
1177 B(Mov), R(9), R(6), 1074 B(Mov), R(18), R(15),
1178 B(Jump), U8(46), 1075 B(Jump), U8(31),
1179 B(PopContext), R(1),
1180 B(PopContext), R(1),
1181 B(LdaSmi), I8(1),
1182 B(Star), R(5),
1183 B(Mov), R(9), R(6),
1184 B(Jump), U8(33),
1185 B(PopContext), R(1),
1186 B(LdaUndefined), 1076 B(LdaUndefined),
1187 B(Star), R(8), 1077 B(Star), R(17),
1188 B(LdaTrue), 1078 B(LdaTrue),
1189 B(Star), R(9), 1079 B(Star), R(18),
1190 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2), 1080 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(17) , U8(2),
1191 B(Star), R(6), 1081 B(Star), R(15),
1192 B(LdaZero), 1082 B(LdaZero),
1193 B(Star), R(5), 1083 B(Star), R(14),
1194 B(Jump), U8(14), 1084 B(Jump), U8(14),
1195 B(LdaSmi), I8(-1), 1085 B(LdaSmi), I8(-1),
1196 B(Star), R(5), 1086 B(Star), R(14),
1197 B(Jump), U8(8), 1087 B(Jump), U8(8),
1198 B(Star), R(6), 1088 B(Star), R(15),
1199 B(LdaSmi), I8(1), 1089 B(LdaSmi), I8(1),
1200 B(Star), R(5), 1090 B(Star), R(14),
1201 B(LdaTheHole), 1091 B(LdaTheHole),
1202 B(SetPendingMessage), 1092 B(SetPendingMessage),
1203 B(Star), R(7), 1093 B(Star), R(16),
1204 B(LdaImmutableCurrentContextSlot), U8(5), 1094 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(2), U8(1),
1205 B(Star), R(8), 1095 B(Ldar), R(16),
1206 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(8), U8(1), 1096 B(SetPendingMessage),
1207 B(Ldar), R(7), 1097 B(Ldar), R(14),
1208 B(SetPendingMessage), 1098 B(SwitchOnSmiNoFeedback), U8(15), U8(2), I8(0),
1209 B(Ldar), R(5),
1210 B(SwitchOnSmiNoFeedback), U8(17), U8(2), I8(0),
1211 B(Jump), U8(8), 1099 B(Jump), U8(8),
1212 B(Ldar), R(6), 1100 B(Ldar), R(15),
1213 /* 49 S> */ B(Return), 1101 /* 49 S> */ B(Return),
1214 B(Ldar), R(6), 1102 B(Ldar), R(15),
1215 B(ReThrow), 1103 B(ReThrow),
1216 B(LdaUndefined), 1104 B(LdaUndefined),
1217 /* 49 S> */ B(Return), 1105 /* 49 S> */ B(Return),
1218 ] 1106 ]
1219 constant pool: [ 1107 constant pool: [
1220 Smi [56], 1108 Smi [54],
1221 Smi [150], 1109 Smi [133],
1222 FIXED_ARRAY_TYPE,
1223 SYMBOL_TYPE, 1110 SYMBOL_TYPE,
1224 Smi [142], 1111 Smi [89],
1225 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 1112 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
1226 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 1113 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
1227 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 1114 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
1228 FIXED_ARRAY_TYPE,
1229 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1115 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1230 FIXED_ARRAY_TYPE, 1116 FIXED_ARRAY_TYPE,
1231 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 1117 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
1232 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 1118 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
1233 FIXED_ARRAY_TYPE, 1119 FIXED_ARRAY_TYPE,
1234 Smi [6], 1120 Smi [6],
1235 Smi [18], 1121 Smi [14],
1236 Smi [552], 1122 Smi [398],
1237 Smi [6], 1123 Smi [6],
1238 Smi [9], 1124 Smi [9],
1239 ] 1125 ]
1240 handlers: [ 1126 handlers: [
1241 [55, 652, 658], 1127 [55, 496, 502],
1242 [134, 421, 427], 1128 [121, 327, 333],
1243 [137, 377, 379], 1129 [124, 291, 293],
1244 [514, 530, 532], 1130 [394, 404, 406],
1245 ] 1131 ]
1246 1132
1247 --- 1133 ---
1248 snippet: " 1134 snippet: "
1249 async function f(arr) { 1135 async function f(arr) {
1250 for (let x of arr) { let y = x; } 1136 for (let x of arr) { let y = x; }
1251 } 1137 }
1252 f([1, 2, 3]); 1138 f([1, 2, 3]);
1253 " 1139 "
1254 frame size: 14 1140 frame size: 24
1255 parameter count: 2 1141 parameter count: 2
1256 bytecode array length: 556 1142 bytecode array length: 399
1257 bytecodes: [ 1143 bytecodes: [
1258 B(CreateFunctionContext), U8(10), 1144 B(CreateFunctionContext), U8(1),
1259 B(PushContext), R(0), 1145 B(PushContext), R(12),
1260 B(Ldar), R(arg0), 1146 B(Ldar), R(arg0),
1261 B(StaCurrentContextSlot), U8(4), 1147 B(StaCurrentContextSlot), U8(4),
1262 /* 16 E> */ B(StackCheck), 1148 /* 16 E> */ B(StackCheck),
1263 B(LdaUndefined), 1149 B(LdaUndefined),
1264 B(Star), R(4), 1150 B(Star), R(14),
1265 B(CallJSRuntime), U8(%async_function_promise_create), R(4), U8(1 ), 1151 B(CallJSRuntime), U8(%async_function_promise_create), R(14), U8( 1),
1266 B(StaCurrentContextSlot), U8(13), 1152 B(Star), R(11),
1267 B(Mov), R(context), R(6), 1153 B(Mov), R(context), R(16),
1268 B(Mov), R(context), R(7), 1154 B(Mov), R(context), R(17),
1269 B(Ldar), R(closure),
1270 B(CreateBlockContext), U8(0),
1271 B(PushContext), R(1),
1272 B(LdaTheHole),
1273 B(StaCurrentContextSlot), U8(4),
1274 B(LdaZero), 1155 B(LdaZero),
1275 B(StaContextSlot), R(1), U8(9), U8(0), 1156 B(Star), R(7),
1276 B(Mov), R(context), R(10), 1157 B(Mov), R(context), R(20),
1277 B(Mov), R(context), R(11), 1158 B(Mov), R(context), R(21),
1278 /* 40 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0), 1159 /* 40 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
1279 B(Star), R(12), 1160 B(Star), R(22),
1280 B(LdaNamedProperty), R(12), U8(1), U8(3), 1161 B(LdaNamedProperty), R(22), U8(0), U8(3),
1281 B(Star), R(13), 1162 B(Star), R(23),
1282 B(CallProperty0), R(13), R(12), U8(5), 1163 B(CallProperty0), R(23), R(22), U8(5),
1283 B(JumpIfJSReceiver), U8(7), 1164 B(JumpIfJSReceiver), U8(7),
1284 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 1165 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
1285 /* 40 E> */ B(StaContextSlot), R(1), U8(7), U8(0), 1166 B(Star), R(5),
1286 /* 37 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), 1167 /* 37 S> */ B(LdaNamedProperty), R(5), U8(1), U8(9),
1287 B(Star), R(13), 1168 B(Star), R(22),
1288 B(LdaNamedProperty), R(13), U8(2), U8(9), 1169 /* 37 E> */ B(CallProperty0), R(22), R(5), U8(7),
1289 B(Star), R(12), 1170 B(Star), R(6),
1290 /* 37 E> */ B(CallProperty0), R(12), R(13), U8(7), 1171 /* 37 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1),
1291 /* 37 E> */ B(StaContextSlot), R(1), U8(8), U8(0),
1292 B(Star), R(12),
1293 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
1294 B(ToBooleanLogicalNot), 1172 B(ToBooleanLogicalNot),
1295 B(JumpIfFalse), U8(13), 1173 B(JumpIfFalse), U8(7),
1296 B(LdaContextSlot), R(1), U8(8), U8(0), 1174 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (6), U8(1),
1297 B(Star), R(12), 1175 B(LdaNamedProperty), R(6), U8(2), U8(11),
1298 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1), 1176 B(JumpIfToBooleanTrue), U8(28),
1299 B(LdaContextSlot), R(1), U8(8), U8(0), 1177 B(LdaNamedProperty), R(6), U8(3), U8(13),
1300 B(Star), R(12), 1178 B(Star), R(8),
1301 B(LdaNamedProperty), R(12), U8(3), U8(11),
1302 B(JumpIfToBooleanTrue), U8(73),
1303 B(LdaContextSlot), R(1), U8(8), U8(0),
1304 B(Star), R(12),
1305 B(LdaNamedProperty), R(12), U8(4), U8(13),
1306 B(StaContextSlot), R(1), U8(10), U8(0),
1307 B(LdaSmi), I8(2), 1179 B(LdaSmi), I8(2),
1308 B(StaContextSlot), R(1), U8(9), U8(0), 1180 B(Star), R(7),
1309 B(LdaContextSlot), R(1), U8(10), U8(0), 1181 B(Mov), R(8), R(4),
1310 B(StaContextSlot), R(1), U8(6), U8(0),
1311 /* 26 E> */ B(StackCheck), 1182 /* 26 E> */ B(StackCheck),
1183 B(Mov), R(4), R(1),
1184 /* 55 S> */ B(Mov), R(1), R(0),
1185 B(LdaZero),
1186 B(Star), R(7),
1187 B(JumpLoop), U8(53), I8(0),
1188 B(Jump), U8(40),
1189 B(Star), R(22),
1312 B(Ldar), R(closure), 1190 B(Ldar), R(closure),
1313 B(CreateBlockContext), U8(5), 1191 /* 55 E> */ B(CreateCatchContext), R(22), U8(4), U8(5),
1314 B(PushContext), R(2), 1192 B(Star), R(21),
1315 B(LdaTheHole),
1316 B(StaCurrentContextSlot), U8(4),
1317 B(LdaContextSlot), R(1), U8(6), U8(0),
1318 B(StaCurrentContextSlot), U8(4),
1319 B(Ldar), R(closure),
1320 B(CreateBlockContext), U8(6),
1321 B(PushContext), R(3),
1322 B(LdaTheHole),
1323 B(StaCurrentContextSlot), U8(4),
1324 /* 55 S> */ B(LdaImmutableContextSlot), R(3), U8(4), U8(0),
1325 /* 55 E> */ B(StaCurrentContextSlot), U8(4),
1326 B(PopContext), R(3),
1327 B(PopContext), R(2),
1328 B(LdaZero),
1329 B(StaContextSlot), R(1), U8(9), U8(0),
1330 B(JumpLoop), U8(120), I8(0),
1331 B(Jump), U8(48),
1332 B(Star), R(12),
1333 B(Ldar), R(closure),
1334 B(CreateCatchContext), R(12), U8(7), U8(8),
1335 B(Star), R(11),
1336 B(LdaTheHole), 1193 B(LdaTheHole),
1337 B(SetPendingMessage), 1194 B(SetPendingMessage),
1338 B(Ldar), R(11), 1195 B(Ldar), R(21),
1339 B(PushContext), R(2), 1196 B(PushContext), R(13),
1340 B(LdaContextSlot), R(1), U8(9), U8(0),
1341 B(Star), R(12),
1342 B(LdaSmi), I8(2), 1197 B(LdaSmi), I8(2),
1343 B(TestEqualStrict), R(12), U8(15), 1198 B(TestEqualStrict), R(7), U8(15),
1344 B(JumpIfFalse), U8(8), 1199 B(JumpIfFalse), U8(6),
1345 B(LdaSmi), I8(1), 1200 B(LdaSmi), I8(1),
1346 B(StaContextSlot), R(1), U8(9), U8(0), 1201 B(Star), R(7),
1347 B(LdaImmutableCurrentContextSlot), U8(4), 1202 B(LdaImmutableCurrentContextSlot), U8(4),
1348 B(Star), R(12), 1203 B(Star), R(22),
1349 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), 1204 B(CallRuntime), U16(Runtime::kReThrow), R(22), U8(1),
1350 B(PopContext), R(2), 1205 B(PopContext), R(13),
1351 B(LdaSmi), I8(-1), 1206 B(LdaSmi), I8(-1),
1352 B(Star), R(8), 1207 B(Star), R(18),
1353 B(Jump), U8(7), 1208 B(Jump), U8(7),
1354 B(Star), R(9), 1209 B(Star), R(19),
1355 B(LdaZero), 1210 B(LdaZero),
1356 B(Star), R(8), 1211 B(Star), R(18),
1357 B(LdaTheHole), 1212 B(LdaTheHole),
1358 B(SetPendingMessage), 1213 B(SetPendingMessage),
1359 B(Star), R(10), 1214 B(Star), R(20),
1360 B(LdaContextSlot), R(1), U8(9), U8(0),
1361 B(Star), R(11),
1362 B(LdaZero), 1215 B(LdaZero),
1363 B(TestEqualStrict), R(11), U8(16), 1216 B(TestEqualStrict), R(7), U8(16),
1364 B(JumpIfTrue), U8(150), 1217 B(JumpIfTrue), U8(104),
1365 B(LdaContextSlot), R(1), U8(7), U8(0), 1218 B(LdaNamedProperty), R(5), U8(6), U8(17),
1366 B(Star), R(11), 1219 B(Star), R(9),
1367 B(LdaNamedProperty), R(11), U8(9), U8(17),
1368 B(StaContextSlot), R(1), U8(11), U8(0),
1369 B(LdaContextSlot), R(1), U8(11), U8(0),
1370 B(TestUndetectable), 1220 B(TestUndetectable),
1371 B(JumpIfFalse), U8(4), 1221 B(JumpIfFalse), U8(4),
1372 B(Jump), U8(127), 1222 B(Jump), U8(93),
1373 B(LdaContextSlot), R(1), U8(9), U8(0),
1374 B(Star), R(11),
1375 B(LdaSmi), I8(1), 1223 B(LdaSmi), I8(1),
1376 B(TestEqualStrict), R(11), U8(20), 1224 B(TestEqualStrict), R(7), U8(20),
1377 B(JumpIfFalse), U8(69), 1225 B(JumpIfFalse), U8(61),
1378 B(LdaContextSlot), R(1), U8(11), U8(0), 1226 B(Ldar), R(9),
1379 B(TestTypeOf), U8(5), 1227 B(TestTypeOf), U8(5),
1380 B(JumpIfFalse), U8(4), 1228 B(JumpIfFalse), U8(4),
1381 B(Jump), U8(18), 1229 B(Jump), U8(18),
1382 B(Wide), B(LdaSmi), I16(130), 1230 B(Wide), B(LdaSmi), I16(130),
1383 B(Star), R(11), 1231 B(Star), R(21),
1384 B(LdaConstant), U8(10), 1232 B(LdaConstant), U8(7),
1385 B(Star), R(12), 1233 B(Star), R(22),
1386 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), 1234 B(CallRuntime), U16(Runtime::kNewTypeError), R(21), U8(2),
1387 B(Throw), 1235 B(Throw),
1388 B(Mov), R(context), R(11), 1236 B(Mov), R(context), R(21),
1389 B(LdaContextSlot), R(1), U8(11), U8(0), 1237 B(Mov), R(9), R(22),
1390 B(Star), R(12), 1238 B(Mov), R(5), R(23),
1391 B(LdaContextSlot), R(1), U8(7), U8(0), 1239 B(InvokeIntrinsic), U8(Runtime::k_Call), R(22), U8(2),
1392 B(Star), R(13),
1393 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2),
1394 B(Jump), U8(20), 1240 B(Jump), U8(20),
1395 B(Star), R(12), 1241 B(Star), R(22),
1396 B(Ldar), R(closure), 1242 B(Ldar), R(closure),
1397 B(CreateCatchContext), R(12), U8(7), U8(11), 1243 B(CreateCatchContext), R(22), U8(4), U8(8),
1398 B(Star), R(11), 1244 B(Star), R(21),
1399 B(LdaTheHole), 1245 B(LdaTheHole),
1400 B(SetPendingMessage), 1246 B(SetPendingMessage),
1401 B(Ldar), R(11), 1247 B(Ldar), R(21),
1402 B(PushContext), R(2), 1248 B(PushContext), R(13),
1403 B(PopContext), R(2), 1249 B(PopContext), R(13),
1404 B(Jump), U8(47), 1250 B(Jump), U8(27),
1405 B(LdaContextSlot), R(1), U8(11), U8(0), 1251 B(Mov), R(9), R(21),
1406 B(Star), R(11), 1252 B(Mov), R(5), R(22),
1407 B(LdaContextSlot), R(1), U8(7), U8(0), 1253 B(InvokeIntrinsic), U8(Runtime::k_Call), R(21), U8(2),
1408 B(Star), R(12), 1254 B(Star), R(10),
1409 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), 1255 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1),
1410 B(StaContextSlot), R(1), U8(12), U8(0),
1411 B(LdaContextSlot), R(1), U8(12), U8(0),
1412 B(Star), R(11),
1413 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1),
1414 B(JumpIfToBooleanFalse), U8(4), 1256 B(JumpIfToBooleanFalse), U8(4),
1415 B(Jump), U8(13), 1257 B(Jump), U8(7),
1416 B(LdaContextSlot), R(1), U8(12), U8(0), 1258 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1),
1417 B(Star), R(11), 1259 B(Ldar), R(20),
1418 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1),
1419 B(Ldar), R(10),
1420 B(SetPendingMessage), 1260 B(SetPendingMessage),
1421 B(LdaZero), 1261 B(LdaZero),
1422 B(TestEqualStrictNoFeedback), R(8), 1262 B(TestEqualStrictNoFeedback), R(18),
1423 B(JumpIfFalse), U8(9), 1263 B(JumpIfFalse), U8(5),
1424 B(PopContext), R(1), 1264 B(Ldar), R(19),
1425 B(PopContext), R(1),
1426 B(Ldar), R(9),
1427 B(ReThrow), 1265 B(ReThrow),
1428 B(PopContext), R(1),
1429 B(LdaUndefined), 1266 B(LdaUndefined),
1430 B(Star), R(8), 1267 B(Star), R(18),
1431 B(LdaCurrentContextSlot), U8(13),
1432 B(Star), R(9),
1433 B(LdaUndefined), 1268 B(LdaUndefined),
1434 B(Star), R(10), 1269 B(Star), R(20),
1435 B(CallJSRuntime), U8(%promise_resolve), R(8), U8(3), 1270 B(Mov), R(11), R(19),
1436 B(LdaCurrentContextSlot), U8(13), 1271 B(CallJSRuntime), U8(%promise_resolve), R(18), U8(3),
1437 B(Star), R(5),
1438 B(LdaZero), 1272 B(LdaZero),
1439 B(Star), R(4), 1273 B(Star), R(14),
1440 B(Jump), U8(67), 1274 B(Mov), R(11), R(15),
1441 B(Jump), U8(53), 1275 B(Jump), U8(61),
1442 B(Star), R(8), 1276 B(Jump), U8(47),
1277 B(Star), R(18),
1443 B(Ldar), R(closure), 1278 B(Ldar), R(closure),
1444 B(CreateCatchContext), R(8), U8(7), U8(12), 1279 B(CreateCatchContext), R(18), U8(4), U8(9),
1445 B(Star), R(7), 1280 B(Star), R(17),
1446 B(LdaTheHole), 1281 B(LdaTheHole),
1447 B(SetPendingMessage), 1282 B(SetPendingMessage),
1448 B(Ldar), R(7), 1283 B(Ldar), R(17),
1449 B(PushContext), R(1), 1284 B(PushContext), R(13),
1450 B(LdaUndefined), 1285 B(LdaUndefined),
1451 B(Star), R(8), 1286 B(Star), R(18),
1452 B(LdaContextSlot), R(1), U8(13), U8(0),
1453 B(Star), R(9),
1454 B(LdaImmutableCurrentContextSlot), U8(4), 1287 B(LdaImmutableCurrentContextSlot), U8(4),
1455 B(Star), R(10), 1288 B(Star), R(20),
1456 B(LdaFalse), 1289 B(LdaFalse),
1457 B(Star), R(11), 1290 B(Star), R(21),
1458 B(CallJSRuntime), U8(%promise_internal_reject), R(8), U8(4), 1291 B(Mov), R(11), R(19),
1459 B(LdaContextSlot), R(1), U8(13), U8(0), 1292 B(CallJSRuntime), U8(%promise_internal_reject), R(18), U8(4),
1460 B(PopContext), R(1), 1293 B(PopContext), R(13),
1461 B(PopContext), R(1), 1294 B(PopContext), R(13),
1462 B(Star), R(5),
1463 B(LdaZero), 1295 B(LdaZero),
1464 B(Star), R(4), 1296 B(Star), R(14),
1297 B(Mov), R(11), R(15),
1465 B(Jump), U8(14), 1298 B(Jump), U8(14),
1466 B(LdaSmi), I8(-1), 1299 B(LdaSmi), I8(-1),
1467 B(Star), R(4), 1300 B(Star), R(14),
1468 B(Jump), U8(8), 1301 B(Jump), U8(8),
1469 B(Star), R(5), 1302 B(Star), R(15),
1470 B(LdaSmi), I8(1), 1303 B(LdaSmi), I8(1),
1471 B(Star), R(4), 1304 B(Star), R(14),
1472 B(LdaTheHole), 1305 B(LdaTheHole),
1473 B(SetPendingMessage), 1306 B(SetPendingMessage),
1474 B(Star), R(6), 1307 B(Star), R(16),
1475 B(LdaUndefined), 1308 B(LdaUndefined),
1476 B(Star), R(7), 1309 B(Star), R(17),
1477 B(LdaCurrentContextSlot), U8(13), 1310 B(Mov), R(11), R(18),
1478 B(Star), R(8), 1311 B(CallJSRuntime), U8(%async_function_promise_release), R(17), U8 (2),
1479 B(CallJSRuntime), U8(%async_function_promise_release), R(7), U8( 2), 1312 B(Ldar), R(16),
1480 B(Ldar), R(6),
1481 B(SetPendingMessage), 1313 B(SetPendingMessage),
1482 B(Ldar), R(4), 1314 B(Ldar), R(14),
1483 B(SwitchOnSmiNoFeedback), U8(13), U8(2), I8(0), 1315 B(SwitchOnSmiNoFeedback), U8(10), U8(2), I8(0),
1484 B(Jump), U8(8), 1316 B(Jump), U8(8),
1485 B(Ldar), R(5), 1317 B(Ldar), R(15),
1486 /* 60 S> */ B(Return), 1318 /* 60 S> */ B(Return),
1487 B(Ldar), R(5), 1319 B(Ldar), R(15),
1488 B(ReThrow), 1320 B(ReThrow),
1489 B(LdaUndefined), 1321 B(LdaUndefined),
1490 /* 60 S> */ B(Return), 1322 /* 60 S> */ B(Return),
1491 ] 1323 ]
1492 constant pool: [ 1324 constant pool: [
1493 FIXED_ARRAY_TYPE,
1494 SYMBOL_TYPE, 1325 SYMBOL_TYPE,
1495 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 1326 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
1496 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 1327 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
1497 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 1328 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
1498 FIXED_ARRAY_TYPE,
1499 FIXED_ARRAY_TYPE,
1500 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1329 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1501 FIXED_ARRAY_TYPE, 1330 FIXED_ARRAY_TYPE,
1502 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 1331 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
1503 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 1332 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
1504 FIXED_ARRAY_TYPE, 1333 FIXED_ARRAY_TYPE,
1505 FIXED_ARRAY_TYPE, 1334 FIXED_ARRAY_TYPE,
1506 Smi [6], 1335 Smi [6],
1507 Smi [9], 1336 Smi [9],
1508 ] 1337 ]
1509 handlers: [ 1338 handlers: [
1510 [21, 510, 516], 1339 [21, 354, 360],
1511 [24, 457, 459], 1340 [24, 307, 309],
1512 [41, 242, 248], 1341 [30, 152, 158],
1513 [44, 194, 196], 1342 [33, 112, 114],
1514 [334, 350, 352], 1343 [218, 228, 230],
1515 ] 1344 ]
1516 1345
1517 --- 1346 ---
1518 snippet: " 1347 snippet: "
1519 async function f(arr) { 1348 async function f(arr) {
1520 for (let x of arr) await x; 1349 for (let x of arr) await x;
1521 } 1350 }
1522 f([1, 2, 3]); 1351 f([1, 2, 3]);
1523 " 1352 "
1524 frame size: 18 1353 frame size: 29
1525 parameter count: 2 1354 parameter count: 2
1526 bytecode array length: 732 1355 bytecode array length: 552
1527 bytecodes: [ 1356 bytecodes: [
1528 B(Ldar), R(new_target), 1357 B(Ldar), R(new_target),
1529 B(JumpIfUndefined), U8(25), 1358 B(JumpIfUndefined), U8(25),
1530 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1), 1359 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
1531 B(PushContext), R(4), 1360 B(PushContext), R(15),
1532 B(ResumeGenerator), R(new_target), 1361 B(ResumeGenerator), R(new_target),
1533 B(Star), R(3), 1362 B(Star), R(14),
1534 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), 1363 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0),
1535 B(LdaSmi), I8(79), 1364 B(LdaSmi), I8(79),
1536 B(Star), R(5), 1365 B(Star), R(16),
1537 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 1366 B(CallRuntime), U16(Runtime::kAbort), R(16), U8(1),
1538 B(LdaSmi), I8(-2), 1367 B(LdaSmi), I8(-2),
1539 B(Star), R(3), 1368 B(Star), R(14),
1540 B(CreateFunctionContext), U8(11), 1369 B(CreateFunctionContext), U8(1),
1541 B(PushContext), R(0), 1370 B(PushContext), R(12),
1542 B(Ldar), R(arg0), 1371 B(Ldar), R(arg0),
1543 B(StaCurrentContextSlot), U8(4), 1372 B(StaCurrentContextSlot), U8(4),
1544 B(Mov), R(closure), R(5), 1373 B(Mov), R(closure), R(16),
1545 B(Mov), R(this), R(6), 1374 B(Mov), R(this), R(17),
1546 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(5) , U8(2), 1375 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(16 ), U8(2),
1547 B(StaCurrentContextSlot), U8(5), 1376 B(Star), R(2),
1548 /* 16 E> */ B(StackCheck), 1377 /* 16 E> */ B(StackCheck),
1549 B(LdaUndefined), 1378 B(LdaUndefined),
1550 B(Star), R(5), 1379 B(Star), R(16),
1551 B(CallJSRuntime), U8(%async_function_promise_create), R(5), U8(1 ), 1380 B(CallJSRuntime), U8(%async_function_promise_create), R(16), U8( 1),
1552 B(StaCurrentContextSlot), U8(7), 1381 B(Star), R(4),
1553 B(Mov), R(context), R(7), 1382 B(Mov), R(context), R(18),
1554 B(Mov), R(context), R(8), 1383 B(Mov), R(context), R(19),
1555 B(Ldar), R(closure), 1384 B(LdaZero),
1556 B(CreateBlockContext), U8(1), 1385 B(Star), R(8),
1557 B(PushContext), R(1), 1386 B(Mov), R(context), R(22),
1558 B(LdaTheHole), 1387 B(Mov), R(context), R(23),
1559 B(StaCurrentContextSlot), U8(4), 1388 /* 40 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
1560 B(LdaZero), 1389 B(Star), R(24),
1561 B(StaContextSlot), R(1), U8(11), U8(0), 1390 B(LdaNamedProperty), R(24), U8(1), U8(3),
1562 B(Mov), R(context), R(11), 1391 B(Star), R(25),
1563 B(Mov), R(context), R(12), 1392 B(CallProperty0), R(25), R(24), U8(5),
1564 /* 40 S> */ B(LdaImmutableContextSlot), R(1), U8(4), U8(0),
1565 B(Star), R(13),
1566 B(LdaNamedProperty), R(13), U8(2), U8(3),
1567 B(Star), R(14),
1568 B(CallProperty0), R(14), R(13), U8(5),
1569 B(JumpIfJSReceiver), U8(7), 1393 B(JumpIfJSReceiver), U8(7),
1570 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 1394 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
1571 /* 40 E> */ B(StaContextSlot), R(1), U8(9), U8(0), 1395 B(Star), R(6),
1572 B(Ldar), R(3), 1396 B(Ldar), R(14),
1573 B(SwitchOnSmiNoFeedback), U8(3), U8(1), I8(0), 1397 B(SwitchOnSmiNoFeedback), U8(2), U8(1), I8(0),
1574 B(LdaSmi), I8(-2), 1398 B(LdaSmi), I8(-2),
1575 B(TestEqualStrictNoFeedback), R(3), 1399 /* 40 E> */ B(TestEqualStrictNoFeedback), R(14),
1576 B(JumpIfTrue), U8(11), 1400 B(JumpIfTrue), U8(11),
1577 B(LdaSmi), I8(79), 1401 B(LdaSmi), I8(79),
1578 B(Star), R(13), 1402 B(Star), R(24),
1579 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1), 1403 B(CallRuntime), U16(Runtime::kAbort), R(24), U8(1),
1580 /* 37 S> */ B(LdaContextSlot), R(1), U8(9), U8(0), 1404 /* 37 S> */ B(LdaNamedProperty), R(6), U8(3), U8(9),
1581 B(Star), R(14), 1405 B(Star), R(24),
1582 B(LdaNamedProperty), R(14), U8(4), U8(9), 1406 /* 37 E> */ B(CallProperty0), R(24), R(6), U8(7),
1583 B(Star), R(13), 1407 B(Star), R(7),
1584 /* 37 E> */ B(CallProperty0), R(13), R(14), U8(7), 1408 /* 37 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(7), U8(1),
1585 /* 37 E> */ B(StaContextSlot), R(1), U8(10), U8(0),
1586 B(Star), R(13),
1587 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(13), U8(1),
1588 B(ToBooleanLogicalNot), 1409 B(ToBooleanLogicalNot),
1589 B(JumpIfFalse), U8(13), 1410 B(JumpIfFalse), U8(7),
1590 B(LdaContextSlot), R(1), U8(10), U8(0), 1411 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (7), U8(1),
1591 B(Star), R(13), 1412 B(LdaNamedProperty), R(7), U8(4), U8(11),
1592 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (13), U8(1), 1413 B(JumpIfToBooleanTrue), U8(105),
1593 B(LdaContextSlot), R(1), U8(10), U8(0), 1414 B(LdaNamedProperty), R(7), U8(5), U8(13),
1594 B(Star), R(13), 1415 B(Star), R(9),
1595 B(LdaNamedProperty), R(13), U8(5), U8(11),
1596 B(JumpIfToBooleanTrue), U8(165),
1597 B(LdaContextSlot), R(1), U8(10), U8(0),
1598 B(Star), R(13),
1599 B(LdaNamedProperty), R(13), U8(6), U8(13),
1600 B(StaContextSlot), R(1), U8(12), U8(0),
1601 B(LdaSmi), I8(2), 1416 B(LdaSmi), I8(2),
1602 B(StaContextSlot), R(1), U8(11), U8(0), 1417 B(Star), R(8),
1603 B(LdaContextSlot), R(1), U8(12), U8(0), 1418 B(Mov), R(9), R(5),
1604 B(StaContextSlot), R(1), U8(8), U8(0),
1605 /* 26 E> */ B(StackCheck), 1419 /* 26 E> */ B(StackCheck),
1606 B(Ldar), R(closure), 1420 B(Mov), R(5), R(0),
1607 B(CreateBlockContext), U8(7), 1421 /* 45 S> */ B(Nop),
1608 B(PushContext), R(2), 1422 /* 51 S> */ B(Mov), R(5), R(3),
1609 B(LdaTheHole),
1610 B(StaCurrentContextSlot), U8(4),
1611 B(LdaContextSlot), R(1), U8(8), U8(0),
1612 B(StaCurrentContextSlot), U8(4),
1613 /* 45 S> */ B(LdaImmutableContextSlot), R(1), U8(5), U8(0),
1614 B(Star), R(13),
1615 /* 51 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
1616 B(StaContextSlot), R(1), U8(6), U8(0),
1617 /* 45 S> */ B(LdaUndefined), 1423 /* 45 S> */ B(LdaUndefined),
1618 B(Star), R(14), 1424 B(Star), R(25),
1619 B(LdaImmutableContextSlot), R(1), U8(5), U8(0), 1425 B(Mov), R(2), R(26),
1620 B(Star), R(15), 1426 B(Mov), R(5), R(27),
1621 B(LdaContextSlot), R(1), U8(6), U8(0), 1427 B(Mov), R(4), R(28),
1622 B(Star), R(16), 1428 B(CallJSRuntime), U8(%async_function_await_uncaught), R(25), U8( 4),
1623 B(LdaContextSlot), R(1), U8(7), U8(0), 1429 B(LdaZero),
1624 B(Star), R(17), 1430 B(Mov), R(2), R(24),
1625 B(CallJSRuntime), U8(%async_function_await_uncaught), R(14), U8( 4), 1431 B(Mov), R(4), R(25),
1626 B(LdaContextSlot), R(1), U8(7), U8(0), 1432 B(SuspendGenerator), R(24), U8(2),
1627 B(Star), R(14), 1433 B(Ldar), R(25),
1628 B(LdaZero),
1629 B(SuspendGenerator), R(13), U8(2),
1630 B(Ldar), R(14),
1631 /* 54 S> */ B(Return), 1434 /* 54 S> */ B(Return),
1632 B(LdaSmi), I8(-2), 1435 B(LdaSmi), I8(-2),
1633 B(Star), R(3),
1634 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(13), U8(1),
1635 B(Star), R(14), 1436 B(Star), R(14),
1636 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13) , U8(1), 1437 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(24), U8(1),
1637 B(Star), R(15), 1438 B(Star), R(25),
1638 B(LdaZero), 1439 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(24) , U8(1),
1639 B(TestEqualStrictNoFeedback), R(15), 1440 B(Star), R(26),
1640 B(JumpIfTrue), U8(40), 1441 B(LdaZero),
1442 B(TestEqualStrictNoFeedback), R(26),
1443 B(JumpIfTrue), U8(28),
1641 B(LdaSmi), I8(2), 1444 B(LdaSmi), I8(2),
1642 B(TestEqualStrictNoFeedback), R(15), 1445 B(TestEqualStrictNoFeedback), R(26),
1643 B(JumpIfTrue), U8(31), 1446 B(JumpIfTrue), U8(19),
1644 B(LdaTrue), 1447 B(LdaTrue),
1645 B(Star), R(17), 1448 B(Star), R(28),
1646 B(Mov), R(14), R(16), 1449 B(Mov), R(25), R(27),
1647 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2), 1450 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(27) , U8(2),
1648 B(PopContext), R(2), 1451 B(Star), R(21),
1649 B(PopContext), R(2), 1452 B(LdaZero),
1650 B(PopContext), R(2), 1453 B(Star), R(20),
1651 B(PopContext), R(2), 1454 B(Jump), U8(63),
1652 B(PopContext), R(2), 1455 B(Ldar), R(25),
1653 B(PopContext), R(2), 1456 B(ReThrow),
1457 B(LdaZero),
1458 B(Star), R(8),
1459 B(JumpLoop), U8(151), I8(0),
1460 B(Jump), U8(40),
1461 B(Star), R(24),
1462 B(Ldar), R(closure),
1463 B(CreateCatchContext), R(24), U8(6), U8(7),
1464 B(Star), R(23),
1465 B(LdaTheHole),
1466 B(SetPendingMessage),
1467 B(Ldar), R(23),
1468 B(PushContext), R(13),
1469 B(LdaSmi), I8(2),
1470 B(TestEqualStrict), R(8), U8(15),
1471 B(JumpIfFalse), U8(6),
1472 B(LdaSmi), I8(1),
1473 B(Star), R(8),
1474 B(LdaImmutableCurrentContextSlot), U8(4),
1475 B(Star), R(24),
1476 B(CallRuntime), U16(Runtime::kReThrow), R(24), U8(1),
1477 B(PopContext), R(13),
1478 B(LdaSmi), I8(-1),
1479 B(Star), R(20),
1480 B(Jump), U8(8),
1481 B(Star), R(21),
1482 B(LdaSmi), I8(1),
1483 B(Star), R(20),
1484 B(LdaTheHole),
1485 B(SetPendingMessage),
1486 B(Star), R(22),
1487 B(LdaZero),
1488 B(TestEqualStrict), R(8), U8(16),
1489 B(JumpIfTrue), U8(104),
1490 B(LdaNamedProperty), R(6), U8(8), U8(17),
1654 B(Star), R(10), 1491 B(Star), R(10),
1655 B(LdaZero),
1656 B(Star), R(9),
1657 B(Jump), U8(75),
1658 B(Ldar), R(14),
1659 B(ReThrow),
1660 B(PopContext), R(2),
1661 B(LdaZero),
1662 B(StaContextSlot), R(1), U8(11), U8(0),
1663 B(JumpLoop), U8(233), I8(0),
1664 B(Jump), U8(48),
1665 B(Star), R(13),
1666 B(Ldar), R(closure),
1667 B(CreateCatchContext), R(13), U8(8), U8(9),
1668 B(Star), R(12),
1669 B(LdaTheHole),
1670 B(SetPendingMessage),
1671 B(Ldar), R(12),
1672 B(PushContext), R(2),
1673 B(LdaContextSlot), R(1), U8(11), U8(0),
1674 B(Star), R(13),
1675 B(LdaSmi), I8(2),
1676 B(TestEqualStrict), R(13), U8(15),
1677 B(JumpIfFalse), U8(8),
1678 B(LdaSmi), I8(1),
1679 B(StaContextSlot), R(1), U8(11), U8(0),
1680 B(LdaImmutableCurrentContextSlot), U8(4),
1681 B(Star), R(13),
1682 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1),
1683 B(PopContext), R(2),
1684 B(LdaSmi), I8(-1),
1685 B(Star), R(9),
1686 B(Jump), U8(8),
1687 B(Star), R(10),
1688 B(LdaSmi), I8(1),
1689 B(Star), R(9),
1690 B(LdaTheHole),
1691 B(SetPendingMessage),
1692 B(Star), R(11),
1693 B(LdaContextSlot), R(1), U8(11), U8(0),
1694 B(Star), R(12),
1695 B(LdaZero),
1696 B(TestEqualStrict), R(12), U8(16),
1697 B(JumpIfTrue), U8(150),
1698 B(LdaContextSlot), R(1), U8(9), U8(0),
1699 B(Star), R(12),
1700 B(LdaNamedProperty), R(12), U8(10), U8(17),
1701 B(StaContextSlot), R(1), U8(13), U8(0),
1702 B(LdaContextSlot), R(1), U8(13), U8(0),
1703 B(TestUndetectable), 1492 B(TestUndetectable),
1704 B(JumpIfFalse), U8(4), 1493 B(JumpIfFalse), U8(4),
1705 B(Jump), U8(127), 1494 B(Jump), U8(93),
1706 B(LdaContextSlot), R(1), U8(11), U8(0), 1495 B(LdaSmi), I8(1),
1707 B(Star), R(12), 1496 B(TestEqualStrict), R(8), U8(20),
1708 B(LdaSmi), I8(1), 1497 B(JumpIfFalse), U8(61),
1709 B(TestEqualStrict), R(12), U8(20), 1498 B(Ldar), R(10),
1710 B(JumpIfFalse), U8(69),
1711 B(LdaContextSlot), R(1), U8(13), U8(0),
1712 B(TestTypeOf), U8(5), 1499 B(TestTypeOf), U8(5),
1713 B(JumpIfFalse), U8(4), 1500 B(JumpIfFalse), U8(4),
1714 B(Jump), U8(18), 1501 B(Jump), U8(18),
1715 B(Wide), B(LdaSmi), I16(130), 1502 B(Wide), B(LdaSmi), I16(130),
1716 B(Star), R(12), 1503 B(Star), R(23),
1717 B(LdaConstant), U8(11), 1504 B(LdaConstant), U8(9),
1718 B(Star), R(13), 1505 B(Star), R(24),
1719 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), 1506 B(CallRuntime), U16(Runtime::kNewTypeError), R(23), U8(2),
1720 B(Throw), 1507 B(Throw),
1721 B(Mov), R(context), R(12), 1508 B(Mov), R(context), R(23),
1722 B(LdaContextSlot), R(1), U8(13), U8(0), 1509 B(Mov), R(10), R(24),
1723 B(Star), R(13), 1510 B(Mov), R(6), R(25),
1724 B(LdaContextSlot), R(1), U8(9), U8(0), 1511 B(InvokeIntrinsic), U8(Runtime::k_Call), R(24), U8(2),
1725 B(Star), R(14),
1726 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2),
1727 B(Jump), U8(20), 1512 B(Jump), U8(20),
1728 B(Star), R(13), 1513 B(Star), R(24),
1729 B(Ldar), R(closure), 1514 B(Ldar), R(closure),
1730 B(CreateCatchContext), R(13), U8(8), U8(12), 1515 B(CreateCatchContext), R(24), U8(6), U8(10),
1731 B(Star), R(12), 1516 B(Star), R(23),
1732 B(LdaTheHole), 1517 B(LdaTheHole),
1733 B(SetPendingMessage), 1518 B(SetPendingMessage),
1734 B(Ldar), R(12), 1519 B(Ldar), R(23),
1735 B(PushContext), R(2), 1520 B(PushContext), R(13),
1736 B(PopContext), R(2), 1521 B(PopContext), R(13),
1522 B(Jump), U8(27),
1523 B(Mov), R(10), R(23),
1524 B(Mov), R(6), R(24),
1525 B(InvokeIntrinsic), U8(Runtime::k_Call), R(23), U8(2),
1526 B(Star), R(11),
1527 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1),
1528 B(JumpIfToBooleanFalse), U8(4),
1529 B(Jump), U8(7),
1530 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1),
1531 B(Ldar), R(22),
1532 B(SetPendingMessage),
1533 B(Ldar), R(20),
1534 B(SwitchOnSmiNoFeedback), U8(11), U8(2), I8(0),
1535 B(Jump), U8(13),
1536 B(LdaZero),
1537 B(Star), R(16),
1538 B(Mov), R(21), R(17),
1539 B(Jump), U8(85),
1540 B(Ldar), R(21),
1541 B(ReThrow),
1542 B(LdaUndefined),
1543 B(Star), R(20),
1544 B(LdaUndefined),
1545 B(Star), R(22),
1546 B(Mov), R(4), R(21),
1547 B(CallJSRuntime), U8(%promise_resolve), R(20), U8(3),
1548 B(LdaZero),
1549 B(Star), R(16),
1550 B(Mov), R(4), R(17),
1551 B(Jump), U8(61),
1737 B(Jump), U8(47), 1552 B(Jump), U8(47),
1738 B(LdaContextSlot), R(1), U8(13), U8(0), 1553 B(Star), R(20),
1739 B(Star), R(12),
1740 B(LdaContextSlot), R(1), U8(9), U8(0),
1741 B(Star), R(13),
1742 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2),
1743 B(StaContextSlot), R(1), U8(14), U8(0),
1744 B(LdaContextSlot), R(1), U8(14), U8(0),
1745 B(Star), R(12),
1746 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
1747 B(JumpIfToBooleanFalse), U8(4),
1748 B(Jump), U8(13),
1749 B(LdaContextSlot), R(1), U8(14), U8(0),
1750 B(Star), R(12),
1751 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1),
1752 B(Ldar), R(11),
1753 B(SetPendingMessage),
1754 B(Ldar), R(9),
1755 B(SwitchOnSmiNoFeedback), U8(13), U8(2), I8(0),
1756 B(Jump), U8(25),
1757 B(PopContext), R(1),
1758 B(PopContext), R(1),
1759 B(PopContext), R(1),
1760 B(PopContext), R(1),
1761 B(LdaZero),
1762 B(Star), R(5),
1763 B(Mov), R(10), R(6),
1764 B(Jump), U8(99),
1765 B(PopContext), R(1),
1766 B(PopContext), R(1),
1767 B(Ldar), R(10),
1768 B(ReThrow),
1769 B(PopContext), R(1),
1770 B(LdaUndefined),
1771 B(Star), R(9),
1772 B(LdaCurrentContextSlot), U8(7),
1773 B(Star), R(10),
1774 B(LdaUndefined),
1775 B(Star), R(11),
1776 B(CallJSRuntime), U8(%promise_resolve), R(9), U8(3),
1777 B(LdaCurrentContextSlot), U8(7),
1778 B(Star), R(6),
1779 B(LdaZero),
1780 B(Star), R(5),
1781 B(Jump), U8(67),
1782 B(Jump), U8(53),
1783 B(Star), R(9),
1784 B(Ldar), R(closure), 1554 B(Ldar), R(closure),
1785 B(CreateCatchContext), R(9), U8(8), U8(15), 1555 B(CreateCatchContext), R(20), U8(6), U8(13),
1786 B(Star), R(8), 1556 B(Star), R(19),
1787 B(LdaTheHole), 1557 B(LdaTheHole),
1788 B(SetPendingMessage), 1558 B(SetPendingMessage),
1789 B(Ldar), R(8), 1559 B(Ldar), R(19),
1790 B(PushContext), R(1), 1560 B(PushContext), R(13),
1791 B(LdaUndefined), 1561 B(LdaUndefined),
1792 B(Star), R(9), 1562 B(Star), R(20),
1793 B(LdaContextSlot), R(1), U8(7), U8(0),
1794 B(Star), R(10),
1795 B(LdaImmutableCurrentContextSlot), U8(4), 1563 B(LdaImmutableCurrentContextSlot), U8(4),
1796 B(Star), R(11), 1564 B(Star), R(22),
1797 B(LdaFalse), 1565 B(LdaFalse),
1798 B(Star), R(12), 1566 B(Star), R(23),
1799 B(CallJSRuntime), U8(%promise_internal_reject), R(9), U8(4), 1567 B(Mov), R(4), R(21),
1800 B(LdaContextSlot), R(1), U8(7), U8(0), 1568 B(CallJSRuntime), U8(%promise_internal_reject), R(20), U8(4),
1801 B(PopContext), R(1), 1569 B(PopContext), R(13),
1802 B(PopContext), R(1), 1570 B(PopContext), R(13),
1803 B(Star), R(6), 1571 B(LdaZero),
1804 B(LdaZero), 1572 B(Star), R(16),
1805 B(Star), R(5), 1573 B(Mov), R(4), R(17),
1806 B(Jump), U8(14), 1574 B(Jump), U8(14),
1807 B(LdaSmi), I8(-1), 1575 B(LdaSmi), I8(-1),
1808 B(Star), R(5), 1576 B(Star), R(16),
1809 B(Jump), U8(8), 1577 B(Jump), U8(8),
1810 B(Star), R(6), 1578 B(Star), R(17),
1811 B(LdaSmi), I8(1), 1579 B(LdaSmi), I8(1),
1812 B(Star), R(5), 1580 B(Star), R(16),
1813 B(LdaTheHole), 1581 B(LdaTheHole),
1814 B(SetPendingMessage), 1582 B(SetPendingMessage),
1815 B(Star), R(7), 1583 B(Star), R(18),
1816 B(LdaUndefined), 1584 B(LdaUndefined),
1817 B(Star), R(8), 1585 B(Star), R(19),
1818 B(LdaCurrentContextSlot), U8(7), 1586 B(Mov), R(4), R(20),
1819 B(Star), R(9), 1587 B(CallJSRuntime), U8(%async_function_promise_release), R(19), U8 (2),
1820 B(CallJSRuntime), U8(%async_function_promise_release), R(8), U8( 2), 1588 B(Ldar), R(18),
1821 B(Ldar), R(7), 1589 B(SetPendingMessage),
1822 B(SetPendingMessage), 1590 B(Ldar), R(16),
1823 B(Ldar), R(5), 1591 B(SwitchOnSmiNoFeedback), U8(14), U8(2), I8(0),
1824 B(SwitchOnSmiNoFeedback), U8(16), U8(2), I8(0),
1825 B(Jump), U8(8), 1592 B(Jump), U8(8),
1826 B(Ldar), R(6), 1593 B(Ldar), R(17),
1827 /* 54 S> */ B(Return), 1594 /* 54 S> */ B(Return),
1828 B(Ldar), R(6), 1595 B(Ldar), R(17),
1829 B(ReThrow), 1596 B(ReThrow),
1830 B(LdaUndefined), 1597 B(LdaUndefined),
1831 /* 54 S> */ B(Return), 1598 /* 54 S> */ B(Return),
1832 ] 1599 ]
1833 constant pool: [ 1600 constant pool: [
1834 Smi [100], 1601 Smi [85],
1835 FIXED_ARRAY_TYPE,
1836 SYMBOL_TYPE, 1602 SYMBOL_TYPE,
1837 Smi [165], 1603 Smi [99],
1838 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 1604 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
1839 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 1605 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
1840 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 1606 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
1841 FIXED_ARRAY_TYPE,
1842 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1607 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1843 FIXED_ARRAY_TYPE, 1608 FIXED_ARRAY_TYPE,
1844 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 1609 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
1845 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 1610 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
1846 FIXED_ARRAY_TYPE, 1611 FIXED_ARRAY_TYPE,
1847 Smi [6], 1612 Smi [6],
1848 Smi [22], 1613 Smi [14],
1849 FIXED_ARRAY_TYPE, 1614 FIXED_ARRAY_TYPE,
1850 Smi [6], 1615 Smi [6],
1851 Smi [9], 1616 Smi [9],
1852 ] 1617 ]
1853 handlers: [ 1618 handlers: [
1854 [64, 686, 692], 1619 [64, 507, 513],
1855 [67, 633, 635], 1620 [67, 460, 462],
1856 [84, 398, 404], 1621 [73, 293, 299],
1857 [87, 350, 352], 1622 [76, 253, 255],
1858 [491, 507, 509], 1623 [360, 370, 372],
1859 ] 1624 ]
1860 1625
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698