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