| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 [51, 224, 230], | 273 [51, 224, 230], |
| 274 ] | 274 ] |
| 275 | 275 |
| 276 --- | 276 --- |
| 277 snippet: " | 277 snippet: " |
| 278 function* f() { for (let x of [42]) yield x } | 278 function* f() { for (let x of [42]) yield x } |
| 279 f(); | 279 f(); |
| 280 " | 280 " |
| 281 frame size: 18 | 281 frame size: 18 |
| 282 parameter count: 1 | 282 parameter count: 1 |
| 283 bytecode array length: 754 | 283 bytecode array length: 751 |
| 284 bytecodes: [ | 284 bytecodes: [ |
| 285 B(Ldar), R(new_target), | 285 B(Ldar), R(new_target), |
| 286 B(JumpIfUndefined), U8(33), | 286 B(JumpIfUndefined), U8(33), |
| 287 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 287 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
| 288 B(PushContext), R(4), | 288 B(PushContext), R(4), |
| 289 B(ResumeGenerator), R(new_target), | 289 B(ResumeGenerator), R(new_target), |
| 290 B(Star), R(3), | 290 B(Star), R(3), |
| 291 B(LdaZero), | 291 B(LdaZero), |
| 292 B(TestEqualStrictNoFeedback), R(3), | 292 B(TestEqualStrictNoFeedback), R(3), |
| 293 B(JumpIfTrue), U8(60), | 293 B(JumpIfTrue), U8(60), |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 B(Star), R(9), | 467 B(Star), R(9), |
| 468 B(LdaSmi), I8(1), | 468 B(LdaSmi), I8(1), |
| 469 B(Star), R(8), | 469 B(Star), R(8), |
| 470 B(LdaTheHole), | 470 B(LdaTheHole), |
| 471 B(SetPendingMessage), | 471 B(SetPendingMessage), |
| 472 B(Star), R(10), | 472 B(Star), R(10), |
| 473 B(LdaContextSlot), R(1), U8(9), U8(0), | 473 B(LdaContextSlot), R(1), U8(9), U8(0), |
| 474 B(Star), R(11), | 474 B(Star), R(11), |
| 475 B(LdaZero), | 475 B(LdaZero), |
| 476 B(TestEqualStrict), R(11), U8(16), | 476 B(TestEqualStrict), R(11), U8(16), |
| 477 B(JumpIfTrue), U8(153), | 477 B(JumpIfTrue), U8(150), |
| 478 B(LdaContextSlot), R(1), U8(7), U8(0), | 478 B(LdaContextSlot), R(1), U8(7), U8(0), |
| 479 B(Star), R(11), | 479 B(Star), R(11), |
| 480 B(LdaNamedProperty), R(11), U8(9), U8(17), | 480 B(LdaNamedProperty), R(11), U8(9), U8(17), |
| 481 B(StaContextSlot), R(1), U8(11), U8(0), | 481 B(StaContextSlot), R(1), U8(11), U8(0), |
| 482 B(LdaContextSlot), R(1), U8(11), U8(0), | 482 B(LdaContextSlot), R(1), U8(11), U8(0), |
| 483 B(Star), R(11), | 483 B(TestUndetectable), |
| 484 B(TestUndetectable), R(11), | |
| 485 B(JumpIfFalse), U8(4), | 484 B(JumpIfFalse), U8(4), |
| 486 B(Jump), U8(127), | 485 B(Jump), U8(127), |
| 487 B(LdaContextSlot), R(1), U8(9), U8(0), | 486 B(LdaContextSlot), R(1), U8(9), U8(0), |
| 488 B(Star), R(11), | 487 B(Star), R(11), |
| 489 B(LdaSmi), I8(1), | 488 B(LdaSmi), I8(1), |
| 490 B(TestEqualStrict), R(11), U8(20), | 489 B(TestEqualStrict), R(11), U8(20), |
| 491 B(JumpIfFalse), U8(69), | 490 B(JumpIfFalse), U8(69), |
| 492 B(LdaContextSlot), R(1), U8(11), U8(0), | 491 B(LdaContextSlot), R(1), U8(11), U8(0), |
| 493 B(TestTypeOf), U8(5), | 492 B(TestTypeOf), U8(5), |
| 494 B(JumpIfFalse), U8(4), | 493 B(JumpIfFalse), U8(4), |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 SYMBOL_TYPE, | 609 SYMBOL_TYPE, |
| 611 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 610 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
| 612 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 611 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
| 613 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 612 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
| 614 FIXED_ARRAY_TYPE, | 613 FIXED_ARRAY_TYPE, |
| 615 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 614 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
| 616 FIXED_ARRAY_TYPE, | 615 FIXED_ARRAY_TYPE, |
| 617 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 616 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
| 618 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 617 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 619 FIXED_ARRAY_TYPE, | 618 FIXED_ARRAY_TYPE, |
| 620 Smi [566], | 619 Smi [563], |
| 621 ] | 620 ] |
| 622 handlers: [ | 621 handlers: [ |
| 623 [51, 678, 684], | 622 [51, 675, 681], |
| 624 [146, 437, 443], | 623 [146, 437, 443], |
| 625 [149, 393, 395], | 624 [149, 393, 395], |
| 626 [533, 549, 551], | 625 [530, 546, 548], |
| 627 ] | 626 ] |
| 628 | 627 |
| OLD | NEW |