| 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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 ] | 521 ] |
| 522 handlers: [ | 522 handlers: [ |
| 523 ] | 523 ] |
| 524 | 524 |
| 525 --- | 525 --- |
| 526 snippet: " | 526 snippet: " |
| 527 export default (function () {}); | 527 export default (function () {}); |
| 528 " | 528 " |
| 529 frame size: 8 | 529 frame size: 8 |
| 530 parameter count: 2 | 530 parameter count: 2 |
| 531 bytecode array length: 135 | 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(78), |
| 541 B(Star), R(2), | 541 B(Star), R(2), |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 B(TestEqualStrict), R(5), U8(0), | 578 B(TestEqualStrict), R(5), U8(0), |
| 579 B(JumpIfTrue), U8(16), | 579 B(JumpIfTrue), U8(16), |
| 580 B(Jump), U8(2), | 580 B(Jump), U8(2), |
| 581 B(LdaTrue), | 581 B(LdaTrue), |
| 582 B(Star), R(7), | 582 B(Star), R(7), |
| 583 B(Mov), R(4), R(6), | 583 B(Mov), R(4), R(6), |
| 584 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8
(2), | 584 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8
(2), |
| 585 /* 32 S> */ B(Return), | 585 /* 32 S> */ B(Return), |
| 586 B(Ldar), R(4), | 586 B(Ldar), R(4), |
| 587 /* 0 E> */ B(Throw), | 587 /* 0 E> */ B(Throw), |
| 588 B(CreateClosure), U8(1), U8(0), | 588 B(CreateClosure), U8(1), U8(2), U8(0), |
| 589 B(StaModuleVariable), U8(1), U8(0), | 589 B(StaModuleVariable), U8(1), U8(0), |
| 590 B(LdaUndefined), | 590 B(LdaUndefined), |
| 591 /* 32 S> */ B(Return), | 591 /* 32 S> */ B(Return), |
| 592 ] | 592 ] |
| 593 constant pool: [ | 593 constant pool: [ |
| 594 FIXED_ARRAY_TYPE, | 594 FIXED_ARRAY_TYPE, |
| 595 SHARED_FUNCTION_INFO_TYPE, | 595 SHARED_FUNCTION_INFO_TYPE, |
| 596 ] | 596 ] |
| 597 handlers: [ | 597 handlers: [ |
| 598 ] | 598 ] |
| 599 | 599 |
| 600 --- | 600 --- |
| 601 snippet: " | 601 snippet: " |
| 602 export default (class {}); | 602 export default (class {}); |
| 603 " | 603 " |
| 604 frame size: 8 | 604 frame size: 8 |
| 605 parameter count: 2 | 605 parameter count: 2 |
| 606 bytecode array length: 172 | 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(78), |
| 616 B(Star), R(2), | 616 B(Star), R(2), |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 B(TestEqualStrict), R(5), U8(0), | 653 B(TestEqualStrict), R(5), U8(0), |
| 654 B(JumpIfTrue), U8(16), | 654 B(JumpIfTrue), U8(16), |
| 655 B(Jump), U8(2), | 655 B(Jump), U8(2), |
| 656 B(LdaTrue), | 656 B(LdaTrue), |
| 657 B(Star), R(7), | 657 B(Star), R(7), |
| 658 B(Mov), R(4), R(6), | 658 B(Mov), R(4), R(6), |
| 659 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8
(2), | 659 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8
(2), |
| 660 /* 26 S> */ B(Return), | 660 /* 26 S> */ B(Return), |
| 661 B(Ldar), R(4), | 661 B(Ldar), R(4), |
| 662 /* 0 E> */ B(Throw), | 662 /* 0 E> */ B(Throw), |
| 663 /* 16 S> */ B(CreateClosure), U8(1), U8(0), | 663 /* 16 S> */ B(CreateClosure), U8(1), U8(2), U8(0), |
| 664 B(Star), R(2), | 664 B(Star), R(2), |
| 665 B(LdaTheHole), | 665 B(LdaTheHole), |
| 666 B(Star), R(3), | 666 B(Star), R(3), |
| 667 B(LdaSmi), U8(16), | 667 B(LdaSmi), U8(16), |
| 668 B(Star), R(5), | 668 B(Star), R(5), |
| 669 B(LdaSmi), U8(24), | 669 B(LdaSmi), U8(24), |
| 670 B(Star), R(6), | 670 B(Star), R(6), |
| 671 B(Mov), R(2), R(4), | 671 B(Mov), R(2), R(4), |
| 672 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), | 672 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), |
| 673 B(Star), R(3), | 673 B(Star), R(3), |
| (...skipping 233 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 |