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 module: yes | 7 module: yes |
8 top level: yes | 8 top level: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 /* 0 E> */ B(Throw), | 871 /* 0 E> */ B(Throw), |
872 B(LdaUndefined), | 872 B(LdaUndefined), |
873 /* 19 S> */ B(Return), | 873 /* 19 S> */ B(Return), |
874 ] | 874 ] |
875 constant pool: [ | 875 constant pool: [ |
876 FIXED_ARRAY_TYPE, | 876 FIXED_ARRAY_TYPE, |
877 ] | 877 ] |
878 handlers: [ | 878 handlers: [ |
879 ] | 879 ] |
880 | 880 |
| 881 --- |
| 882 snippet: " |
| 883 import * as foo from \"bar\" |
| 884 foo.f(foo, foo.x); |
| 885 " |
| 886 frame size: 8 |
| 887 parameter count: 2 |
| 888 bytecode array length: 159 |
| 889 bytecodes: [ |
| 890 B(Ldar), R(new_target), |
| 891 B(JumpIfUndefined), U8(21), |
| 892 B(ResumeGenerator), R(new_target), |
| 893 B(Star), R(1), |
| 894 B(LdaZero), |
| 895 B(TestEqualStrict), R(1), U8(0), |
| 896 B(JumpIfTrue), U8(73), |
| 897 B(LdaSmi), U8(76), |
| 898 B(Star), R(2), |
| 899 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 900 B(LdaSmi), U8(-2), |
| 901 B(Star), R(1), |
| 902 B(LdaConstant), U8(0), |
| 903 B(Star), R(4), |
| 904 B(Mov), R(arg0), R(2), |
| 905 B(Mov), R(closure), R(3), |
| 906 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
| 907 B(PushContext), R(0), |
| 908 B(Ldar), R(this), |
| 909 B(StaCurrentContextSlot), U8(4), |
| 910 B(LdaZero), |
| 911 B(Star), R(2), |
| 912 B(CallRuntime), U16(Runtime::kGetModuleNamespace), R(2), U8(1), |
| 913 B(StaCurrentContextSlot), U8(6), |
| 914 /* 0 E> */ B(StackCheck), |
| 915 /* 0 E> */ B(LdrCurrentContextSlot), U8(4), R(3), |
| 916 B(Ldar), R(3), |
| 917 B(Mov), R(closure), R(2), |
| 918 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(2), U8
(2), |
| 919 B(StaCurrentContextSlot), U8(5), |
| 920 B(Star), R(2), |
| 921 B(LdrCurrentContextSlot), U8(5), R(3), |
| 922 B(LdaZero), |
| 923 B(SuspendGenerator), R(3), |
| 924 B(Ldar), R(2), |
| 925 /* 45 S> */ B(Return), |
| 926 B(LdaSmi), U8(-2), |
| 927 B(Star), R(1), |
| 928 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(3
), U8(1), |
| 929 B(Star), R(4), |
| 930 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(3), U8
(1), |
| 931 B(Star), R(5), |
| 932 B(LdaZero), |
| 933 B(TestEqualStrict), R(5), U8(0), |
| 934 B(JumpIfTrue), U8(26), |
| 935 B(LdaSmi), U8(2), |
| 936 B(TestEqualStrict), R(5), U8(0), |
| 937 B(JumpIfTrue), U8(16), |
| 938 B(Jump), U8(2), |
| 939 B(LdaTrue), |
| 940 B(Star), R(7), |
| 941 B(Mov), R(4), R(6), |
| 942 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8
(2), |
| 943 /* 45 S> */ B(Return), |
| 944 B(Ldar), R(4), |
| 945 /* 0 E> */ B(Throw), |
| 946 /* 27 S> */ B(LdrCurrentContextSlot), U8(6), R(3), |
| 947 /* 30 E> */ B(LdrNamedProperty), R(3), U8(1), U8(4), R(2), |
| 948 /* 33 E> */ B(LdrCurrentContextSlot), U8(6), R(4), |
| 949 /* 38 E> */ B(LdrCurrentContextSlot), U8(6), R(6), |
| 950 /* 41 E> */ B(LdrNamedProperty), R(6), U8(2), U8(6), R(5), |
| 951 /* 31 E> */ B(CallProperty), R(2), R(3), U8(3), U8(2), |
| 952 B(LdaUndefined), |
| 953 /* 45 S> */ B(Return), |
| 954 ] |
| 955 constant pool: [ |
| 956 FIXED_ARRAY_TYPE, |
| 957 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], |
| 958 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 959 ] |
| 960 handlers: [ |
| 961 ] |
| 962 |
OLD | NEW |