OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 pool type: mixed | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 { | 786 { |
787 let z = 1; | 787 let z = 1; |
788 function f() { z = 2; } | 788 function f() { z = 2; } |
789 if (z) continue; | 789 if (z) continue; |
790 z++; | 790 z++; |
791 } | 791 } |
792 } | 792 } |
793 " | 793 " |
794 frame size: 7 | 794 frame size: 7 |
795 parameter count: 1 | 795 parameter count: 1 |
796 bytecode array length: 118 | 796 bytecode array length: 120 |
797 bytecodes: [ | 797 bytecodes: [ |
798 B(StackCheck), | 798 B(StackCheck), |
799 B(LdaZero), | 799 B(LdaZero), |
800 B(Star), R(1), | 800 B(Star), R(1), |
801 B(Ldar), R(1), | 801 B(Ldar), R(1), |
802 B(JumpIfToBooleanFalse), U8(110), | 802 B(JumpIfToBooleanFalse), U8(112), |
803 B(StackCheck), | 803 B(StackCheck), |
804 B(LdaConstant), U8(0), | 804 B(LdaConstant), U8(0), |
805 B(Star), R(4), | 805 B(Star), R(4), |
806 B(Ldar), R(closure), | 806 B(Ldar), R(closure), |
807 B(Star), R(5), | 807 B(Star), R(5), |
808 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), | 808 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), |
809 B(PushContext), R(3), | 809 B(PushContext), R(3), |
810 B(LdaTheHole), | 810 B(LdaTheHole), |
811 B(StaContextSlot), R(context), U8(4), | 811 B(StaContextSlot), R(context), U8(4), |
812 B(CreateClosure), U8(1), U8(0), | 812 B(CreateClosure), U8(1), U8(0), |
813 B(Star), R(0), | 813 B(Star), R(0), |
814 B(LdaSmi8), U8(1), | 814 B(LdaSmi8), U8(1), |
815 B(StaContextSlot), R(context), U8(4), | 815 B(StaContextSlot), R(context), U8(4), |
816 B(Ldar), R(0), | 816 B(Ldar), R(0), |
817 B(JumpIfNotHole), U8(11), | 817 B(JumpIfNotHole), U8(11), |
818 B(LdaConstant), U8(2), | 818 B(LdaConstant), U8(2), |
819 B(Star), R(4), | 819 B(Star), R(4), |
820 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 820 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
821 B(Star), R(2), | 821 B(Star), R(2), |
822 B(LdaContextSlot), R(context), U8(4), | 822 B(LdaContextSlot), R(context), U8(4), |
823 B(JumpIfNotHole), U8(11), | 823 B(JumpIfNotHole), U8(11), |
824 B(LdaConstant), U8(3), | 824 B(LdaConstant), U8(3), |
825 B(Star), R(4), | 825 B(Star), R(4), |
826 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 826 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
827 B(JumpIfToBooleanFalse), U8(6), | 827 B(JumpIfToBooleanFalse), U8(8), |
828 B(PopContext), R(3), | 828 B(PopContext), R(3), |
829 B(Jump), U8(-67), | 829 B(PopContext), R(3), |
| 830 B(Jump), U8(-69), |
830 B(LdaContextSlot), R(context), U8(4), | 831 B(LdaContextSlot), R(context), U8(4), |
831 B(JumpIfNotHole), U8(11), | 832 B(JumpIfNotHole), U8(11), |
832 B(LdaConstant), U8(3), | 833 B(LdaConstant), U8(3), |
833 B(Star), R(4), | 834 B(Star), R(4), |
834 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 835 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
835 B(ToNumber), | 836 B(ToNumber), |
836 B(Star), R(4), | 837 B(Star), R(4), |
837 B(Inc), | 838 B(Inc), |
838 B(Star), R(5), | 839 B(Star), R(5), |
839 B(LdaContextSlot), R(context), U8(4), | 840 B(LdaContextSlot), R(context), U8(4), |
840 B(JumpIfNotHole), U8(11), | 841 B(JumpIfNotHole), U8(11), |
841 B(LdaConstant), U8(3), | 842 B(LdaConstant), U8(3), |
842 B(Star), R(6), | 843 B(Star), R(6), |
843 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), | 844 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), |
844 B(Ldar), R(5), | 845 B(Ldar), R(5), |
845 B(StaContextSlot), R(context), U8(4), | 846 B(StaContextSlot), R(context), U8(4), |
846 B(PopContext), R(3), | 847 B(PopContext), R(3), |
847 B(Jump), U8(-110), | 848 B(Jump), U8(-112), |
848 B(LdaUndefined), | 849 B(LdaUndefined), |
849 B(Return), | 850 B(Return), |
850 ] | 851 ] |
851 constant pool: [ | 852 constant pool: [ |
852 InstanceType::FIXED_ARRAY_TYPE, | 853 InstanceType::FIXED_ARRAY_TYPE, |
853 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 854 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
854 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 855 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
855 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 856 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
856 ] | 857 ] |
857 handlers: [ | 858 handlers: [ |
858 ] | 859 ] |
859 | 860 |
OLD | NEW |