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

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

Issue 2165953002: [interpreter] Add a register operand to ToNumber (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments Created 4 years, 5 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 pool type: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 { 674 {
675 let z = 1; 675 let z = 1;
676 function f() { z = 2; } 676 function f() { z = 2; }
677 if (z) continue; 677 if (z) continue;
678 z++; 678 z++;
679 } 679 }
680 } 680 }
681 " 681 "
682 frame size: 7 682 frame size: 7
683 parameter count: 1 683 parameter count: 1
684 bytecode array length: 119 684 bytecode array length: 118
685 bytecodes: [ 685 bytecodes: [
686 /* 30 E> */ B(StackCheck), 686 /* 30 E> */ B(StackCheck),
687 /* 42 S> */ B(LdaZero), 687 /* 42 S> */ B(LdaZero),
688 B(Star), R(1), 688 B(Star), R(1),
689 /* 52 S> */ B(Ldar), R(1), 689 /* 52 S> */ B(Ldar), R(1),
690 B(JumpIfToBooleanFalse), U8(111), 690 B(JumpIfToBooleanFalse), U8(110),
691 /* 45 E> */ B(StackCheck), 691 /* 45 E> */ B(StackCheck),
692 B(LdaConstant), U8(0), 692 B(LdaConstant), U8(0),
693 B(Star), R(4), 693 B(Star), R(4),
694 B(Mov), R(closure), R(5), 694 B(Mov), R(closure), R(5),
695 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), 695 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2),
696 B(PushContext), R(3), 696 B(PushContext), R(3),
697 B(LdaTheHole), 697 B(LdaTheHole),
698 B(StaContextSlot), R(context), U8(4), 698 B(StaContextSlot), R(context), U8(4),
699 B(CreateClosure), U8(1), U8(2), 699 B(CreateClosure), U8(1), U8(2),
700 B(Star), R(0), 700 B(Star), R(0),
701 /* 73 S> */ B(LdaSmi), U8(1), 701 /* 73 S> */ B(LdaSmi), U8(1),
702 /* 73 E> */ B(StaContextSlot), R(context), U8(4), 702 /* 73 E> */ B(StaContextSlot), R(context), U8(4),
703 B(Ldar), R(0), 703 B(Ldar), R(0),
704 B(JumpIfNotHole), U8(11), 704 B(JumpIfNotHole), U8(11),
705 B(LdaConstant), U8(2), 705 B(LdaConstant), U8(2),
706 B(Star), R(4), 706 B(Star), R(4),
707 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), 707 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
708 B(Star), R(2), 708 B(Star), R(2),
709 /* 106 S> */ B(LdaContextSlot), R(context), U8(4), 709 /* 106 S> */ B(LdaContextSlot), R(context), U8(4),
710 B(JumpIfNotHole), U8(11), 710 B(JumpIfNotHole), U8(11),
711 B(LdaConstant), U8(3), 711 B(LdaConstant), U8(3),
712 B(Star), R(4), 712 B(Star), R(4),
713 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), 713 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
714 B(JumpIfToBooleanFalse), U8(8), 714 B(JumpIfToBooleanFalse), U8(8),
715 /* 113 S> */ B(PopContext), R(3), 715 /* 113 S> */ B(PopContext), R(3),
716 B(PopContext), R(3), 716 B(PopContext), R(3),
717 B(Jump), U8(43), 717 B(Jump), U8(42),
718 /* 126 S> */ B(LdaContextSlot), R(context), U8(4), 718 /* 126 S> */ B(LdaContextSlot), R(context), U8(4),
719 B(JumpIfNotHole), U8(11), 719 B(JumpIfNotHole), U8(11),
720 B(LdaConstant), U8(3), 720 B(LdaConstant), U8(3),
721 B(Star), R(4), 721 B(Star), R(4),
722 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), 722 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
723 B(ToNumber), 723 B(ToNumber), R(4),
724 B(Star), R(4),
725 B(Inc), 724 B(Inc),
726 B(Star), R(5), 725 B(Star), R(5),
727 /* 127 E> */ B(LdaContextSlot), R(context), U8(4), 726 /* 127 E> */ B(LdaContextSlot), R(context), U8(4),
728 B(JumpIfNotHole), U8(11), 727 B(JumpIfNotHole), U8(11),
729 B(LdaConstant), U8(3), 728 B(LdaConstant), U8(3),
730 B(Star), R(6), 729 B(Star), R(6),
731 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), 730 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1),
732 B(Ldar), R(5), 731 B(Ldar), R(5),
733 B(StaContextSlot), R(context), U8(4), 732 B(StaContextSlot), R(context), U8(4),
734 B(PopContext), R(3), 733 B(PopContext), R(3),
735 B(Jump), U8(-111), 734 B(Jump), U8(-110),
736 B(LdaUndefined), 735 B(LdaUndefined),
737 /* 137 S> */ B(Return), 736 /* 137 S> */ B(Return),
738 ] 737 ]
739 constant pool: [ 738 constant pool: [
740 InstanceType::FIXED_ARRAY_TYPE, 739 InstanceType::FIXED_ARRAY_TYPE,
741 InstanceType::SHARED_FUNCTION_INFO_TYPE, 740 InstanceType::SHARED_FUNCTION_INFO_TYPE,
742 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 741 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
743 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 742 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
744 ] 743 ]
745 handlers: [ 744 handlers: [
746 ] 745 ]
747 746
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698