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: 23 | 119 bytecode array length: 22 |
120 bytecodes: [ | 120 bytecodes: [ |
121 /* 10 E> */ B(StackCheck), | 121 /* 10 E> */ B(StackCheck), |
122 /* 25 S> */ B(LdaSmi), U8(1), | 122 /* 25 S> */ B(LdaSmi), U8(1), |
123 B(Star), R(0), | 123 B(Star), R(0), |
124 /* 30 S> */ B(JumpIfToBooleanFalse), U8(13), | 124 /* 30 S> */ B(JumpIfToBooleanFalse), U8(12), |
125 /* 43 S> */ B(LdaSmi), U8(1), | 125 /* 43 S> */ B(AddSmi), U8(1), R(0), |
126 B(Add), R(0), | |
127 B(Mov), R(0), R(1), | 126 B(Mov), R(0), R(1), |
128 B(Star), R(0), | 127 B(Star), R(0), |
129 B(Jump), U8(5), | 128 B(Jump), U8(5), |
130 /* 66 S> */ B(LdaSmi), U8(2), | 129 /* 66 S> */ B(LdaSmi), U8(2), |
131 /* 80 S> */ B(Return), | 130 /* 80 S> */ B(Return), |
132 B(LdaUndefined), | 131 B(LdaUndefined), |
133 /* 80 S> */ B(Return), | 132 /* 80 S> */ B(Return), |
134 ] | 133 ] |
135 constant pool: [ | 134 constant pool: [ |
136 ] | 135 ] |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 /* 69 S> */ B(LdaSmi), U8(-20), | 730 /* 69 S> */ B(LdaSmi), U8(-20), |
732 /* 85 S> */ B(Return), | 731 /* 85 S> */ B(Return), |
733 B(LdaUndefined), | 732 B(LdaUndefined), |
734 /* 85 S> */ B(Return), | 733 /* 85 S> */ B(Return), |
735 ] | 734 ] |
736 constant pool: [ | 735 constant pool: [ |
737 ] | 736 ] |
738 handlers: [ | 737 handlers: [ |
739 ] | 738 ] |
740 | 739 |
OLD | NEW |