| 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 --- |
| 11 snippet: " | 11 snippet: " |
| 12 import \"bar\"; | 12 import \"bar\"; |
| 13 " | 13 " |
| 14 frame size: 8 | 14 frame size: 8 |
| 15 parameter count: 2 | 15 parameter count: 2 |
| 16 bytecode array length: 133 | 16 bytecode array length: 133 |
| 17 bytecodes: [ | 17 bytecodes: [ |
| 18 B(Ldar), R(new_target), | 18 B(Ldar), R(new_target), |
| 19 B(JumpIfUndefined), U8(21), | 19 B(JumpIfUndefined), U8(21), |
| 20 B(ResumeGenerator), R(new_target), | 20 B(ResumeGenerator), R(new_target), |
| 21 B(Star), R(1), | 21 B(Star), R(1), |
| 22 B(LdaZero), | 22 B(LdaZero), |
| 23 B(TestEqualStrict), R(1), U8(0), | 23 B(TestEqualStrict), R(1), U8(0), |
| 24 B(JumpIfTrue), U8(71), | 24 B(JumpIfTrue), U8(71), |
| 25 B(LdaSmi), U8(76), | 25 B(LdaSmi), U8(77), |
| 26 B(Star), R(2), | 26 B(Star), R(2), |
| 27 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 27 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 28 B(LdaSmi), U8(-2), | 28 B(LdaSmi), U8(-2), |
| 29 B(Star), R(1), | 29 B(Star), R(1), |
| 30 B(LdaConstant), U8(0), | 30 B(LdaConstant), U8(0), |
| 31 B(Star), R(4), | 31 B(Star), R(4), |
| 32 B(Mov), R(arg0), R(2), | 32 B(Mov), R(arg0), R(2), |
| 33 B(Mov), R(closure), R(3), | 33 B(Mov), R(closure), R(3), |
| 34 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 34 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
| 35 B(PushContext), R(0), | 35 B(PushContext), R(0), |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 parameter count: 2 | 84 parameter count: 2 |
| 85 bytecode array length: 133 | 85 bytecode array length: 133 |
| 86 bytecodes: [ | 86 bytecodes: [ |
| 87 B(Ldar), R(new_target), | 87 B(Ldar), R(new_target), |
| 88 B(JumpIfUndefined), U8(21), | 88 B(JumpIfUndefined), U8(21), |
| 89 B(ResumeGenerator), R(new_target), | 89 B(ResumeGenerator), R(new_target), |
| 90 B(Star), R(1), | 90 B(Star), R(1), |
| 91 B(LdaZero), | 91 B(LdaZero), |
| 92 B(TestEqualStrict), R(1), U8(0), | 92 B(TestEqualStrict), R(1), U8(0), |
| 93 B(JumpIfTrue), U8(71), | 93 B(JumpIfTrue), U8(71), |
| 94 B(LdaSmi), U8(76), | 94 B(LdaSmi), U8(77), |
| 95 B(Star), R(2), | 95 B(Star), R(2), |
| 96 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 96 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 97 B(LdaSmi), U8(-2), | 97 B(LdaSmi), U8(-2), |
| 98 B(Star), R(1), | 98 B(Star), R(1), |
| 99 B(LdaConstant), U8(0), | 99 B(LdaConstant), U8(0), |
| 100 B(Star), R(4), | 100 B(Star), R(4), |
| 101 B(Mov), R(arg0), R(2), | 101 B(Mov), R(arg0), R(2), |
| 102 B(Mov), R(closure), R(3), | 102 B(Mov), R(closure), R(3), |
| 103 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 103 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
| 104 B(PushContext), R(0), | 104 B(PushContext), R(0), |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 parameter count: 2 | 155 parameter count: 2 |
| 156 bytecode array length: 223 | 156 bytecode array length: 223 |
| 157 bytecodes: [ | 157 bytecodes: [ |
| 158 B(Ldar), R(new_target), | 158 B(Ldar), R(new_target), |
| 159 B(JumpIfUndefined), U8(21), | 159 B(JumpIfUndefined), U8(21), |
| 160 B(ResumeGenerator), R(new_target), | 160 B(ResumeGenerator), R(new_target), |
| 161 B(Star), R(2), | 161 B(Star), R(2), |
| 162 B(LdaZero), | 162 B(LdaZero), |
| 163 B(TestEqualStrict), R(2), U8(0), | 163 B(TestEqualStrict), R(2), U8(0), |
| 164 B(JumpIfTrue), U8(71), | 164 B(JumpIfTrue), U8(71), |
| 165 B(LdaSmi), U8(76), | 165 B(LdaSmi), U8(77), |
| 166 B(Star), R(3), | 166 B(Star), R(3), |
| 167 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 167 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 168 B(LdaSmi), U8(-2), | 168 B(LdaSmi), U8(-2), |
| 169 B(Star), R(2), | 169 B(Star), R(2), |
| 170 B(LdaConstant), U8(0), | 170 B(LdaConstant), U8(0), |
| 171 B(Star), R(5), | 171 B(Star), R(5), |
| 172 B(Mov), R(arg0), R(3), | 172 B(Mov), R(arg0), R(3), |
| 173 B(Mov), R(closure), R(4), | 173 B(Mov), R(closure), R(4), |
| 174 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 174 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 175 B(PushContext), R(0), | 175 B(PushContext), R(0), |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 parameter count: 2 | 265 parameter count: 2 |
| 266 bytecode array length: 208 | 266 bytecode array length: 208 |
| 267 bytecodes: [ | 267 bytecodes: [ |
| 268 B(Ldar), R(new_target), | 268 B(Ldar), R(new_target), |
| 269 B(JumpIfUndefined), U8(21), | 269 B(JumpIfUndefined), U8(21), |
| 270 B(ResumeGenerator), R(new_target), | 270 B(ResumeGenerator), R(new_target), |
| 271 B(Star), R(2), | 271 B(Star), R(2), |
| 272 B(LdaZero), | 272 B(LdaZero), |
| 273 B(TestEqualStrict), R(2), U8(0), | 273 B(TestEqualStrict), R(2), U8(0), |
| 274 B(JumpIfTrue), U8(71), | 274 B(JumpIfTrue), U8(71), |
| 275 B(LdaSmi), U8(76), | 275 B(LdaSmi), U8(77), |
| 276 B(Star), R(3), | 276 B(Star), R(3), |
| 277 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 277 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 278 B(LdaSmi), U8(-2), | 278 B(LdaSmi), U8(-2), |
| 279 B(Star), R(2), | 279 B(Star), R(2), |
| 280 B(LdaConstant), U8(0), | 280 B(LdaConstant), U8(0), |
| 281 B(Star), R(5), | 281 B(Star), R(5), |
| 282 B(Mov), R(arg0), R(3), | 282 B(Mov), R(arg0), R(3), |
| 283 B(Mov), R(closure), R(4), | 283 B(Mov), R(closure), R(4), |
| 284 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 284 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 285 B(PushContext), R(0), | 285 B(PushContext), R(0), |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 parameter count: 2 | 367 parameter count: 2 |
| 368 bytecode array length: 242 | 368 bytecode array length: 242 |
| 369 bytecodes: [ | 369 bytecodes: [ |
| 370 B(Ldar), R(new_target), | 370 B(Ldar), R(new_target), |
| 371 B(JumpIfUndefined), U8(21), | 371 B(JumpIfUndefined), U8(21), |
| 372 B(ResumeGenerator), R(new_target), | 372 B(ResumeGenerator), R(new_target), |
| 373 B(Star), R(2), | 373 B(Star), R(2), |
| 374 B(LdaZero), | 374 B(LdaZero), |
| 375 B(TestEqualStrict), R(2), U8(0), | 375 B(TestEqualStrict), R(2), U8(0), |
| 376 B(JumpIfTrue), U8(83), | 376 B(JumpIfTrue), U8(83), |
| 377 B(LdaSmi), U8(76), | 377 B(LdaSmi), U8(77), |
| 378 B(Star), R(3), | 378 B(Star), R(3), |
| 379 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 379 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 380 B(LdaSmi), U8(-2), | 380 B(LdaSmi), U8(-2), |
| 381 B(Star), R(2), | 381 B(Star), R(2), |
| 382 B(LdaConstant), U8(0), | 382 B(LdaConstant), U8(0), |
| 383 B(Star), R(5), | 383 B(Star), R(5), |
| 384 B(Mov), R(arg0), R(3), | 384 B(Mov), R(arg0), R(3), |
| 385 B(Mov), R(closure), R(4), | 385 B(Mov), R(closure), R(4), |
| 386 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 386 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 387 B(PushContext), R(0), | 387 B(PushContext), R(0), |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 parameter count: 2 | 482 parameter count: 2 |
| 483 bytecode array length: 230 | 483 bytecode array length: 230 |
| 484 bytecodes: [ | 484 bytecodes: [ |
| 485 B(Ldar), R(new_target), | 485 B(Ldar), R(new_target), |
| 486 B(JumpIfUndefined), U8(21), | 486 B(JumpIfUndefined), U8(21), |
| 487 B(ResumeGenerator), R(new_target), | 487 B(ResumeGenerator), R(new_target), |
| 488 B(Star), R(2), | 488 B(Star), R(2), |
| 489 B(LdaZero), | 489 B(LdaZero), |
| 490 B(TestEqualStrict), R(2), U8(0), | 490 B(TestEqualStrict), R(2), U8(0), |
| 491 B(JumpIfTrue), U8(83), | 491 B(JumpIfTrue), U8(83), |
| 492 B(LdaSmi), U8(76), | 492 B(LdaSmi), U8(77), |
| 493 B(Star), R(3), | 493 B(Star), R(3), |
| 494 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 494 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
| 495 B(LdaSmi), U8(-2), | 495 B(LdaSmi), U8(-2), |
| 496 B(Star), R(2), | 496 B(Star), R(2), |
| 497 B(LdaConstant), U8(0), | 497 B(LdaConstant), U8(0), |
| 498 B(Star), R(5), | 498 B(Star), R(5), |
| 499 B(Mov), R(arg0), R(3), | 499 B(Mov), R(arg0), R(3), |
| 500 B(Mov), R(closure), R(4), | 500 B(Mov), R(closure), R(4), |
| 501 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 501 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
| 502 B(PushContext), R(0), | 502 B(PushContext), R(0), |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 parameter count: 2 | 589 parameter count: 2 |
| 590 bytecode array length: 159 | 590 bytecode array length: 159 |
| 591 bytecodes: [ | 591 bytecodes: [ |
| 592 B(Ldar), R(new_target), | 592 B(Ldar), R(new_target), |
| 593 B(JumpIfUndefined), U8(21), | 593 B(JumpIfUndefined), U8(21), |
| 594 B(ResumeGenerator), R(new_target), | 594 B(ResumeGenerator), R(new_target), |
| 595 B(Star), R(1), | 595 B(Star), R(1), |
| 596 B(LdaZero), | 596 B(LdaZero), |
| 597 B(TestEqualStrict), R(1), U8(0), | 597 B(TestEqualStrict), R(1), U8(0), |
| 598 B(JumpIfTrue), U8(83), | 598 B(JumpIfTrue), U8(83), |
| 599 B(LdaSmi), U8(76), | 599 B(LdaSmi), U8(77), |
| 600 B(Star), R(2), | 600 B(Star), R(2), |
| 601 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 601 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 602 B(LdaSmi), U8(-2), | 602 B(LdaSmi), U8(-2), |
| 603 B(Star), R(1), | 603 B(Star), R(1), |
| 604 B(LdaConstant), U8(0), | 604 B(LdaConstant), U8(0), |
| 605 B(Star), R(4), | 605 B(Star), R(4), |
| 606 B(Mov), R(arg0), R(2), | 606 B(Mov), R(arg0), R(2), |
| 607 B(Mov), R(closure), R(3), | 607 B(Mov), R(closure), R(3), |
| 608 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 608 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
| 609 B(PushContext), R(0), | 609 B(PushContext), R(0), |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 parameter count: 2 | 670 parameter count: 2 |
| 671 bytecode array length: 196 | 671 bytecode array length: 196 |
| 672 bytecodes: [ | 672 bytecodes: [ |
| 673 B(Ldar), R(new_target), | 673 B(Ldar), R(new_target), |
| 674 B(JumpIfUndefined), U8(21), | 674 B(JumpIfUndefined), U8(21), |
| 675 B(ResumeGenerator), R(new_target), | 675 B(ResumeGenerator), R(new_target), |
| 676 B(Star), R(1), | 676 B(Star), R(1), |
| 677 B(LdaZero), | 677 B(LdaZero), |
| 678 B(TestEqualStrict), R(1), U8(0), | 678 B(TestEqualStrict), R(1), U8(0), |
| 679 B(JumpIfTrue), U8(83), | 679 B(JumpIfTrue), U8(83), |
| 680 B(LdaSmi), U8(76), | 680 B(LdaSmi), U8(77), |
| 681 B(Star), R(2), | 681 B(Star), R(2), |
| 682 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 682 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 683 B(LdaSmi), U8(-2), | 683 B(LdaSmi), U8(-2), |
| 684 B(Star), R(1), | 684 B(Star), R(1), |
| 685 B(LdaConstant), U8(0), | 685 B(LdaConstant), U8(0), |
| 686 B(Star), R(4), | 686 B(Star), R(4), |
| 687 B(Mov), R(arg0), R(2), | 687 B(Mov), R(arg0), R(2), |
| 688 B(Mov), R(closure), R(3), | 688 B(Mov), R(closure), R(3), |
| 689 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 689 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
| 690 B(PushContext), R(0), | 690 B(PushContext), R(0), |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 parameter count: 2 | 764 parameter count: 2 |
| 765 bytecode array length: 133 | 765 bytecode array length: 133 |
| 766 bytecodes: [ | 766 bytecodes: [ |
| 767 B(Ldar), R(new_target), | 767 B(Ldar), R(new_target), |
| 768 B(JumpIfUndefined), U8(21), | 768 B(JumpIfUndefined), U8(21), |
| 769 B(ResumeGenerator), R(new_target), | 769 B(ResumeGenerator), R(new_target), |
| 770 B(Star), R(1), | 770 B(Star), R(1), |
| 771 B(LdaZero), | 771 B(LdaZero), |
| 772 B(TestEqualStrict), R(1), U8(0), | 772 B(TestEqualStrict), R(1), U8(0), |
| 773 B(JumpIfTrue), U8(71), | 773 B(JumpIfTrue), U8(71), |
| 774 B(LdaSmi), U8(76), | 774 B(LdaSmi), U8(77), |
| 775 B(Star), R(2), | 775 B(Star), R(2), |
| 776 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 776 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 777 B(LdaSmi), U8(-2), | 777 B(LdaSmi), U8(-2), |
| 778 B(Star), R(1), | 778 B(Star), R(1), |
| 779 B(LdaConstant), U8(0), | 779 B(LdaConstant), U8(0), |
| 780 B(Star), R(4), | 780 B(Star), R(4), |
| 781 B(Mov), R(arg0), R(2), | 781 B(Mov), R(arg0), R(2), |
| 782 B(Mov), R(closure), R(3), | 782 B(Mov), R(closure), R(3), |
| 783 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 783 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
| 784 B(PushContext), R(0), | 784 B(PushContext), R(0), |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 parameter count: 2 | 833 parameter count: 2 |
| 834 bytecode array length: 133 | 834 bytecode array length: 133 |
| 835 bytecodes: [ | 835 bytecodes: [ |
| 836 B(Ldar), R(new_target), | 836 B(Ldar), R(new_target), |
| 837 B(JumpIfUndefined), U8(21), | 837 B(JumpIfUndefined), U8(21), |
| 838 B(ResumeGenerator), R(new_target), | 838 B(ResumeGenerator), R(new_target), |
| 839 B(Star), R(1), | 839 B(Star), R(1), |
| 840 B(LdaZero), | 840 B(LdaZero), |
| 841 B(TestEqualStrict), R(1), U8(0), | 841 B(TestEqualStrict), R(1), U8(0), |
| 842 B(JumpIfTrue), U8(71), | 842 B(JumpIfTrue), U8(71), |
| 843 B(LdaSmi), U8(76), | 843 B(LdaSmi), U8(77), |
| 844 B(Star), R(2), | 844 B(Star), R(2), |
| 845 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 845 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
| 846 B(LdaSmi), U8(-2), | 846 B(LdaSmi), U8(-2), |
| 847 B(Star), R(1), | 847 B(Star), R(1), |
| 848 B(LdaConstant), U8(0), | 848 B(LdaConstant), U8(0), |
| 849 B(Star), R(4), | 849 B(Star), R(4), |
| 850 B(Mov), R(arg0), R(2), | 850 B(Mov), R(arg0), R(2), |
| 851 B(Mov), R(closure), R(3), | 851 B(Mov), R(closure), R(3), |
| 852 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 852 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
| 853 B(PushContext), R(0), | 853 B(PushContext), R(0), |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 /* 0 E> */ B(Throw), | 887 /* 0 E> */ B(Throw), |
| 888 B(LdaUndefined), | 888 B(LdaUndefined), |
| 889 /* 19 S> */ B(Return), | 889 /* 19 S> */ B(Return), |
| 890 ] | 890 ] |
| 891 constant pool: [ | 891 constant pool: [ |
| 892 FIXED_ARRAY_TYPE, | 892 FIXED_ARRAY_TYPE, |
| 893 ] | 893 ] |
| 894 handlers: [ | 894 handlers: [ |
| 895 ] | 895 ] |
| 896 | 896 |
| OLD | NEW |