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

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: Add the builtins to the uncaught exception prediction list 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: 21
645 parameter count: 2 645 parameter count: 2
646 bytecode array length: 446 646 bytecode array length: 403
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(14),
658 B(CallRuntime), U16(Runtime::kAbort), R(14), U8(1), 658 B(CallRuntime), U16(Runtime::kAbort), R(14), 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(14),
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(15),
666 B(Mov), R(this), R(16), 666 B(Mov), R(this), R(16),
667 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(15 ), U8(2), 667 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(15 ), 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(16),
675 /* 11 E> */ B(SuspendGenerator), R(18), R(0), U8(19), U8(0), 673 B(Mov), R(3), R(15),
676 B(Ldar), R(19), 674 /* 11 E> */ B(SuspendGenerator), R(15), R(0), U8(16), U8(0),
675 B(Ldar), R(16),
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(16),
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(15), U8(1),
681 B(Star), R(16),
682 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(15) , U8(1),
683 B(Star), R(17),
684 B(LdaZero),
685 B(TestEqualStrictNoFeedback), R(17),
686 B(JumpIfTrue), U8(30),
687 B(LdaSmi), I8(2),
688 B(TestEqualStrictNoFeedback), R(17),
689 B(JumpIfTrue), U8(21),
690 B(LdaTrue),
682 B(Star), R(19), 691 B(Star), R(19),
683 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(18) , U8(1), 692 B(Mov), R(16), R(18),
693 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(18) , U8(2),
684 B(Star), R(20), 694 B(Star), R(20),
685 B(LdaZero), 695 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(11), U8(1),
686 B(TestEqualStrictNoFeedback), R(20), 696 B(Ldar), R(20),
687 B(JumpIfTrue), U8(28), 697 /* 55 S> */ B(Return),
688 B(LdaSmi), I8(2), 698 B(Ldar), R(16),
689 B(TestEqualStrictNoFeedback), R(20),
690 B(JumpIfTrue), U8(19),
691 B(LdaTrue),
692 B(Star), R(22),
693 B(Mov), R(19), R(21),
694 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(21) , U8(2),
695 B(Star), R(16),
696 B(LdaZero),
697 B(Star), R(15),
698 B(JumpConstant), U8(10),
699 B(Ldar), R(19),
700 /* 11 E> */ B(Throw), 699 /* 11 E> */ B(Throw),
701 B(LdaZero), 700 B(LdaZero),
702 B(Star), R(7), 701 B(Star), R(7),
703 B(Mov), R(context), R(20), 702 B(Mov), R(context), R(17),
704 B(Mov), R(context), R(21), 703 B(Mov), R(context), R(18),
705 /* 35 S> */ B(LdaImmutableCurrentContextSlot), U8(4), 704 /* 35 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
706 B(Star), R(22), 705 B(Star), R(19),
707 B(LdaNamedProperty), R(22), U8(1), U8(3), 706 B(LdaNamedProperty), R(19), U8(1), U8(3),
708 B(Star), R(23), 707 B(Star), R(20),
709 B(CallProperty0), R(23), R(22), U8(5), 708 B(CallProperty0), R(20), R(19), U8(5),
710 B(JumpIfJSReceiver), U8(7), 709 B(JumpIfJSReceiver), U8(7),
711 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 710 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
712 B(Star), R(5), 711 B(Star), R(5),
713 /* 30 S> */ B(LdaNamedProperty), R(5), U8(2), U8(9), 712 /* 30 S> */ B(LdaNamedProperty), R(5), U8(2), U8(9),
714 B(Star), R(22), 713 B(Star), R(19),
715 B(CallProperty0), R(22), R(5), U8(7), 714 B(CallProperty0), R(19), R(5), U8(7),
716 B(Star), R(6), 715 B(Star), R(6),
717 /* 30 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1), 716 /* 30 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1),
718 B(ToBooleanLogicalNot), 717 B(ToBooleanLogicalNot),
719 B(JumpIfFalse), U8(7), 718 B(JumpIfFalse), U8(7),
720 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (6), U8(1), 719 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (6), U8(1),
721 B(LdaNamedProperty), R(6), U8(3), U8(11), 720 B(LdaNamedProperty), R(6), U8(3), U8(11),
722 B(JumpIfToBooleanTrue), U8(28), 721 B(JumpIfToBooleanTrue), U8(28),
723 B(LdaNamedProperty), R(6), U8(4), U8(13), 722 B(LdaNamedProperty), R(6), U8(4), U8(13),
724 B(Star), R(8), 723 B(Star), R(8),
725 B(LdaSmi), I8(2), 724 B(LdaSmi), I8(2),
726 B(Star), R(7), 725 B(Star), R(7),
727 B(Mov), R(8), R(4), 726 B(Mov), R(8), R(4),
728 /* 21 E> */ B(StackCheck), 727 /* 21 E> */ B(StackCheck),
729 B(Mov), R(4), R(1), 728 B(Mov), R(4), R(1),
730 /* 50 S> */ B(Mov), R(1), R(0), 729 /* 50 S> */ B(Mov), R(1), R(0),
731 B(LdaZero), 730 B(LdaZero),
732 B(Star), R(7), 731 B(Star), R(7),
733 B(JumpLoop), U8(53), I8(0), 732 B(JumpLoop), U8(53), I8(0),
734 B(Jump), U8(36), 733 B(Jump), U8(36),
735 B(Star), R(22), 734 B(Star), R(19),
736 B(Ldar), R(closure), 735 B(Ldar), R(closure),
737 /* 50 E> */ B(CreateCatchContext), R(22), U8(5), U8(6), 736 /* 50 E> */ B(CreateCatchContext), R(19), U8(5), U8(6),
738 B(PushContext), R(22), 737 B(PushContext), R(19),
739 B(Star), R(21), 738 B(Star), R(18),
740 B(LdaSmi), I8(2), 739 B(LdaSmi), I8(2),
741 B(TestEqualStrict), R(7), U8(15), 740 B(TestEqualStrict), R(7), U8(15),
742 B(JumpIfFalse), U8(6), 741 B(JumpIfFalse), U8(6),
743 B(LdaSmi), I8(1), 742 B(LdaSmi), I8(1),
744 B(Star), R(7), 743 B(Star), R(7),
745 B(LdaImmutableCurrentContextSlot), U8(4), 744 B(LdaImmutableCurrentContextSlot), U8(4),
746 B(Star), R(23), 745 B(Star), R(20),
747 B(CallRuntime), U16(Runtime::kReThrow), R(23), U8(1), 746 B(CallRuntime), U16(Runtime::kReThrow), R(20), U8(1),
748 B(PopContext), R(22), 747 B(PopContext), R(19),
749 B(LdaSmi), I8(-1), 748 B(LdaSmi), I8(-1),
750 B(Star), R(18), 749 B(Star), R(15),
751 B(Jump), U8(7), 750 B(Jump), U8(7),
752 B(Star), R(19), 751 B(Star), R(16),
753 B(LdaZero), 752 B(LdaZero),
754 B(Star), R(18), 753 B(Star), R(15),
755 B(LdaTheHole), 754 B(LdaTheHole),
756 B(SetPendingMessage), 755 B(SetPendingMessage),
757 B(Star), R(20), 756 B(Star), R(17),
758 B(LdaZero), 757 B(LdaZero),
759 B(TestEqualStrict), R(7), U8(16), 758 B(TestEqualStrict), R(7), U8(16),
760 B(JumpIfTrue), U8(104), 759 B(JumpIfTrue), U8(104),
761 B(LdaNamedProperty), R(5), U8(7), U8(17), 760 B(LdaNamedProperty), R(5), U8(7), U8(17),
762 B(Star), R(9), 761 B(Star), R(9),
763 B(TestUndetectable), 762 B(TestUndetectable),
764 B(JumpIfFalse), U8(4), 763 B(JumpIfFalse), U8(4),
765 B(Jump), U8(93), 764 B(Jump), U8(93),
766 B(LdaSmi), I8(1), 765 B(LdaSmi), I8(1),
767 B(TestEqualStrict), R(7), U8(20), 766 B(TestEqualStrict), R(7), U8(20),
768 B(JumpIfFalse), U8(61), 767 B(JumpIfFalse), U8(61),
769 B(Ldar), R(9), 768 B(Ldar), R(9),
770 B(TestTypeOf), U8(5), 769 B(TestTypeOf), U8(5),
771 B(JumpIfFalse), U8(4), 770 B(JumpIfFalse), U8(4),
772 B(Jump), U8(18), 771 B(Jump), U8(18),
773 B(Wide), B(LdaSmi), I16(130), 772 B(Wide), B(LdaSmi), I16(130),
774 B(Star), R(21), 773 B(Star), R(18),
775 B(LdaConstant), U8(8), 774 B(LdaConstant), U8(8),
776 B(Star), R(22), 775 B(Star), R(19),
777 B(CallRuntime), U16(Runtime::kNewTypeError), R(21), U8(2), 776 B(CallRuntime), U16(Runtime::kNewTypeError), R(18), U8(2),
778 B(Throw), 777 B(Throw),
779 B(Mov), R(context), R(21), 778 B(Mov), R(context), R(18),
780 B(Mov), R(9), R(22), 779 B(Mov), R(9), R(19),
781 B(Mov), R(5), R(23), 780 B(Mov), R(5), R(20),
782 B(InvokeIntrinsic), U8(Runtime::k_Call), R(22), U8(2), 781 B(InvokeIntrinsic), U8(Runtime::k_Call), R(19), U8(2),
783 B(Jump), U8(20), 782 B(Jump), U8(20),
784 B(Star), R(22), 783 B(Star), R(19),
785 B(Ldar), R(closure), 784 B(Ldar), R(closure),
786 B(CreateCatchContext), R(22), U8(5), U8(9), 785 B(CreateCatchContext), R(19), U8(5), U8(9),
787 B(Star), R(21), 786 B(Star), R(18),
788 B(LdaTheHole), 787 B(LdaTheHole),
789 B(SetPendingMessage), 788 B(SetPendingMessage),
790 B(Ldar), R(21), 789 B(Ldar), R(18),
791 B(PushContext), R(22), 790 B(PushContext), R(19),
792 B(PopContext), R(22), 791 B(PopContext), R(19),
793 B(Jump), U8(27), 792 B(Jump), U8(27),
794 B(Mov), R(9), R(21), 793 B(Mov), R(9), R(18),
795 B(Mov), R(5), R(22), 794 B(Mov), R(5), R(19),
796 B(InvokeIntrinsic), U8(Runtime::k_Call), R(21), U8(2), 795 B(InvokeIntrinsic), U8(Runtime::k_Call), R(18), U8(2),
797 B(Star), R(10), 796 B(Star), R(10),
798 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), 797 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1),
799 B(JumpIfToBooleanFalse), U8(4), 798 B(JumpIfToBooleanFalse), U8(4),
800 B(Jump), U8(7), 799 B(Jump), U8(7),
801 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1), 800 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1),
802 B(Ldar), R(20), 801 B(Ldar), R(17),
803 B(SetPendingMessage), 802 B(SetPendingMessage),
804 B(LdaZero), 803 B(LdaZero),
805 B(TestEqualStrictNoFeedback), R(18), 804 B(TestEqualStrictNoFeedback), R(15),
806 B(JumpIfFalse), U8(11), 805 B(JumpIfFalse), U8(5),
807 B(LdaSmi), I8(1),
808 B(Star), R(15),
809 B(Mov), R(19), R(16),
810 B(Jump), U8(31),
811 B(LdaUndefined),
812 B(Star), R(18),
813 B(LdaTrue),
814 B(Star), R(19),
815 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(18) , U8(2),
816 B(Star), R(16),
817 B(LdaZero),
818 B(Star), R(15),
819 B(Jump), U8(14),
820 B(LdaSmi), I8(-1),
821 B(Star), R(15),
822 B(Jump), U8(8),
823 B(Star), R(16),
824 B(LdaSmi), I8(1),
825 B(Star), R(15),
826 B(LdaTheHole),
827 B(SetPendingMessage),
828 B(Star), R(17),
829 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(3), U8(1),
830 B(Ldar), R(17),
831 B(SetPendingMessage),
832 B(Ldar), R(15),
833 B(SwitchOnSmiNoFeedback), U8(11), U8(2), I8(0),
834 B(Jump), U8(8),
835 B(Ldar), R(16),
836 /* 55 S> */ B(Return),
837 B(Ldar), R(16), 806 B(Ldar), R(16),
838 B(ReThrow), 807 B(ReThrow),
839 B(LdaUndefined), 808 B(LdaUndefined),
809 B(Star), R(15),
810 B(LdaTrue),
811 B(Star), R(16),
812 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(15) , U8(2),
813 B(Star), R(17),
814 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(11), U8(1),
815 B(Ldar), R(17),
840 /* 55 S> */ B(Return), 816 /* 55 S> */ B(Return),
841 ] 817 ]
842 constant pool: [ 818 constant pool: [
843 Smi [58], 819 Smi [56],
844 SYMBOL_TYPE, 820 SYMBOL_TYPE,
845 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 821 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
846 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 822 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
847 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 823 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
848 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 824 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
849 FIXED_ARRAY_TYPE, 825 FIXED_ARRAY_TYPE,
850 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 826 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
851 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 827 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
852 FIXED_ARRAY_TYPE, 828 FIXED_ARRAY_TYPE,
853 Smi [298],
854 Smi [6],
855 Smi [9],
856 ] 829 ]
857 handlers: [ 830 handlers: [
858 [60, 407, 413],
859 [132, 250, 256], 831 [132, 250, 256],
860 [135, 214, 216], 832 [135, 214, 216],
861 [316, 326, 328], 833 [316, 326, 328],
862 ] 834 ]
863 835
864 --- 836 ---
865 snippet: " 837 snippet: "
866 function* f(arr) { 838 function* f(arr) {
867 for (let x of arr) yield x; 839 for (let x of arr) yield x;
868 } 840 }
869 f([1, 2, 3]); 841 f([1, 2, 3]);
870 " 842 "
871 frame size: 26 843 frame size: 22
872 parameter count: 2 844 parameter count: 2
873 bytecode array length: 552 845 bytecode array length: 510
874 bytecodes: [ 846 bytecodes: [
875 B(Mov), R(new_target), R(10), 847 B(Mov), R(new_target), R(10),
876 B(Ldar), R(new_target), 848 B(Ldar), R(new_target),
877 B(JumpIfUndefined), U8(25), 849 B(JumpIfUndefined), U8(25),
878 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(10), U 8(1), 850 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(10), U 8(1),
879 B(PushContext), R(12), 851 B(PushContext), R(12),
880 B(RestoreGeneratorState), R(10), 852 B(RestoreGeneratorState), R(10),
881 B(Star), R(11), 853 B(Star), R(11),
882 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), 854 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0),
883 B(LdaSmi), I8(79), 855 B(LdaSmi), I8(79),
884 B(Star), R(13), 856 B(Star), R(13),
885 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1), 857 B(CallRuntime), U16(Runtime::kAbort), R(13), U8(1),
886 B(LdaSmi), I8(-2), 858 B(LdaSmi), I8(-2),
887 B(Star), R(11), 859 B(Star), R(11),
888 B(CreateFunctionContext), U8(1), 860 B(CreateFunctionContext), U8(1),
889 B(PushContext), R(13), 861 B(PushContext), R(13),
890 B(Ldar), R(arg0), 862 B(Ldar), R(arg0),
891 B(StaCurrentContextSlot), U8(4), 863 B(StaCurrentContextSlot), U8(4),
892 B(Mov), R(closure), R(14), 864 B(Mov), R(closure), R(14),
893 B(Mov), R(this), R(15), 865 B(Mov), R(this), R(15),
894 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(14 ), U8(2), 866 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(14 ), U8(2),
895 B(Star), R(2), 867 B(Star), R(2),
896 /* 11 E> */ B(StackCheck), 868 /* 11 E> */ B(StackCheck),
897 B(Star), R(10),
898 B(Mov), R(context), R(16),
899 B(LdaZero), 869 B(LdaZero),
900 B(Mov), R(2), R(18), 870 B(Mov), R(2), R(10),
901 B(Mov), R(2), R(17), 871 B(Mov), R(2), R(15),
902 /* 11 E> */ B(SuspendGenerator), R(17), R(0), U8(18), U8(0), 872 B(Mov), R(2), R(14),
903 B(Ldar), R(18), 873 /* 11 E> */ B(SuspendGenerator), R(14), R(0), U8(15), U8(0),
874 B(Ldar), R(15),
904 /* 49 S> */ B(Return), 875 /* 49 S> */ B(Return),
905 B(RestoreGeneratorRegisters), R(10), R(0), U8(18), 876 B(RestoreGeneratorRegisters), R(10), R(0), U8(15),
906 B(LdaSmi), I8(-2), 877 B(LdaSmi), I8(-2),
907 B(Star), R(11), 878 B(Star), R(11),
908 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(17), U8(1), 879 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(14), U8(1),
880 B(Star), R(15),
881 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(14) , U8(1),
882 B(Star), R(16),
883 B(LdaZero),
884 B(TestEqualStrictNoFeedback), R(16),
885 B(JumpIfTrue), U8(30),
886 B(LdaSmi), I8(2),
887 B(TestEqualStrictNoFeedback), R(16),
888 B(JumpIfTrue), U8(21),
889 B(LdaTrue),
909 B(Star), R(18), 890 B(Star), R(18),
910 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(17) , U8(1), 891 B(Mov), R(15), R(17),
892 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(17) , U8(2),
911 B(Star), R(19), 893 B(Star), R(19),
912 B(LdaZero), 894 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(10), U8(1),
913 B(TestEqualStrictNoFeedback), R(19), 895 B(Ldar), R(19),
914 B(JumpIfTrue), U8(28), 896 /* 49 S> */ B(Return),
915 B(LdaSmi), I8(2), 897 B(Ldar), R(15),
916 B(TestEqualStrictNoFeedback), R(19),
917 B(JumpIfTrue), U8(19),
918 B(LdaTrue),
919 B(Star), R(21),
920 B(Mov), R(18), R(20),
921 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(20) , U8(2),
922 B(Star), R(15),
923 B(LdaZero),
924 B(Star), R(14),
925 B(JumpConstant), U8(14),
926 B(Ldar), R(18),
927 /* 11 E> */ B(Throw), 898 /* 11 E> */ B(Throw),
928 B(LdaZero), 899 B(LdaZero),
929 B(Star), R(6), 900 B(Star), R(6),
930 B(Mov), R(context), R(19), 901 B(Mov), R(context), R(16),
931 B(Mov), R(context), R(20), 902 B(Mov), R(context), R(17),
932 /* 35 S> */ B(LdaImmutableCurrentContextSlot), U8(4), 903 /* 35 S> */ B(LdaImmutableCurrentContextSlot), U8(4),
933 B(Star), R(21), 904 B(Star), R(18),
934 B(LdaNamedProperty), R(21), U8(2), U8(3), 905 B(LdaNamedProperty), R(18), U8(2), U8(3),
935 B(Star), R(22), 906 B(Star), R(19),
936 B(CallProperty0), R(22), R(21), U8(5), 907 B(CallProperty0), R(19), R(18), U8(5),
937 B(JumpIfJSReceiver), U8(7), 908 B(JumpIfJSReceiver), U8(7),
938 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 909 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
939 B(Star), R(4), 910 B(Star), R(4),
940 B(Ldar), R(11), 911 B(Ldar), R(11),
941 B(SwitchOnSmiNoFeedback), U8(3), U8(1), I8(1), 912 B(SwitchOnSmiNoFeedback), U8(3), U8(1), I8(1),
942 B(LdaSmi), I8(-2), 913 B(LdaSmi), I8(-2),
943 /* 35 E> */ B(TestEqualStrictNoFeedback), R(11), 914 /* 35 E> */ B(TestEqualStrictNoFeedback), R(11),
944 B(JumpIfTrue), U8(11), 915 B(JumpIfTrue), U8(11),
945 B(LdaSmi), I8(79), 916 B(LdaSmi), I8(79),
946 B(Star), R(21), 917 B(Star), R(18),
947 B(CallRuntime), U16(Runtime::kAbort), R(21), U8(1), 918 B(CallRuntime), U16(Runtime::kAbort), R(18), U8(1),
948 /* 30 S> */ B(LdaNamedProperty), R(4), U8(4), U8(9), 919 /* 30 S> */ B(LdaNamedProperty), R(4), U8(4), U8(9),
949 B(Star), R(21), 920 B(Star), R(18),
950 B(CallProperty0), R(21), R(4), U8(7), 921 B(CallProperty0), R(18), R(4), U8(7),
951 B(Star), R(5), 922 B(Star), R(5),
952 /* 30 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1), 923 /* 30 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(5), U8(1),
953 B(ToBooleanLogicalNot), 924 B(ToBooleanLogicalNot),
954 B(JumpIfFalse), U8(7), 925 B(JumpIfFalse), U8(7),
955 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (5), U8(1), 926 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (5), U8(1),
956 B(LdaNamedProperty), R(5), U8(5), U8(11), 927 B(LdaNamedProperty), R(5), U8(5), U8(11),
957 B(JumpIfToBooleanTrue), U8(101), 928 B(JumpIfToBooleanTrue), U8(91),
958 B(LdaNamedProperty), R(5), U8(6), U8(13), 929 B(LdaNamedProperty), R(5), U8(6), U8(13),
959 B(Star), R(7), 930 B(Star), R(7),
960 B(LdaSmi), I8(2), 931 B(LdaSmi), I8(2),
961 B(Star), R(6), 932 B(Star), R(6),
962 B(Mov), R(7), R(3), 933 B(Mov), R(7), R(3),
963 /* 21 E> */ B(StackCheck), 934 /* 21 E> */ B(StackCheck),
964 B(Mov), R(3), R(0), 935 B(Mov), R(3), R(0),
965 /* 40 S> */ B(LdaFalse), 936 /* 40 S> */ B(LdaSmi), I8(1),
966 B(Star), R(23), 937 B(Mov), R(0), R(19),
967 B(Mov), R(3), R(22), 938 B(Mov), R(2), R(18),
968 /* 46 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(22) , U8(2), 939 /* 46 E> */ B(SuspendGenerator), R(18), R(0), U8(19), U8(0),
969 B(Star), R(22), 940 B(LdaFalse),
970 B(LdaSmi), I8(1), 941 B(Star), R(21),
971 B(Mov), R(2), R(21), 942 B(Mov), R(19), R(20),
972 B(SuspendGenerator), R(21), R(0), U8(22), U8(0), 943 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(20) , U8(2),
973 B(Ldar), R(22),
974 /* 49 S> */ B(Return), 944 /* 49 S> */ B(Return),
975 B(RestoreGeneratorRegisters), R(10), R(0), U8(22), 945 B(RestoreGeneratorRegisters), R(10), R(0), U8(19),
976 B(LdaSmi), I8(-2), 946 B(LdaSmi), I8(-2),
977 B(Star), R(11), 947 B(Star), R(11),
978 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(21), U8(1), 948 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(18), U8(1),
979 B(Star), R(22), 949 B(Star), R(19),
980 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(21) , U8(1), 950 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(18) , U8(1),
981 B(Star), R(23), 951 B(Star), R(20),
982 B(LdaZero), 952 B(LdaZero),
983 B(TestEqualStrictNoFeedback), R(23), 953 B(TestEqualStrictNoFeedback), R(20),
984 B(JumpIfTrue), U8(28), 954 B(JumpIfTrue), U8(19),
985 B(LdaSmi), I8(2), 955 B(LdaSmi), I8(2),
986 B(TestEqualStrictNoFeedback), R(23), 956 B(TestEqualStrictNoFeedback), R(20),
987 B(JumpIfTrue), U8(19), 957 B(JumpIfTrue), U8(10),
988 B(LdaTrue),
989 B(Star), R(25),
990 B(Mov), R(22), R(24),
991 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(24) , U8(2),
992 B(Star), R(18),
993 B(LdaZero), 958 B(LdaZero),
994 B(Star), R(17), 959 B(Star), R(14),
960 B(Mov), R(19), R(15),
995 B(Jump), U8(59), 961 B(Jump), U8(59),
996 B(Ldar), R(22), 962 B(Ldar), R(19),
997 /* 40 E> */ B(Throw), 963 /* 40 E> */ B(Throw),
998 B(LdaZero), 964 B(LdaZero),
999 B(Star), R(6), 965 B(Star), R(6),
1000 B(JumpLoop), U8(147), I8(0), 966 B(JumpLoop), U8(137), I8(0),
1001 B(Jump), U8(36), 967 B(Jump), U8(36),
1002 B(Star), R(21), 968 B(Star), R(18),
1003 B(Ldar), R(closure), 969 B(Ldar), R(closure),
1004 B(CreateCatchContext), R(21), U8(7), U8(8), 970 B(CreateCatchContext), R(18), U8(7), U8(8),
1005 B(PushContext), R(21), 971 B(PushContext), R(18),
1006 B(Star), R(20), 972 B(Star), R(17),
1007 B(LdaSmi), I8(2), 973 B(LdaSmi), I8(2),
1008 B(TestEqualStrict), R(6), U8(15), 974 B(TestEqualStrict), R(6), U8(15),
1009 B(JumpIfFalse), U8(6), 975 B(JumpIfFalse), U8(6),
1010 B(LdaSmi), I8(1), 976 B(LdaSmi), I8(1),
1011 B(Star), R(6), 977 B(Star), R(6),
1012 B(LdaImmutableCurrentContextSlot), U8(4), 978 B(LdaImmutableCurrentContextSlot), U8(4),
1013 B(Star), R(22), 979 B(Star), R(19),
1014 B(CallRuntime), U16(Runtime::kReThrow), R(22), U8(1), 980 B(CallRuntime), U16(Runtime::kReThrow), R(19), U8(1),
1015 B(PopContext), R(21), 981 B(PopContext), R(18),
1016 B(LdaSmi), I8(-1), 982 B(LdaSmi), I8(-1),
1017 B(Star), R(17), 983 B(Star), R(14),
1018 B(Jump), U8(8), 984 B(Jump), U8(8),
1019 B(Star), R(18), 985 B(Star), R(15),
1020 B(LdaSmi), I8(1), 986 B(LdaSmi), I8(1),
1021 B(Star), R(17), 987 B(Star), R(14),
1022 B(LdaTheHole), 988 B(LdaTheHole),
1023 B(SetPendingMessage), 989 B(SetPendingMessage),
1024 B(Star), R(19), 990 B(Star), R(16),
1025 B(LdaZero), 991 B(LdaZero),
1026 B(TestEqualStrict), R(6), U8(16), 992 B(TestEqualStrict), R(6), U8(16),
1027 B(JumpIfTrue), U8(104), 993 B(JumpIfTrue), U8(104),
1028 B(LdaNamedProperty), R(4), U8(9), U8(17), 994 B(LdaNamedProperty), R(4), U8(9), U8(17),
1029 B(Star), R(8), 995 B(Star), R(8),
1030 B(TestUndetectable), 996 B(TestUndetectable),
1031 B(JumpIfFalse), U8(4), 997 B(JumpIfFalse), U8(4),
1032 B(Jump), U8(93), 998 B(Jump), U8(93),
1033 B(LdaSmi), I8(1), 999 B(LdaSmi), I8(1),
1034 B(TestEqualStrict), R(6), U8(20), 1000 B(TestEqualStrict), R(6), U8(20),
1035 B(JumpIfFalse), U8(61), 1001 B(JumpIfFalse), U8(61),
1036 B(Ldar), R(8), 1002 B(Ldar), R(8),
1037 B(TestTypeOf), U8(5), 1003 B(TestTypeOf), U8(5),
1038 B(JumpIfFalse), U8(4), 1004 B(JumpIfFalse), U8(4),
1039 B(Jump), U8(18), 1005 B(Jump), U8(18),
1040 B(Wide), B(LdaSmi), I16(130), 1006 B(Wide), B(LdaSmi), I16(130),
1041 B(Star), R(20), 1007 B(Star), R(17),
1042 B(LdaConstant), U8(10), 1008 B(LdaConstant), U8(10),
1043 B(Star), R(21), 1009 B(Star), R(18),
1044 B(CallRuntime), U16(Runtime::kNewTypeError), R(20), U8(2), 1010 B(CallRuntime), U16(Runtime::kNewTypeError), R(17), U8(2),
1045 B(Throw), 1011 B(Throw),
1046 B(Mov), R(context), R(20), 1012 B(Mov), R(context), R(17),
1047 B(Mov), R(8), R(21), 1013 B(Mov), R(8), R(18),
1048 B(Mov), R(4), R(22), 1014 B(Mov), R(4), R(19),
1049 B(InvokeIntrinsic), U8(Runtime::k_Call), R(21), U8(2), 1015 B(InvokeIntrinsic), U8(Runtime::k_Call), R(18), U8(2),
1050 B(Jump), U8(20), 1016 B(Jump), U8(20),
1051 B(Star), R(21), 1017 B(Star), R(18),
1052 B(Ldar), R(closure), 1018 B(Ldar), R(closure),
1053 B(CreateCatchContext), R(21), U8(7), U8(11), 1019 B(CreateCatchContext), R(18), U8(7), U8(11),
1054 B(Star), R(20), 1020 B(Star), R(17),
1055 B(LdaTheHole), 1021 B(LdaTheHole),
1056 B(SetPendingMessage), 1022 B(SetPendingMessage),
1057 B(Ldar), R(20), 1023 B(Ldar), R(17),
1058 B(PushContext), R(21), 1024 B(PushContext), R(18),
1059 B(PopContext), R(21), 1025 B(PopContext), R(18),
1060 B(Jump), U8(27), 1026 B(Jump), U8(27),
1061 B(Mov), R(8), R(20), 1027 B(Mov), R(8), R(17),
1062 B(Mov), R(4), R(21), 1028 B(Mov), R(4), R(18),
1063 B(InvokeIntrinsic), U8(Runtime::k_Call), R(20), U8(2), 1029 B(InvokeIntrinsic), U8(Runtime::k_Call), R(17), U8(2),
1064 B(Star), R(9), 1030 B(Star), R(9),
1065 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(9), U8(1), 1031 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(9), U8(1),
1066 B(JumpIfToBooleanFalse), U8(4), 1032 B(JumpIfToBooleanFalse), U8(4),
1067 B(Jump), U8(7), 1033 B(Jump), U8(7),
1068 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (9), U8(1), 1034 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (9), U8(1),
1069 B(Ldar), R(19),
1070 B(SetPendingMessage),
1071 B(Ldar), R(17),
1072 B(SwitchOnSmiNoFeedback), U8(12), U8(2), I8(0),
1073 B(Jump), U8(19),
1074 B(LdaZero),
1075 B(Star), R(14),
1076 B(Mov), R(18), R(15),
1077 B(Jump), U8(40),
1078 B(LdaSmi), I8(1),
1079 B(Star), R(14),
1080 B(Mov), R(18), R(15),
1081 B(Jump), U8(31),
1082 B(LdaUndefined),
1083 B(Star), R(17),
1084 B(LdaTrue),
1085 B(Star), R(18),
1086 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(17) , U8(2),
1087 B(Star), R(15),
1088 B(LdaZero),
1089 B(Star), R(14),
1090 B(Jump), U8(14),
1091 B(LdaSmi), I8(-1),
1092 B(Star), R(14),
1093 B(Jump), U8(8),
1094 B(Star), R(15),
1095 B(LdaSmi), I8(1),
1096 B(Star), R(14),
1097 B(LdaTheHole),
1098 B(SetPendingMessage),
1099 B(Star), R(16),
1100 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(2), U8(1),
1101 B(Ldar), R(16), 1035 B(Ldar), R(16),
1102 B(SetPendingMessage), 1036 B(SetPendingMessage),
1103 B(Ldar), R(14), 1037 B(Ldar), R(14),
1104 B(SwitchOnSmiNoFeedback), U8(15), U8(2), I8(0), 1038 B(SwitchOnSmiNoFeedback), U8(12), U8(2), I8(0),
1105 B(Jump), U8(8), 1039 B(Jump), U8(24),
1106 B(Ldar), R(15), 1040 B(LdaTrue),
1041 B(Star), R(18),
1042 B(Mov), R(15), R(17),
1043 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(17) , U8(2),
1044 B(Star), R(19),
1045 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(10), U8(1),
1046 B(Ldar), R(19),
1107 /* 49 S> */ B(Return), 1047 /* 49 S> */ B(Return),
1108 B(Ldar), R(15), 1048 B(Ldar), R(15),
1109 B(ReThrow), 1049 B(ReThrow),
1110 B(LdaUndefined), 1050 B(LdaUndefined),
1051 B(Star), R(14),
1052 B(LdaTrue),
1053 B(Star), R(15),
1054 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(14) , U8(2),
1055 B(Star), R(16),
1056 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(10), U8(1),
1057 B(Ldar), R(16),
1111 /* 49 S> */ B(Return), 1058 /* 49 S> */ B(Return),
1112 ] 1059 ]
1113 constant pool: [ 1060 constant pool: [
1114 Smi [58], 1061 Smi [56],
1115 Smi [141], 1062 Smi [141],
1116 SYMBOL_TYPE, 1063 SYMBOL_TYPE,
1117 Smi [91], 1064 Smi [90],
1118 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 1065 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
1119 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 1066 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
1120 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 1067 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
1121 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1068 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1122 FIXED_ARRAY_TYPE, 1069 FIXED_ARRAY_TYPE,
1123 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 1070 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
1124 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 1071 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
1125 FIXED_ARRAY_TYPE, 1072 FIXED_ARRAY_TYPE,
1126 Smi [6], 1073 Smi [6],
1127 Smi [14], 1074 Smi [25],
1128 Smi [404],
1129 Smi [6],
1130 Smi [9],
1131 ] 1075 ]
1132 handlers: [ 1076 handlers: [
1133 [60, 513, 519], 1077 [132, 334, 340],
1134 [132, 344, 350], 1078 [135, 298, 300],
1135 [135, 308, 310], 1079 [401, 411, 413],
1136 [411, 421, 423],
1137 ] 1080 ]
1138 1081
1139 --- 1082 ---
1140 snippet: " 1083 snippet: "
1141 async function f(arr) { 1084 async function f(arr) {
1142 for (let x of arr) { let y = x; } 1085 for (let x of arr) { let y = x; }
1143 } 1086 }
1144 f([1, 2, 3]); 1087 f([1, 2, 3]);
1145 " 1088 "
1146 frame size: 23 1089 frame size: 23
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 1293
1351 --- 1294 ---
1352 snippet: " 1295 snippet: "
1353 async function f(arr) { 1296 async function f(arr) {
1354 for (let x of arr) await x; 1297 for (let x of arr) await x;
1355 } 1298 }
1356 f([1, 2, 3]); 1299 f([1, 2, 3]);
1357 " 1300 "
1358 frame size: 28 1301 frame size: 28
1359 parameter count: 2 1302 parameter count: 2
1360 bytecode array length: 558 1303 bytecode array length: 549
1361 bytecodes: [ 1304 bytecodes: [
1362 B(Mov), R(new_target), R(11), 1305 B(Mov), R(new_target), R(11),
1363 B(Ldar), R(new_target), 1306 B(Ldar), R(new_target),
1364 B(JumpIfUndefined), U8(25), 1307 B(JumpIfUndefined), U8(25),
1365 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(11), U 8(1), 1308 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(11), U 8(1),
1366 B(PushContext), R(13), 1309 B(PushContext), R(13),
1367 B(RestoreGeneratorState), R(11), 1310 B(RestoreGeneratorState), R(11),
1368 B(Star), R(12), 1311 B(Star), R(12),
1369 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), 1312 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0),
1370 B(LdaSmi), I8(79), 1313 B(LdaSmi), I8(79),
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
1410 B(CallRuntime), U16(Runtime::kAbort), R(23), U8(1), 1353 B(CallRuntime), U16(Runtime::kAbort), R(23), U8(1),
1411 /* 35 S> */ B(LdaNamedProperty), R(5), U8(3), U8(9), 1354 /* 35 S> */ B(LdaNamedProperty), R(5), U8(3), U8(9),
1412 B(Star), R(23), 1355 B(Star), R(23),
1413 B(CallProperty0), R(23), R(5), U8(7), 1356 B(CallProperty0), R(23), R(5), U8(7),
1414 B(Star), R(6), 1357 B(Star), R(6),
1415 /* 35 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1), 1358 /* 35 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1),
1416 B(ToBooleanLogicalNot), 1359 B(ToBooleanLogicalNot),
1417 B(JumpIfFalse), U8(7), 1360 B(JumpIfFalse), U8(7),
1418 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (6), U8(1), 1361 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (6), U8(1),
1419 B(LdaNamedProperty), R(6), U8(4), U8(11), 1362 B(LdaNamedProperty), R(6), U8(4), U8(11),
1420 B(JumpIfToBooleanTrue), U8(107), 1363 B(JumpIfToBooleanTrue), U8(98),
1421 B(LdaNamedProperty), R(6), U8(5), U8(13), 1364 B(LdaNamedProperty), R(6), U8(5), U8(13),
1422 B(Star), R(8), 1365 B(Star), R(8),
1423 B(LdaSmi), I8(2), 1366 B(LdaSmi), I8(2),
1424 B(Star), R(7), 1367 B(Star), R(7),
1425 B(Mov), R(8), R(4), 1368 B(Mov), R(8), R(4),
1426 /* 26 E> */ B(StackCheck), 1369 /* 26 E> */ B(StackCheck),
1427 B(Mov), R(4), R(0), 1370 B(Mov), R(4), R(0),
1428 /* 45 S> */ B(LdaUndefined), 1371 /* 45 S> */ B(LdaUndefined),
1429 B(Star), R(24), 1372 B(Star), R(24),
1430 B(Mov), R(2), R(25), 1373 B(Mov), R(2), R(25),
1431 B(Mov), R(4), R(26), 1374 B(Mov), R(4), R(26),
1432 B(Mov), R(3), R(27), 1375 B(Mov), R(3), R(27),
1433 /* 51 E> */ B(CallJSRuntime), U8(%async_function_await_uncaught), R(24), U8( 4), 1376 /* 51 E> */ B(CallJSRuntime), U8(%async_function_await_uncaught), R(24), U8( 4),
1434 B(LdaZero), 1377 B(LdaZero),
1435 B(Mov), R(2), R(23), 1378 B(Mov), R(2), R(23),
1436 B(Mov), R(3), R(24), 1379 B(Mov), R(3), R(24),
1437 B(SuspendGenerator), R(23), R(0), U8(24), U8(2), 1380 B(SuspendGenerator), R(23), R(0), U8(24), U8(2),
1438 B(Ldar), R(24), 1381 B(Ldar), R(24),
1439 /* 54 S> */ B(Return), 1382 /* 54 S> */ B(Return),
1440 B(RestoreGeneratorRegisters), R(11), R(0), U8(24), 1383 B(RestoreGeneratorRegisters), R(11), R(0), U8(24),
1441 B(LdaSmi), I8(-2), 1384 B(LdaSmi), I8(-2),
1442 B(Star), R(12), 1385 B(Star), R(12),
1443 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(23), U8(1), 1386 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos), R(23), U8(1),
1444 B(Star), R(24), 1387 B(Star), R(24),
1445 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(23) , U8(1), 1388 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(23) , U8(1),
1446 B(Star), R(25), 1389 B(Star), R(25),
1447 B(LdaZero), 1390 B(LdaZero),
1448 B(TestEqualStrictNoFeedback), R(25), 1391 B(TestEqualStrictNoFeedback), R(25),
1449 B(JumpIfTrue), U8(28), 1392 B(JumpIfTrue), U8(19),
1450 B(LdaSmi), I8(2), 1393 B(LdaSmi), I8(2),
1451 B(TestEqualStrictNoFeedback), R(25), 1394 B(TestEqualStrictNoFeedback), R(25),
1452 B(JumpIfTrue), U8(19), 1395 B(JumpIfTrue), U8(10),
1453 B(LdaTrue),
1454 B(Star), R(27),
1455 B(Mov), R(24), R(26),
1456 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(26) , U8(2),
1457 B(Star), R(20),
1458 B(LdaZero), 1396 B(LdaZero),
1459 B(Star), R(19), 1397 B(Star), R(19),
1398 B(Mov), R(24), R(20),
1460 B(Jump), U8(63), 1399 B(Jump), U8(63),
1461 B(Ldar), R(24), 1400 B(Ldar), R(24),
1462 /* 45 E> */ B(ReThrow), 1401 /* 45 E> */ B(ReThrow),
1463 B(LdaZero), 1402 B(LdaZero),
1464 B(Star), R(7), 1403 B(Star), R(7),
1465 B(JumpLoop), U8(153), I8(0), 1404 B(JumpLoop), U8(144), I8(0),
1466 B(Jump), U8(40), 1405 B(Jump), U8(40),
1467 B(Star), R(23), 1406 B(Star), R(23),
1468 B(Ldar), R(closure), 1407 B(Ldar), R(closure),
1469 B(CreateCatchContext), R(23), U8(6), U8(7), 1408 B(CreateCatchContext), R(23), U8(6), U8(7),
1470 B(Star), R(22), 1409 B(Star), R(22),
1471 B(LdaTheHole), 1410 B(LdaTheHole),
1472 B(SetPendingMessage), 1411 B(SetPendingMessage),
1473 B(Ldar), R(22), 1412 B(Ldar), R(22),
1474 B(PushContext), R(23), 1413 B(PushContext), R(23),
1475 B(LdaSmi), I8(2), 1414 B(LdaSmi), I8(2),
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
1614 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 1553 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
1615 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 1554 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
1616 FIXED_ARRAY_TYPE, 1555 FIXED_ARRAY_TYPE,
1617 Smi [6], 1556 Smi [6],
1618 Smi [14], 1557 Smi [14],
1619 FIXED_ARRAY_TYPE, 1558 FIXED_ARRAY_TYPE,
1620 Smi [6], 1559 Smi [6],
1621 Smi [9], 1560 Smi [9],
1622 ] 1561 ]
1623 handlers: [ 1562 handlers: [
1624 [70, 513, 519], 1563 [70, 504, 510],
1625 [73, 468, 470], 1564 [73, 459, 461],
1626 [79, 301, 307], 1565 [79, 292, 298],
1627 [82, 261, 263], 1566 [82, 252, 254],
1628 [368, 378, 380], 1567 [359, 369, 371],
1629 ] 1568 ]
1630 1569
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698