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

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

Issue 2423053002: Install the 'name' property in classes at runtime (Closed)
Patch Set: Check for 'name' properties at parse-time Created 4 years 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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 ] 661 ]
662 handlers: [ 662 handlers: [
663 ] 663 ]
664 664
665 --- 665 ---
666 snippet: " 666 snippet: "
667 export default (class {}); 667 export default (class {});
668 " 668 "
669 frame size: 8 669 frame size: 8
670 parameter count: 2 670 parameter count: 2
671 bytecode array length: 196 671 bytecode array length: 206
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(77), 680 B(LdaSmi), U8(77),
681 B(Star), R(2), 681 B(Star), R(2),
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 B(Star), R(2), 731 B(Star), R(2),
732 B(CreateClosure), U8(2), U8(0), 732 B(CreateClosure), U8(2), U8(0),
733 B(Star), R(3), 733 B(Star), R(3),
734 B(LdaSmi), U8(16), 734 B(LdaSmi), U8(16),
735 B(Star), R(4), 735 B(Star), R(4),
736 B(LdaSmi), U8(24), 736 B(LdaSmi), U8(24),
737 B(Star), R(5), 737 B(Star), R(5),
738 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), 738 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4),
739 B(Star), R(2), 739 B(Star), R(2),
740 B(LdrNamedProperty), R(2), U8(3), U8(2), R(3), 740 B(LdrNamedProperty), R(2), U8(3), U8(2), R(3),
741 B(LdaTrue),
742 B(Star), R(4),
743 B(JumpIfToBooleanFalse), U8(7),
744 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(2), U 8(1),
741 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), 745 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1),
742 B(StaContextSlot), R(context), U8(6), U8(0), 746 B(StaContextSlot), R(context), U8(6), U8(0),
743 /* 16 E> */ B(LdrContextSlot), R(context), U8(6), U8(0), R(3), 747 /* 16 E> */ B(LdrContextSlot), R(context), U8(6), U8(0), R(3),
744 B(LdaConstant), U8(1), 748 B(LdaConstant), U8(1),
745 B(Star), R(2), 749 B(Star), R(2),
746 B(CallRuntime), U16(Runtime::kStoreModuleExport), R(2), U8(2), 750 B(CallRuntime), U16(Runtime::kStoreModuleExport), R(2), U8(2),
747 B(LdaUndefined), 751 B(LdaUndefined),
748 /* 26 S> */ B(Return), 752 /* 26 S> */ B(Return),
749 ] 753 ]
750 constant pool: [ 754 constant pool: [
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 /* 0 E> */ B(Throw), 891 /* 0 E> */ B(Throw),
888 B(LdaUndefined), 892 B(LdaUndefined),
889 /* 19 S> */ B(Return), 893 /* 19 S> */ B(Return),
890 ] 894 ]
891 constant pool: [ 895 constant pool: [
892 FIXED_ARRAY_TYPE, 896 FIXED_ARRAY_TYPE,
893 ] 897 ]
894 handlers: [ 898 handlers: [
895 ] 899 ]
896 900
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698