| 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: no | 8 wrap: no |
| 9 test function name: f | 9 test function name: f |
| 10 | 10 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 if (a) { | 109 if (a) { |
| 110 a += 1; | 110 a += 1; |
| 111 } else { | 111 } else { |
| 112 return 2; | 112 return 2; |
| 113 } | 113 } |
| 114 }; | 114 }; |
| 115 f(); | 115 f(); |
| 116 " | 116 " |
| 117 frame size: 2 | 117 frame size: 2 |
| 118 parameter count: 1 | 118 parameter count: 1 |
| 119 bytecode array length: 24 | 119 bytecode array length: 25 |
| 120 bytecodes: [ | 120 bytecodes: [ |
| 121 B(StackCheck), | 121 B(StackCheck), |
| 122 B(LdaSmi), U8(1), | 122 B(LdaSmi), U8(1), |
| 123 B(Star), R(0), | 123 B(Star), R(0), |
| 124 B(Nop), |
| 124 B(JumpIfToBooleanFalse), U8(14), | 125 B(JumpIfToBooleanFalse), U8(14), |
| 125 B(Ldar), R(0), | 126 B(Ldar), R(0), |
| 126 B(Star), R(1), | 127 B(Star), R(1), |
| 127 B(LdaSmi), U8(1), | 128 B(LdaSmi), U8(1), |
| 128 B(Add), R(1), | 129 B(Add), R(1), |
| 129 B(Star), R(0), | 130 B(Star), R(0), |
| 130 B(Jump), U8(5), | 131 B(Jump), U8(5), |
| 131 B(LdaSmi), U8(2), | 132 B(LdaSmi), U8(2), |
| 132 B(Return), | 133 B(Return), |
| 133 B(LdaUndefined), | 134 B(LdaUndefined), |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 794 if (a) { | 795 if (a) { |
| 795 return 20; | 796 return 20; |
| 796 } else { | 797 } else { |
| 797 return -20; | 798 return -20; |
| 798 } | 799 } |
| 799 }; | 800 }; |
| 800 f(); | 801 f(); |
| 801 " | 802 " |
| 802 frame size: 1 | 803 frame size: 1 |
| 803 parameter count: 1 | 804 parameter count: 1 |
| 804 bytecode array length: 14 | 805 bytecode array length: 15 |
| 805 bytecodes: [ | 806 bytecodes: [ |
| 806 B(StackCheck), | 807 B(StackCheck), |
| 807 B(LdaZero), | 808 B(LdaZero), |
| 808 B(Star), R(0), | 809 B(Star), R(0), |
| 810 B(Nop), |
| 809 B(JumpIfToBooleanFalse), U8(5), | 811 B(JumpIfToBooleanFalse), U8(5), |
| 810 B(LdaSmi), U8(20), | 812 B(LdaSmi), U8(20), |
| 811 B(Return), | 813 B(Return), |
| 812 B(LdaSmi), U8(-20), | 814 B(LdaSmi), U8(-20), |
| 813 B(Return), | 815 B(Return), |
| 814 B(LdaUndefined), | 816 B(LdaUndefined), |
| 815 B(Return), | 817 B(Return), |
| 816 ] | 818 ] |
| 817 constant pool: [ | 819 constant pool: [ |
| 818 ] | 820 ] |
| 819 handlers: [ | 821 handlers: [ |
| 820 ] | 822 ] |
| 821 | 823 |
| OLD | NEW |