| 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: number | 6 pool type: number |
| 7 execute: yes | 7 execute: yes |
| 8 wrap: yes | 8 wrap: yes |
| 9 | 9 |
| 10 --- | 10 --- |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 var x = 13; | 143 var x = 13; |
| 144 return +x; | 144 return +x; |
| 145 " | 145 " |
| 146 frame size: 1 | 146 frame size: 1 |
| 147 parameter count: 1 | 147 parameter count: 1 |
| 148 bytecode array length: 10 | 148 bytecode array length: 10 |
| 149 bytecodes: [ | 149 bytecodes: [ |
| 150 /* 30 E> */ B(StackCheck), | 150 /* 30 E> */ B(StackCheck), |
| 151 /* 42 S> */ B(LdaSmi), U8(13), | 151 /* 42 S> */ B(LdaSmi), U8(13), |
| 152 B(Star), R(0), | 152 B(Star), R(0), |
| 153 /* 46 S> */ B(LdaSmi), U8(1), | 153 /* 46 S> */ B(LdaConstant), U8(0), |
| 154 B(Mul), R(0), | 154 B(Mul), R(0), |
| 155 /* 57 S> */ B(Return), | 155 /* 57 S> */ B(Return), |
| 156 ] | 156 ] |
| 157 constant pool: [ | 157 constant pool: [ |
| 158 1, |
| 158 ] | 159 ] |
| 159 handlers: [ | 160 handlers: [ |
| 160 ] | 161 ] |
| 161 | 162 |
| 162 --- | 163 --- |
| 163 snippet: " | 164 snippet: " |
| 164 var x = 13; | 165 var x = 13; |
| 165 return -x; | 166 return -x; |
| 166 " | 167 " |
| 167 frame size: 1 | 168 frame size: 1 |
| 168 parameter count: 1 | 169 parameter count: 1 |
| 169 bytecode array length: 10 | 170 bytecode array length: 10 |
| 170 bytecodes: [ | 171 bytecodes: [ |
| 171 /* 30 E> */ B(StackCheck), | 172 /* 30 E> */ B(StackCheck), |
| 172 /* 42 S> */ B(LdaSmi), U8(13), | 173 /* 42 S> */ B(LdaSmi), U8(13), |
| 173 B(Star), R(0), | 174 B(Star), R(0), |
| 174 /* 46 S> */ B(LdaSmi), U8(-1), | 175 /* 46 S> */ B(LdaSmi), U8(-1), |
| 175 B(Mul), R(0), | 176 B(Mul), R(0), |
| 176 /* 57 S> */ B(Return), | 177 /* 57 S> */ B(Return), |
| 177 ] | 178 ] |
| 178 constant pool: [ | 179 constant pool: [ |
| 179 ] | 180 ] |
| 180 handlers: [ | 181 handlers: [ |
| 181 ] | 182 ] |
| 182 | 183 |
| OLD | NEW |