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

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

Issue 2485383002: [Interpreter] Remove Ldr[Named/Keyed]Property bytecodes and use Star Lookahead instead. (Closed)
Patch Set: Created 4 years, 1 month 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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 ] 587 ]
588 handlers: [ 588 handlers: [
589 ] 589 ]
590 590
591 --- 591 ---
592 snippet: " 592 snippet: "
593 export default (class {}); 593 export default (class {});
594 " 594 "
595 frame size: 8 595 frame size: 8
596 parameter count: 2 596 parameter count: 2
597 bytecode array length: 169 597 bytecode array length: 170
598 bytecodes: [ 598 bytecodes: [
599 B(Ldar), R(new_target), 599 B(Ldar), R(new_target),
600 B(JumpIfUndefined), U8(21), 600 B(JumpIfUndefined), U8(21),
601 B(ResumeGenerator), R(new_target), 601 B(ResumeGenerator), R(new_target),
602 B(Star), R(1), 602 B(Star), R(1),
603 B(LdaZero), 603 B(LdaZero),
604 B(TestEqualStrict), R(1), U8(0), 604 B(TestEqualStrict), R(1), U8(0),
605 B(JumpIfTrue), U8(67), 605 B(JumpIfTrue), U8(67),
606 B(LdaSmi), U8(76), 606 B(LdaSmi), U8(76),
607 B(Star), R(2), 607 B(Star), R(2),
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 /* 16 S> */ B(LdaTheHole), 653 /* 16 S> */ B(LdaTheHole),
654 B(Star), R(2), 654 B(Star), R(2),
655 B(CreateClosure), U8(1), U8(0), 655 B(CreateClosure), U8(1), U8(0),
656 B(Star), R(3), 656 B(Star), R(3),
657 B(LdaSmi), U8(16), 657 B(LdaSmi), U8(16),
658 B(Star), R(4), 658 B(Star), R(4),
659 B(LdaSmi), U8(24), 659 B(LdaSmi), U8(24),
660 B(Star), R(5), 660 B(Star), R(5),
661 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), 661 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4),
662 B(Star), R(2), 662 B(Star), R(2),
663 B(LdrNamedProperty), R(2), U8(2), U8(2), R(3), 663 B(LdaNamedProperty), R(2), U8(2), U8(2),
664 B(Star), R(3),
664 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), 665 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1),
665 B(StaCurrentContextSlot), U8(6), 666 B(StaCurrentContextSlot), U8(6),
666 /* 16 E> */ B(LdaCurrentContextSlot), U8(6), 667 /* 16 E> */ B(LdaCurrentContextSlot), U8(6),
667 B(StaModuleVariable), U8(1), U8(0), 668 B(StaModuleVariable), U8(1), U8(0),
668 B(LdaUndefined), 669 B(LdaUndefined),
669 /* 26 S> */ B(Return), 670 /* 26 S> */ B(Return),
670 ] 671 ]
671 constant pool: [ 672 constant pool: [
672 FIXED_ARRAY_TYPE, 673 FIXED_ARRAY_TYPE,
673 SHARED_FUNCTION_INFO_TYPE, 674 SHARED_FUNCTION_INFO_TYPE,
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 handlers: [ 815 handlers: [
815 ] 816 ]
816 817
817 --- 818 ---
818 snippet: " 819 snippet: "
819 import * as foo from \"bar\" 820 import * as foo from \"bar\"
820 foo.f(foo, foo.x); 821 foo.f(foo, foo.x);
821 " 822 "
822 frame size: 8 823 frame size: 8
823 parameter count: 2 824 parameter count: 2
824 bytecode array length: 159 825 bytecode array length: 161
825 bytecodes: [ 826 bytecodes: [
826 B(Ldar), R(new_target), 827 B(Ldar), R(new_target),
827 B(JumpIfUndefined), U8(21), 828 B(JumpIfUndefined), U8(21),
828 B(ResumeGenerator), R(new_target), 829 B(ResumeGenerator), R(new_target),
829 B(Star), R(1), 830 B(Star), R(1),
830 B(LdaZero), 831 B(LdaZero),
831 B(TestEqualStrict), R(1), U8(0), 832 B(TestEqualStrict), R(1), U8(0),
832 B(JumpIfTrue), U8(73), 833 B(JumpIfTrue), U8(73),
833 B(LdaSmi), U8(76), 834 B(LdaSmi), U8(76),
834 B(Star), R(2), 835 B(Star), R(2),
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 B(JumpIfTrue), U8(16), 874 B(JumpIfTrue), U8(16),
874 B(Jump), U8(2), 875 B(Jump), U8(2),
875 B(LdaTrue), 876 B(LdaTrue),
876 B(Star), R(7), 877 B(Star), R(7),
877 B(Mov), R(4), R(6), 878 B(Mov), R(4), R(6),
878 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8 (2), 879 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(6), U8 (2),
879 /* 45 S> */ B(Return), 880 /* 45 S> */ B(Return),
880 B(Ldar), R(4), 881 B(Ldar), R(4),
881 /* 0 E> */ B(Throw), 882 /* 0 E> */ B(Throw),
882 /* 27 S> */ B(LdrCurrentContextSlot), U8(6), R(3), 883 /* 27 S> */ B(LdrCurrentContextSlot), U8(6), R(3),
883 /* 30 E> */ B(LdrNamedProperty), R(3), U8(1), U8(4), R(2), 884 /* 30 E> */ B(LdaNamedProperty), R(3), U8(1), U8(4),
885 B(Star), R(2),
884 /* 33 E> */ B(LdrCurrentContextSlot), U8(6), R(4), 886 /* 33 E> */ B(LdrCurrentContextSlot), U8(6), R(4),
885 /* 38 E> */ B(LdrCurrentContextSlot), U8(6), R(6), 887 /* 38 E> */ B(LdrCurrentContextSlot), U8(6), R(6),
886 /* 41 E> */ B(LdrNamedProperty), R(6), U8(2), U8(6), R(5), 888 /* 41 E> */ B(LdaNamedProperty), R(6), U8(2), U8(6),
889 B(Star), R(5),
887 /* 31 E> */ B(CallProperty), R(2), R(3), U8(3), U8(2), 890 /* 31 E> */ B(CallProperty), R(2), R(3), U8(3), U8(2),
888 B(LdaUndefined), 891 B(LdaUndefined),
889 /* 45 S> */ B(Return), 892 /* 45 S> */ B(Return),
890 ] 893 ]
891 constant pool: [ 894 constant pool: [
892 FIXED_ARRAY_TYPE, 895 FIXED_ARRAY_TYPE,
893 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], 896 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"],
894 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 897 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
895 ] 898 ]
896 handlers: [ 899 handlers: [
897 ] 900 ]
898 901
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698