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

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

Powered by Google App Engine
This is Rietveld 408576698