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

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

Issue 2504153002: [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: REBASE. 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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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: 175 606 bytecode array length: 176
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(LdaTheHole),
664 B(Star), R(2), 664 B(Star), R(2),
665 B(CreateClosure), U8(1), U8(0), 665 B(CreateClosure), U8(1), U8(2), U8(0),
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(4),
669 B(LdaSmi), U8(24), 669 B(LdaSmi), U8(24),
670 B(Star), R(5), 670 B(Star), R(5),
671 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), 671 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4),
672 B(Star), R(2), 672 B(Star), R(2),
673 B(LdaNamedProperty), R(2), U8(2), U8(2), 673 B(LdaNamedProperty), R(2), U8(2), U8(3),
674 B(Star), R(3), 674 B(Star), R(3),
675 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(2), U 8(1), 675 B(CallRuntime), U16(Runtime::kInstallClassNameAccessor), R(2), U 8(1),
676 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), 676 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1),
677 B(StaCurrentContextSlot), U8(6), 677 B(StaCurrentContextSlot), U8(6),
678 B(LdaCurrentContextSlot), U8(6), 678 B(LdaCurrentContextSlot), U8(6),
679 /* 16 E> */ B(StaModuleVariable), U8(1), U8(0), 679 /* 16 E> */ B(StaModuleVariable), U8(1), U8(0),
680 B(LdaUndefined), 680 B(LdaUndefined),
681 /* 26 S> */ B(Return), 681 /* 26 S> */ B(Return),
682 ] 682 ]
683 constant pool: [ 683 constant pool: [
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 /* 45 S> */ B(Return), 909 /* 45 S> */ B(Return),
910 ] 910 ]
911 constant pool: [ 911 constant pool: [
912 FIXED_ARRAY_TYPE, 912 FIXED_ARRAY_TYPE,
913 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], 913 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"],
914 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 914 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
915 ] 915 ]
916 handlers: [ 916 handlers: [
917 ] 917 ]
918 918
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698