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: 125 | 16 bytecode array length: 125 |
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(63), | 24 B(JumpIfTrue), U8(63), |
25 B(LdaSmi), U8(78), | 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 parameter count: 2 | 85 parameter count: 2 |
86 bytecode array length: 125 | 86 bytecode array length: 125 |
87 bytecodes: [ | 87 bytecodes: [ |
88 B(Ldar), R(new_target), | 88 B(Ldar), R(new_target), |
89 B(JumpIfUndefined), U8(21), | 89 B(JumpIfUndefined), U8(21), |
90 B(ResumeGenerator), R(new_target), | 90 B(ResumeGenerator), R(new_target), |
91 B(Star), R(1), | 91 B(Star), R(1), |
92 B(LdaZero), | 92 B(LdaZero), |
93 B(TestEqualStrict), R(1), U8(0), | 93 B(TestEqualStrict), R(1), U8(0), |
94 B(JumpIfTrue), U8(63), | 94 B(JumpIfTrue), U8(63), |
95 B(LdaSmi), U8(78), | 95 B(LdaSmi), U8(77), |
96 B(Star), R(2), | 96 B(Star), R(2), |
97 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 97 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
98 B(LdaSmi), U8(-2), | 98 B(LdaSmi), U8(-2), |
99 B(Star), R(1), | 99 B(Star), R(1), |
100 B(LdaConstant), U8(0), | 100 B(LdaConstant), U8(0), |
101 B(Star), R(4), | 101 B(Star), R(4), |
102 B(Mov), R(arg0), R(2), | 102 B(Mov), R(arg0), R(2), |
103 B(Mov), R(closure), R(3), | 103 B(Mov), R(closure), R(3), |
104 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 104 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
105 B(PushContext), R(0), | 105 B(PushContext), R(0), |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 parameter count: 2 | 157 parameter count: 2 |
158 bytecode array length: 195 | 158 bytecode array length: 195 |
159 bytecodes: [ | 159 bytecodes: [ |
160 B(Ldar), R(new_target), | 160 B(Ldar), R(new_target), |
161 B(JumpIfUndefined), U8(21), | 161 B(JumpIfUndefined), U8(21), |
162 B(ResumeGenerator), R(new_target), | 162 B(ResumeGenerator), R(new_target), |
163 B(Star), R(2), | 163 B(Star), R(2), |
164 B(LdaZero), | 164 B(LdaZero), |
165 B(TestEqualStrict), R(2), U8(0), | 165 B(TestEqualStrict), R(2), U8(0), |
166 B(JumpIfTrue), U8(63), | 166 B(JumpIfTrue), U8(63), |
167 B(LdaSmi), U8(78), | 167 B(LdaSmi), U8(77), |
168 B(Star), R(3), | 168 B(Star), R(3), |
169 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 169 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
170 B(LdaSmi), U8(-2), | 170 B(LdaSmi), U8(-2), |
171 B(Star), R(2), | 171 B(Star), R(2), |
172 B(LdaConstant), U8(0), | 172 B(LdaConstant), U8(0), |
173 B(Star), R(5), | 173 B(Star), R(5), |
174 B(Mov), R(arg0), R(3), | 174 B(Mov), R(arg0), R(3), |
175 B(Mov), R(closure), R(4), | 175 B(Mov), R(closure), R(4), |
176 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 176 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
177 B(PushContext), R(0), | 177 B(PushContext), R(0), |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 parameter count: 2 | 261 parameter count: 2 |
262 bytecode array length: 160 | 262 bytecode array length: 160 |
263 bytecodes: [ | 263 bytecodes: [ |
264 B(Ldar), R(new_target), | 264 B(Ldar), R(new_target), |
265 B(JumpIfUndefined), U8(21), | 265 B(JumpIfUndefined), U8(21), |
266 B(ResumeGenerator), R(new_target), | 266 B(ResumeGenerator), R(new_target), |
267 B(Star), R(2), | 267 B(Star), R(2), |
268 B(LdaZero), | 268 B(LdaZero), |
269 B(TestEqualStrict), R(2), U8(0), | 269 B(TestEqualStrict), R(2), U8(0), |
270 B(JumpIfTrue), U8(63), | 270 B(JumpIfTrue), U8(63), |
271 B(LdaSmi), U8(78), | 271 B(LdaSmi), U8(77), |
272 B(Star), R(3), | 272 B(Star), R(3), |
273 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 273 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
274 B(LdaSmi), U8(-2), | 274 B(LdaSmi), U8(-2), |
275 B(Star), R(2), | 275 B(Star), R(2), |
276 B(LdaConstant), U8(0), | 276 B(LdaConstant), U8(0), |
277 B(Star), R(5), | 277 B(Star), R(5), |
278 B(Mov), R(arg0), R(3), | 278 B(Mov), R(arg0), R(3), |
279 B(Mov), R(closure), R(4), | 279 B(Mov), R(closure), R(4), |
280 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 280 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
281 B(PushContext), R(0), | 281 B(PushContext), R(0), |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 parameter count: 2 | 350 parameter count: 2 |
351 bytecode array length: 164 | 351 bytecode array length: 164 |
352 bytecodes: [ | 352 bytecodes: [ |
353 B(Ldar), R(new_target), | 353 B(Ldar), R(new_target), |
354 B(JumpIfUndefined), U8(21), | 354 B(JumpIfUndefined), U8(21), |
355 B(ResumeGenerator), R(new_target), | 355 B(ResumeGenerator), R(new_target), |
356 B(Star), R(2), | 356 B(Star), R(2), |
357 B(LdaZero), | 357 B(LdaZero), |
358 B(TestEqualStrict), R(2), U8(0), | 358 B(TestEqualStrict), R(2), U8(0), |
359 B(JumpIfTrue), U8(67), | 359 B(JumpIfTrue), U8(67), |
360 B(LdaSmi), U8(78), | 360 B(LdaSmi), U8(77), |
361 B(Star), R(3), | 361 B(Star), R(3), |
362 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 362 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
363 B(LdaSmi), U8(-2), | 363 B(LdaSmi), U8(-2), |
364 B(Star), R(2), | 364 B(Star), R(2), |
365 B(LdaConstant), U8(0), | 365 B(LdaConstant), U8(0), |
366 B(Star), R(5), | 366 B(Star), R(5), |
367 B(Mov), R(arg0), R(3), | 367 B(Mov), R(arg0), R(3), |
368 B(Mov), R(closure), R(4), | 368 B(Mov), R(closure), R(4), |
369 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 369 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
370 B(PushContext), R(0), | 370 B(PushContext), R(0), |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 parameter count: 2 | 441 parameter count: 2 |
442 bytecode array length: 168 | 442 bytecode array length: 168 |
443 bytecodes: [ | 443 bytecodes: [ |
444 B(Ldar), R(new_target), | 444 B(Ldar), R(new_target), |
445 B(JumpIfUndefined), U8(21), | 445 B(JumpIfUndefined), U8(21), |
446 B(ResumeGenerator), R(new_target), | 446 B(ResumeGenerator), R(new_target), |
447 B(Star), R(2), | 447 B(Star), R(2), |
448 B(LdaZero), | 448 B(LdaZero), |
449 B(TestEqualStrict), R(2), U8(0), | 449 B(TestEqualStrict), R(2), U8(0), |
450 B(JumpIfTrue), U8(67), | 450 B(JumpIfTrue), U8(67), |
451 B(LdaSmi), U8(78), | 451 B(LdaSmi), U8(77), |
452 B(Star), R(3), | 452 B(Star), R(3), |
453 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 453 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
454 B(LdaSmi), U8(-2), | 454 B(LdaSmi), U8(-2), |
455 B(Star), R(2), | 455 B(Star), R(2), |
456 B(LdaConstant), U8(0), | 456 B(LdaConstant), U8(0), |
457 B(Star), R(5), | 457 B(Star), R(5), |
458 B(Mov), R(arg0), R(3), | 458 B(Mov), R(arg0), R(3), |
459 B(Mov), R(closure), R(4), | 459 B(Mov), R(closure), R(4), |
460 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), | 460 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), |
461 B(PushContext), R(0), | 461 B(PushContext), R(0), |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 parameter count: 2 | 530 parameter count: 2 |
531 bytecode array length: 136 | 531 bytecode array length: 136 |
532 bytecodes: [ | 532 bytecodes: [ |
533 B(Ldar), R(new_target), | 533 B(Ldar), R(new_target), |
534 B(JumpIfUndefined), U8(21), | 534 B(JumpIfUndefined), U8(21), |
535 B(ResumeGenerator), R(new_target), | 535 B(ResumeGenerator), R(new_target), |
536 B(Star), R(1), | 536 B(Star), R(1), |
537 B(LdaZero), | 537 B(LdaZero), |
538 B(TestEqualStrict), R(1), U8(0), | 538 B(TestEqualStrict), R(1), U8(0), |
539 B(JumpIfTrue), U8(67), | 539 B(JumpIfTrue), U8(67), |
540 B(LdaSmi), U8(78), | 540 B(LdaSmi), U8(77), |
541 B(Star), R(2), | 541 B(Star), R(2), |
542 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 542 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
543 B(LdaSmi), U8(-2), | 543 B(LdaSmi), U8(-2), |
544 B(Star), R(1), | 544 B(Star), R(1), |
545 B(LdaConstant), U8(0), | 545 B(LdaConstant), U8(0), |
546 B(Star), R(4), | 546 B(Star), R(4), |
547 B(Mov), R(arg0), R(2), | 547 B(Mov), R(arg0), R(2), |
548 B(Mov), R(closure), R(3), | 548 B(Mov), R(closure), R(3), |
549 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 549 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
550 B(PushContext), R(0), | 550 B(PushContext), R(0), |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 parameter count: 2 | 605 parameter count: 2 |
606 bytecode array length: 173 | 606 bytecode array length: 173 |
607 bytecodes: [ | 607 bytecodes: [ |
608 B(Ldar), R(new_target), | 608 B(Ldar), R(new_target), |
609 B(JumpIfUndefined), U8(21), | 609 B(JumpIfUndefined), U8(21), |
610 B(ResumeGenerator), R(new_target), | 610 B(ResumeGenerator), R(new_target), |
611 B(Star), R(1), | 611 B(Star), R(1), |
612 B(LdaZero), | 612 B(LdaZero), |
613 B(TestEqualStrict), R(1), U8(0), | 613 B(TestEqualStrict), R(1), U8(0), |
614 B(JumpIfTrue), U8(67), | 614 B(JumpIfTrue), U8(67), |
615 B(LdaSmi), U8(78), | 615 B(LdaSmi), U8(77), |
616 B(Star), R(2), | 616 B(Star), R(2), |
617 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 617 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
618 B(LdaSmi), U8(-2), | 618 B(LdaSmi), U8(-2), |
619 B(Star), R(1), | 619 B(Star), R(1), |
620 B(LdaConstant), U8(0), | 620 B(LdaConstant), U8(0), |
621 B(Star), R(4), | 621 B(Star), R(4), |
622 B(Mov), R(arg0), R(2), | 622 B(Mov), R(arg0), R(2), |
623 B(Mov), R(closure), R(3), | 623 B(Mov), R(closure), R(3), |
624 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 624 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
625 B(PushContext), R(0), | 625 B(PushContext), R(0), |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 parameter count: 2 | 694 parameter count: 2 |
695 bytecode array length: 125 | 695 bytecode array length: 125 |
696 bytecodes: [ | 696 bytecodes: [ |
697 B(Ldar), R(new_target), | 697 B(Ldar), R(new_target), |
698 B(JumpIfUndefined), U8(21), | 698 B(JumpIfUndefined), U8(21), |
699 B(ResumeGenerator), R(new_target), | 699 B(ResumeGenerator), R(new_target), |
700 B(Star), R(1), | 700 B(Star), R(1), |
701 B(LdaZero), | 701 B(LdaZero), |
702 B(TestEqualStrict), R(1), U8(0), | 702 B(TestEqualStrict), R(1), U8(0), |
703 B(JumpIfTrue), U8(63), | 703 B(JumpIfTrue), U8(63), |
704 B(LdaSmi), U8(78), | 704 B(LdaSmi), U8(77), |
705 B(Star), R(2), | 705 B(Star), R(2), |
706 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 706 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
707 B(LdaSmi), U8(-2), | 707 B(LdaSmi), U8(-2), |
708 B(Star), R(1), | 708 B(Star), R(1), |
709 B(LdaConstant), U8(0), | 709 B(LdaConstant), U8(0), |
710 B(Star), R(4), | 710 B(Star), R(4), |
711 B(Mov), R(arg0), R(2), | 711 B(Mov), R(arg0), R(2), |
712 B(Mov), R(closure), R(3), | 712 B(Mov), R(closure), R(3), |
713 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 713 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
714 B(PushContext), R(0), | 714 B(PushContext), R(0), |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 parameter count: 2 | 764 parameter count: 2 |
765 bytecode array length: 125 | 765 bytecode array length: 125 |
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(63), | 773 B(JumpIfTrue), U8(63), |
774 B(LdaSmi), U8(78), | 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 parameter count: 2 | 835 parameter count: 2 |
836 bytecode array length: 164 | 836 bytecode array length: 164 |
837 bytecodes: [ | 837 bytecodes: [ |
838 B(Ldar), R(new_target), | 838 B(Ldar), R(new_target), |
839 B(JumpIfUndefined), U8(21), | 839 B(JumpIfUndefined), U8(21), |
840 B(ResumeGenerator), R(new_target), | 840 B(ResumeGenerator), R(new_target), |
841 B(Star), R(1), | 841 B(Star), R(1), |
842 B(LdaZero), | 842 B(LdaZero), |
843 B(TestEqualStrict), R(1), U8(0), | 843 B(TestEqualStrict), R(1), U8(0), |
844 B(JumpIfTrue), U8(73), | 844 B(JumpIfTrue), U8(73), |
845 B(LdaSmi), U8(78), | 845 B(LdaSmi), U8(77), |
846 B(Star), R(2), | 846 B(Star), R(2), |
847 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), | 847 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), |
848 B(LdaSmi), U8(-2), | 848 B(LdaSmi), U8(-2), |
849 B(Star), R(1), | 849 B(Star), R(1), |
850 B(LdaConstant), U8(0), | 850 B(LdaConstant), U8(0), |
851 B(Star), R(4), | 851 B(Star), R(4), |
852 B(Mov), R(arg0), R(2), | 852 B(Mov), R(arg0), R(2), |
853 B(Mov), R(closure), R(3), | 853 B(Mov), R(closure), R(3), |
854 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), | 854 B(CallRuntime), U16(Runtime::kPushModuleContext), R(2), U8(3), |
855 B(PushContext), R(0), | 855 B(PushContext), R(0), |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 /* 45 S> */ B(Return), | 907 /* 45 S> */ B(Return), |
908 ] | 908 ] |
909 constant pool: [ | 909 constant pool: [ |
910 FIXED_ARRAY_TYPE, | 910 FIXED_ARRAY_TYPE, |
911 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], | 911 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], |
912 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 912 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
913 ] | 913 ] |
914 handlers: [ | 914 handlers: [ |
915 ] | 915 ] |
916 | 916 |
OLD | NEW |