| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 /* 32 S> */ B(LdaUndefined), | 219 /* 32 S> */ B(LdaUndefined), |
| 220 B(Star), R(5), | 220 B(Star), R(5), |
| 221 /* 32 E> */ B(LdaModuleVariable), I8(-1), U8(0), | 221 /* 32 E> */ B(LdaModuleVariable), I8(-1), U8(0), |
| 222 B(JumpIfNotHole), U8(11), | 222 B(JumpIfNotHole), U8(11), |
| 223 B(LdaConstant), U8(1), | 223 B(LdaConstant), U8(1), |
| 224 B(Star), R(6), | 224 B(Star), R(6), |
| 225 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), | 225 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), |
| 226 B(Star), R(4), | 226 B(Star), R(4), |
| 227 B(LdaSmi), I8(42), | 227 B(LdaSmi), I8(42), |
| 228 B(Star), R(6), | 228 B(Star), R(6), |
| 229 /* 32 E> */ B(Call1), R(4), R(5), R(6), U8(2), | 229 /* 32 E> */ B(Call), R(4), R(5), U8(2), U8(2), |
| 230 B(Ldar), R(closure), | 230 B(Ldar), R(closure), |
| 231 B(CreateBlockContext), U8(2), | 231 B(CreateBlockContext), U8(2), |
| 232 B(PushContext), R(1), | 232 B(PushContext), R(1), |
| 233 B(LdaTheHole), | 233 B(LdaTheHole), |
| 234 B(StaCurrentContextSlot), U8(4), | 234 B(StaCurrentContextSlot), U8(4), |
| 235 /* 47 S> */ B(LdaUndefined), | 235 /* 47 S> */ B(LdaUndefined), |
| 236 /* 47 E> */ B(StaCurrentContextSlot), U8(4), | 236 /* 47 E> */ B(StaCurrentContextSlot), U8(4), |
| 237 /* 52 S> */ B(LdaUndefined), | 237 /* 52 S> */ B(LdaUndefined), |
| 238 B(Star), R(5), | 238 B(Star), R(5), |
| 239 /* 52 E> */ B(LdaModuleVariable), I8(-1), U8(1), | 239 /* 52 E> */ B(LdaModuleVariable), I8(-1), U8(1), |
| 240 B(JumpIfNotHole), U8(11), | 240 B(JumpIfNotHole), U8(11), |
| 241 B(LdaConstant), U8(1), | 241 B(LdaConstant), U8(1), |
| 242 B(Star), R(6), | 242 B(Star), R(6), |
| 243 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), | 243 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), |
| 244 B(Star), R(4), | 244 B(Star), R(4), |
| 245 B(LdaSmi), I8(42), | 245 B(LdaSmi), I8(42), |
| 246 B(Star), R(6), | 246 B(Star), R(6), |
| 247 /* 52 E> */ B(Call1), R(4), R(5), R(6), U8(4), | 247 /* 52 E> */ B(Call), R(4), R(5), U8(2), U8(4), |
| 248 B(PopContext), R(1), | 248 B(PopContext), R(1), |
| 249 B(LdaUndefined), | 249 B(LdaUndefined), |
| 250 /* 64 S> */ B(Return), | 250 /* 64 S> */ B(Return), |
| 251 ] | 251 ] |
| 252 constant pool: [ | 252 constant pool: [ |
| 253 FIXED_ARRAY_TYPE, | 253 FIXED_ARRAY_TYPE, |
| 254 ONE_BYTE_INTERNALIZED_STRING_TYPE ["goo"], | 254 ONE_BYTE_INTERNALIZED_STRING_TYPE ["goo"], |
| 255 FIXED_ARRAY_TYPE, | 255 FIXED_ARRAY_TYPE, |
| 256 ] | 256 ] |
| 257 handlers: [ | 257 handlers: [ |
| (...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 handlers: [ | 846 handlers: [ |
| 847 ] | 847 ] |
| 848 | 848 |
| 849 --- | 849 --- |
| 850 snippet: " | 850 snippet: " |
| 851 import * as foo from \"bar\" | 851 import * as foo from \"bar\" |
| 852 foo.f(foo, foo.x); | 852 foo.f(foo, foo.x); |
| 853 " | 853 " |
| 854 frame size: 9 | 854 frame size: 9 |
| 855 parameter count: 2 | 855 parameter count: 2 |
| 856 bytecode array length: 171 | 856 bytecode array length: 170 |
| 857 bytecodes: [ | 857 bytecodes: [ |
| 858 B(Ldar), R(new_target), | 858 B(Ldar), R(new_target), |
| 859 B(JumpIfUndefined), U8(28), | 859 B(JumpIfUndefined), U8(28), |
| 860 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 860 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 861 B(PushContext), R(2), | 861 B(PushContext), R(2), |
| 862 B(ResumeGenerator), R(new_target), | 862 B(ResumeGenerator), R(new_target), |
| 863 B(Star), R(1), | 863 B(Star), R(1), |
| 864 B(LdaZero), | 864 B(LdaZero), |
| 865 B(TestEqualStrict), R(1), U8(0), | 865 B(TestEqualStrict), R(1), U8(0), |
| 866 B(JumpIfTrue), U8(73), | 866 B(JumpIfTrue), U8(73), |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 /* 27 S> */ B(LdaImmutableCurrentContextSlot), U8(6), | 917 /* 27 S> */ B(LdaImmutableCurrentContextSlot), U8(6), |
| 918 B(Star), R(4), | 918 B(Star), R(4), |
| 919 /* 30 E> */ B(LdaNamedProperty), R(4), U8(1), U8(4), | 919 /* 30 E> */ B(LdaNamedProperty), R(4), U8(1), U8(4), |
| 920 B(Star), R(3), | 920 B(Star), R(3), |
| 921 B(LdaImmutableCurrentContextSlot), U8(6), | 921 B(LdaImmutableCurrentContextSlot), U8(6), |
| 922 B(Star), R(5), | 922 B(Star), R(5), |
| 923 B(LdaImmutableCurrentContextSlot), U8(6), | 923 B(LdaImmutableCurrentContextSlot), U8(6), |
| 924 B(Star), R(6), | 924 B(Star), R(6), |
| 925 /* 41 E> */ B(LdaNamedProperty), R(6), U8(2), U8(6), | 925 /* 41 E> */ B(LdaNamedProperty), R(6), U8(2), U8(6), |
| 926 B(Star), R(6), | 926 B(Star), R(6), |
| 927 /* 31 E> */ B(CallProperty2), R(3), R(4), R(5), R(6), U8(2), | 927 /* 31 E> */ B(CallProperty), R(3), R(4), U8(3), U8(2), |
| 928 B(LdaUndefined), | 928 B(LdaUndefined), |
| 929 /* 45 S> */ B(Return), | 929 /* 45 S> */ B(Return), |
| 930 ] | 930 ] |
| 931 constant pool: [ | 931 constant pool: [ |
| 932 FIXED_ARRAY_TYPE, | 932 FIXED_ARRAY_TYPE, |
| 933 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], | 933 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], |
| 934 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 934 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 935 ] | 935 ] |
| 936 handlers: [ | 936 handlers: [ |
| 937 ] | 937 ] |
| 938 | 938 |
| OLD | NEW |