OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 execute: yes | 6 execute: yes |
7 wrap: no | 7 wrap: no |
8 test function name: f | 8 test function name: f |
9 | 9 |
10 --- | 10 --- |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 [48, 233, 239], | 260 [48, 233, 239], |
261 ] | 261 ] |
262 | 262 |
263 --- | 263 --- |
264 snippet: " | 264 snippet: " |
265 function* f() { for (let x of [42]) yield x } | 265 function* f() { for (let x of [42]) yield x } |
266 f(); | 266 f(); |
267 " | 267 " |
268 frame size: 18 | 268 frame size: 18 |
269 parameter count: 1 | 269 parameter count: 1 |
270 bytecode array length: 805 | 270 bytecode array length: 807 |
271 bytecodes: [ | 271 bytecodes: [ |
272 B(Ldar), R(new_target), | 272 B(Ldar), R(new_target), |
273 B(JumpIfUndefined), U8(28), | 273 B(JumpIfUndefined), U8(28), |
274 B(ResumeGenerator), R(new_target), | 274 B(ResumeGenerator), R(new_target), |
275 B(Star), R(4), | 275 B(Star), R(4), |
276 B(LdaZero), | 276 B(LdaZero), |
277 B(TestEqualStrict), R(4), U8(0), | 277 B(TestEqualStrict), R(4), U8(0), |
278 B(JumpIfTrue), U8(68), | 278 B(JumpIfTrue), U8(68), |
279 B(LdaSmi), U8(1), | 279 B(LdaSmi), U8(1), |
280 B(TestEqualStrict), R(4), U8(0), | 280 B(TestEqualStrict), R(4), U8(0), |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U
8(2), | 410 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U
8(2), |
411 B(PopContext), R(2), | 411 B(PopContext), R(2), |
412 B(PopContext), R(2), | 412 B(PopContext), R(2), |
413 B(PopContext), R(2), | 413 B(PopContext), R(2), |
414 B(PopContext), R(2), | 414 B(PopContext), R(2), |
415 B(PopContext), R(2), | 415 B(PopContext), R(2), |
416 B(PopContext), R(2), | 416 B(PopContext), R(2), |
417 B(Star), R(9), | 417 B(Star), R(9), |
418 B(LdaZero), | 418 B(LdaZero), |
419 B(Star), R(8), | 419 B(Star), R(8), |
420 B(Jump), U8(74), | 420 B(Jump), U8(76), |
421 B(Ldar), R(13), | 421 B(Ldar), R(13), |
422 /* 36 E> */ B(Throw), | 422 /* 36 E> */ B(Throw), |
423 B(Ldar), R(13), | 423 B(Ldar), R(13), |
424 B(PopContext), R(2), | 424 B(PopContext), R(2), |
425 B(LdaZero), | 425 B(LdaZero), |
426 B(StaContextSlot), R(1), U8(9), U8(0), | 426 B(StaContextSlot), R(1), U8(9), U8(0), |
427 B(Wide), B(Jump), U16(-234), | 427 B(Wide), B(JumpLoop), U16(-234), U16(0), |
428 B(Jump), U8(44), | 428 B(Jump), U8(44), |
429 B(Star), R(12), | 429 B(Star), R(12), |
430 B(Ldar), R(closure), | 430 B(Ldar), R(closure), |
431 B(CreateCatchContext), R(12), U8(11), U8(12), | 431 B(CreateCatchContext), R(12), U8(11), U8(12), |
432 B(Star), R(11), | 432 B(Star), R(11), |
433 B(PushContext), R(2), | 433 B(PushContext), R(2), |
434 B(LdrContextSlot), R(0), U8(9), U8(0), R(12), | 434 B(LdrContextSlot), R(0), U8(9), U8(0), R(12), |
435 B(LdaSmi), U8(2), | 435 B(LdaSmi), U8(2), |
436 B(TestEqualStrict), R(12), U8(13), | 436 B(TestEqualStrict), R(12), U8(13), |
437 B(JumpIfFalse), U8(8), | 437 B(JumpIfFalse), U8(8), |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 FIXED_ARRAY_TYPE, | 578 FIXED_ARRAY_TYPE, |
579 FIXED_ARRAY_TYPE, | 579 FIXED_ARRAY_TYPE, |
580 SYMBOL_TYPE, | 580 SYMBOL_TYPE, |
581 Smi [158], | 581 Smi [158], |
582 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 582 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
583 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 583 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
584 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 584 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
585 FIXED_ARRAY_TYPE, | 585 FIXED_ARRAY_TYPE, |
586 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 586 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
587 Smi [146], | 587 Smi [146], |
588 Smi [167], | 588 Smi [169], |
589 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 589 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
590 FIXED_ARRAY_TYPE, | 590 FIXED_ARRAY_TYPE, |
591 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 591 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
592 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 592 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
593 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 593 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
594 FIXED_ARRAY_TYPE, | 594 FIXED_ARRAY_TYPE, |
595 Smi [129], | 595 Smi [129], |
596 Smi [166], | 596 Smi [166], |
597 Smi [155], | 597 Smi [155], |
598 Smi [601], | 598 Smi [603], |
599 ] | 599 ] |
600 handlers: [ | 600 handlers: [ |
601 [48, 718, 724], | 601 [48, 720, 726], |
602 [153, 458, 464], | 602 [153, 460, 466], |
603 [156, 414, 416], | 603 [156, 416, 418], |
604 [572, 586, 588], | 604 [574, 588, 590], |
605 ] | 605 ] |
606 | 606 |
OLD | NEW |