| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 wrap: no | 6 wrap: no |
| 7 test function name: f | 7 test function name: f |
| 8 | 8 |
| 9 --- | 9 --- |
| 10 snippet: " | 10 snippet: " |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 [46, 225, 231], | 270 [46, 225, 231], |
| 271 ] | 271 ] |
| 272 | 272 |
| 273 --- | 273 --- |
| 274 snippet: " | 274 snippet: " |
| 275 function* f() { for (let x of [42]) yield x } | 275 function* f() { for (let x of [42]) yield x } |
| 276 f(); | 276 f(); |
| 277 " | 277 " |
| 278 frame size: 17 | 278 frame size: 17 |
| 279 parameter count: 1 | 279 parameter count: 1 |
| 280 bytecode array length: 771 | 280 bytecode array length: 769 |
| 281 bytecodes: [ | 281 bytecodes: [ |
| 282 B(Ldar), R(new_target), | 282 B(Ldar), R(new_target), |
| 283 B(JumpIfUndefined), U8(28), | 283 B(JumpIfUndefined), U8(28), |
| 284 B(ResumeGenerator), R(new_target), | 284 B(ResumeGenerator), R(new_target), |
| 285 B(Star), R(3), | 285 B(Star), R(3), |
| 286 B(LdaZero), | 286 B(LdaZero), |
| 287 B(TestEqualStrict), R(3), U8(0), | 287 B(TestEqualStrict), R(3), U8(0), |
| 288 B(JumpIfTrue), U8(60), | 288 B(JumpIfTrue), U8(60), |
| 289 B(LdaSmi), U8(1), | 289 B(LdaSmi), U8(1), |
| 290 B(TestEqualStrict), R(3), U8(0), | 290 B(TestEqualStrict), R(3), U8(0), |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 B(Star), R(10), | 468 B(Star), R(10), |
| 469 B(LdaZero), | 469 B(LdaZero), |
| 470 B(TestEqualStrict), R(10), U8(15), | 470 B(TestEqualStrict), R(10), U8(15), |
| 471 B(JumpIfTrueConstant), U8(17), | 471 B(JumpIfTrueConstant), U8(17), |
| 472 B(LdaContextSlot), R(1), U8(7), U8(0), | 472 B(LdaContextSlot), R(1), U8(7), U8(0), |
| 473 B(Star), R(10), | 473 B(Star), R(10), |
| 474 B(LdaNamedProperty), R(10), U8(12), U8(16), | 474 B(LdaNamedProperty), R(10), U8(12), U8(16), |
| 475 B(StaContextSlot), R(1), U8(11), U8(0), | 475 B(StaContextSlot), R(1), U8(11), U8(0), |
| 476 B(LdaContextSlot), R(1), U8(11), U8(0), | 476 B(LdaContextSlot), R(1), U8(11), U8(0), |
| 477 B(Star), R(10), | 477 B(Star), R(10), |
| 478 B(LdaNull), | 478 B(TestUndetectable), R(10), |
| 479 B(TestEqual), R(10), U8(18), | |
| 480 B(JumpIfFalse), U8(4), | 479 B(JumpIfFalse), U8(4), |
| 481 B(JumpConstant), U8(16), | 480 B(JumpConstant), U8(16), |
| 482 B(LdaContextSlot), R(1), U8(9), U8(0), | 481 B(LdaContextSlot), R(1), U8(9), U8(0), |
| 483 B(Star), R(10), | 482 B(Star), R(10), |
| 484 B(LdaSmi), U8(1), | 483 B(LdaSmi), U8(1), |
| 485 B(TestEqualStrict), R(10), U8(19), | 484 B(TestEqualStrict), R(10), U8(19), |
| 486 B(JumpIfFalse), U8(75), | 485 B(JumpIfFalse), U8(75), |
| 487 B(LdaContextSlot), R(1), U8(11), U8(0), | 486 B(LdaContextSlot), R(1), U8(11), U8(0), |
| 488 B(TypeOf), | 487 B(TypeOf), |
| 489 B(Star), R(10), | 488 B(Star), R(10), |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 FIXED_ARRAY_TYPE, | 612 FIXED_ARRAY_TYPE, |
| 614 Smi [135], | 613 Smi [135], |
| 615 Smi [152], | 614 Smi [152], |
| 616 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 615 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
| 617 FIXED_ARRAY_TYPE, | 616 FIXED_ARRAY_TYPE, |
| 618 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 617 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
| 619 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 618 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
| 620 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 619 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 621 FIXED_ARRAY_TYPE, | 620 FIXED_ARRAY_TYPE, |
| 622 Smi [133], | 621 Smi [133], |
| 623 Smi [161], | 622 Smi [159], |
| 624 Smi [581], | 623 Smi [579], |
| 625 ] | 624 ] |
| 626 handlers: [ | 625 handlers: [ |
| 627 [46, 690, 696], | 626 [46, 688, 694], |
| 628 [143, 438, 444], | 627 [143, 438, 444], |
| 629 [146, 394, 396], | 628 [146, 394, 396], |
| 630 [542, 558, 560], | 629 [540, 556, 558], |
| 631 ] | 630 ] |
| 632 | 631 |
| OLD | NEW |