OLD | NEW |
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 Loading... |
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: 6 | 682 frame size: 6 |
683 parameter count: 1 | 683 parameter count: 1 |
684 bytecode array length: 116 | 684 bytecode array length: 104 |
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(108), | 690 B(JumpIfToBooleanFalse), U8(96), |
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(Mov), R(0), R(2), |
| 704 /* 106 S> */ B(LdaContextSlot), R(context), U8(4), |
704 B(JumpIfNotHole), U8(11), | 705 B(JumpIfNotHole), U8(11), |
705 B(LdaConstant), U8(2), | 706 B(LdaConstant), U8(2), |
706 B(Star), R(4), | 707 B(Star), R(4), |
707 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 708 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
708 B(Star), R(2), | |
709 /* 106 S> */ B(LdaContextSlot), R(context), U8(4), | |
710 B(JumpIfNotHole), U8(11), | |
711 B(LdaConstant), U8(3), | |
712 B(Star), R(4), | |
713 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | |
714 B(JumpIfToBooleanFalse), U8(8), | 709 B(JumpIfToBooleanFalse), U8(8), |
715 /* 113 S> */ B(PopContext), R(3), | 710 /* 113 S> */ B(PopContext), R(3), |
716 B(PopContext), R(3), | 711 B(PopContext), R(3), |
717 B(Jump), U8(40), | 712 B(Jump), U8(40), |
718 /* 126 S> */ B(LdaContextSlot), R(context), U8(4), | 713 /* 126 S> */ B(LdaContextSlot), R(context), U8(4), |
719 B(JumpIfNotHole), U8(11), | 714 B(JumpIfNotHole), U8(11), |
720 B(LdaConstant), U8(3), | 715 B(LdaConstant), U8(2), |
721 B(Star), R(4), | 716 B(Star), R(4), |
722 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 717 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
723 B(Inc), | 718 B(Inc), |
724 B(Star), R(4), | 719 B(Star), R(4), |
725 /* 127 E> */ B(LdaContextSlot), R(context), U8(4), | 720 /* 127 E> */ B(LdaContextSlot), R(context), U8(4), |
726 B(JumpIfNotHole), U8(11), | 721 B(JumpIfNotHole), U8(11), |
727 B(LdaConstant), U8(3), | 722 B(LdaConstant), U8(2), |
728 B(Star), R(5), | 723 B(Star), R(5), |
729 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), | 724 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
730 B(Ldar), R(4), | 725 B(Ldar), R(4), |
731 B(StaContextSlot), R(context), U8(4), | 726 B(StaContextSlot), R(context), U8(4), |
732 B(PopContext), R(3), | 727 B(PopContext), R(3), |
733 B(Jump), U8(-108), | 728 B(Jump), U8(-96), |
734 B(LdaUndefined), | 729 B(LdaUndefined), |
735 /* 137 S> */ B(Return), | 730 /* 137 S> */ B(Return), |
736 ] | 731 ] |
737 constant pool: [ | 732 constant pool: [ |
738 InstanceType::FIXED_ARRAY_TYPE, | 733 InstanceType::FIXED_ARRAY_TYPE, |
739 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 734 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
740 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 735 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
741 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | |
742 ] | 736 ] |
743 handlers: [ | 737 handlers: [ |
744 ] | 738 ] |
745 | 739 |
OLD | NEW |