| 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 ignition generators: yes | 10 ignition generators: yes |
| 11 | 11 |
| 12 --- | 12 --- |
| 13 snippet: " | 13 snippet: " |
| 14 function* f() { } | 14 function* f() { } |
| 15 f(); |
| 15 " | 16 " |
| 16 frame size: 11 | 17 frame size: 11 |
| 17 parameter count: 1 | 18 parameter count: 1 |
| 18 bytecode array length: 203 | 19 bytecode array length: 203 |
| 19 bytecodes: [ | 20 bytecodes: [ |
| 20 B(Ldar), R(new_target), | 21 B(Ldar), R(new_target), |
| 21 B(JumpIfUndefined), U8(20), | 22 B(JumpIfUndefined), U8(20), |
| 22 B(ResumeGenerator), R(new_target), | 23 B(ResumeGenerator), R(new_target), |
| 23 B(Star), R(1), | 24 B(Star), R(1), |
| 24 B(LdaZero), | 25 B(LdaZero), |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 ] | 112 ] |
| 112 constant pool: [ | 113 constant pool: [ |
| 113 ] | 114 ] |
| 114 handlers: [ | 115 handlers: [ |
| 115 [38, 139, 145], | 116 [38, 139, 145], |
| 116 ] | 117 ] |
| 117 | 118 |
| 118 --- | 119 --- |
| 119 snippet: " | 120 snippet: " |
| 120 function* f() { yield 42 } | 121 function* f() { yield 42 } |
| 122 f(); |
| 121 " | 123 " |
| 122 frame size: 11 | 124 frame size: 11 |
| 123 parameter count: 1 | 125 parameter count: 1 |
| 124 bytecode array length: 297 | 126 bytecode array length: 297 |
| 125 bytecodes: [ | 127 bytecodes: [ |
| 126 B(Ldar), R(new_target), | 128 B(Ldar), R(new_target), |
| 127 B(JumpIfUndefined), U8(26), | 129 B(JumpIfUndefined), U8(26), |
| 128 B(ResumeGenerator), R(new_target), | 130 B(ResumeGenerator), R(new_target), |
| 129 B(Star), R(1), | 131 B(Star), R(1), |
| 130 B(LdaZero), | 132 B(LdaZero), |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 constant pool: [ | 263 constant pool: [ |
| 262 kInstanceTypeDontCare, | 264 kInstanceTypeDontCare, |
| 263 ] | 265 ] |
| 264 handlers: [ | 266 handlers: [ |
| 265 [44, 224, 230], | 267 [44, 224, 230], |
| 266 ] | 268 ] |
| 267 | 269 |
| 268 --- | 270 --- |
| 269 snippet: " | 271 snippet: " |
| 270 function* f() { for (let x of [42]) yield x } | 272 function* f() { for (let x of [42]) yield x } |
| 273 f(); |
| 271 " | 274 " |
| 272 frame size: 17 | 275 frame size: 17 |
| 273 parameter count: 1 | 276 parameter count: 1 |
| 274 bytecode array length: 808 | 277 bytecode array length: 808 |
| 275 bytecodes: [ | 278 bytecodes: [ |
| 276 B(Ldar), R(new_target), | 279 B(Ldar), R(new_target), |
| 277 B(JumpIfUndefined), U8(26), | 280 B(JumpIfUndefined), U8(26), |
| 278 B(ResumeGenerator), R(new_target), | 281 B(ResumeGenerator), R(new_target), |
| 279 B(Star), R(3), | 282 B(Star), R(3), |
| 280 B(LdaZero), | 283 B(LdaZero), |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 kInstanceTypeDontCare, | 640 kInstanceTypeDontCare, |
| 638 kInstanceTypeDontCare, | 641 kInstanceTypeDontCare, |
| 639 ] | 642 ] |
| 640 handlers: [ | 643 handlers: [ |
| 641 [44, 726, 732], | 644 [44, 726, 732], |
| 642 [156, 462, 468], | 645 [156, 462, 468], |
| 643 [159, 413, 415], | 646 [159, 413, 415], |
| 644 [570, 585, 587], | 647 [570, 585, 587], |
| 645 ] | 648 ] |
| 646 | 649 |
| OLD | NEW |