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

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

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

Powered by Google App Engine
This is Rietveld 408576698