Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/Modules.golden

Issue 2610683003: [ignition] Only initialize [[HomeObject]] for class constructors if needed (Closed)
Patch Set: Fix bytecode expectations Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 175 606 bytecode array length: 172
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
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(LdaTheHole), 663 /* 16 S> */ B(CreateClosure), U8(1), U8(0),
664 B(Star), R(2), 664 B(Star), R(2),
665 B(CreateClosure), U8(1), U8(0), 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(4), 668 B(Star), R(5),
669 B(LdaSmi), U8(24), 669 B(LdaSmi), U8(24),
670 B(Star), R(5), 670 B(Star), R(6),
671 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), 671 B(Mov), R(2), R(4),
672 B(Star), R(2), 672 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4),
673 B(LdaNamedProperty), R(2), U8(2), U8(2),
674 B(Star), R(3), 673 B(Star), R(3),
675 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(2), U 8(1), 674 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(2), U 8(1),
676 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), 675 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1),
677 B(StaCurrentContextSlot), U8(6), 676 B(StaCurrentContextSlot), U8(6),
678 B(LdaCurrentContextSlot), U8(6), 677 B(LdaCurrentContextSlot), U8(6),
679 /* 16 E> */ B(StaModuleVariable), U8(1), U8(0), 678 /* 16 E> */ B(StaModuleVariable), U8(1), U8(0),
680 B(LdaUndefined), 679 B(LdaUndefined),
681 /* 26 S> */ B(Return), 680 /* 26 S> */ B(Return),
682 ] 681 ]
683 constant pool: [ 682 constant pool: [
684 FIXED_ARRAY_TYPE, 683 FIXED_ARRAY_TYPE,
685 SHARED_FUNCTION_INFO_TYPE, 684 SHARED_FUNCTION_INFO_TYPE,
686 ONE_BYTE_INTERNALIZED_STRING_TYPE ["prototype"],
687 ] 685 ]
688 handlers: [ 686 handlers: [
689 ] 687 ]
690 688
691 --- 689 ---
692 snippet: " 690 snippet: "
693 export {foo as goo} from \"bar\" 691 export {foo as goo} from \"bar\"
694 " 692 "
695 frame size: 8 693 frame size: 8
696 parameter count: 2 694 parameter count: 2
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 /* 45 S> */ B(Return), 907 /* 45 S> */ B(Return),
910 ] 908 ]
911 constant pool: [ 909 constant pool: [
912 FIXED_ARRAY_TYPE, 910 FIXED_ARRAY_TYPE,
913 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], 911 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"],
914 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 912 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
915 ] 913 ]
916 handlers: [ 914 handlers: [
917 ] 915 ]
918 916
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698