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

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

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

Powered by Google App Engine
This is Rietveld 408576698