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 | 10 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 [45, 222, 228], | 261 [45, 222, 228], |
262 ] | 262 ] |
263 | 263 |
264 --- | 264 --- |
265 snippet: " | 265 snippet: " |
266 function* f() { for (let x of [42]) yield x } | 266 function* f() { for (let x of [42]) yield x } |
267 f(); | 267 f(); |
268 " | 268 " |
269 frame size: 18 | 269 frame size: 18 |
270 parameter count: 1 | 270 parameter count: 1 |
271 bytecode array length: 756 | 271 bytecode array length: 742 |
272 bytecodes: [ | 272 bytecodes: [ |
273 B(Ldar), R(new_target), | 273 B(Ldar), R(new_target), |
274 B(JumpIfUndefined), U8(26), | 274 B(JumpIfUndefined), U8(26), |
275 B(ResumeGenerator), R(new_target), | 275 B(ResumeGenerator), R(new_target), |
276 B(Star), R(4), | 276 B(Star), R(4), |
277 B(LdaZero), | 277 B(LdaZero), |
278 B(TestEqualStrict), R(4), | 278 B(TestEqualStrict), R(4), |
279 B(JumpIfTrue), U8(63), | 279 B(JumpIfTrue), U8(63), |
280 B(LdaSmi), U8(1), | 280 B(LdaSmi), U8(1), |
281 B(TestEqualStrict), R(4), | 281 B(TestEqualStrict), R(4), |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U
8(2), | 411 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U
8(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(PopContext), R(2), | 417 B(PopContext), R(2), |
418 B(Star), R(9), | 418 B(Star), R(9), |
419 B(LdaZero), | 419 B(LdaZero), |
420 B(Star), R(8), | 420 B(Star), R(8), |
421 B(Jump), U8(75), | 421 B(Jump), U8(68), |
422 B(Ldar), R(13), | 422 B(Ldar), R(13), |
423 /* 36 E> */ B(Throw), | 423 /* 36 E> */ B(Throw), |
424 B(Ldar), R(13), | 424 B(Ldar), R(13), |
425 B(PopContext), R(2), | 425 B(PopContext), R(2), |
426 B(LdaZero), | 426 B(LdaZero), |
427 B(StaContextSlot), R(1), U8(9), | 427 B(StaContextSlot), R(1), U8(9), |
428 B(Wide), B(Jump), U16(-215), | 428 B(Wide), B(Jump), U16(-215), |
429 B(Jump), U8(46), | 429 B(Jump), U8(39), |
430 B(Star), R(13), | |
431 B(LdaConstant), U8(11), | |
432 B(Star), R(12), | 430 B(Star), R(12), |
433 B(Mov), R(closure), R(14), | 431 B(Ldar), R(closure), |
434 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), | 432 B(CreateCatchContext), R(12), U8(11), |
435 B(Star), R(11), | 433 B(Star), R(11), |
436 B(PushContext), R(2), | 434 B(PushContext), R(2), |
437 B(LdrContextSlot), R(0), U8(9), R(12), | 435 B(LdrContextSlot), R(0), U8(9), R(12), |
438 B(LdaSmi), U8(2), | 436 B(LdaSmi), U8(2), |
439 B(TestEqualStrict), R(12), | 437 B(TestEqualStrict), R(12), |
440 B(JumpIfFalse), U8(7), | 438 B(JumpIfFalse), U8(7), |
441 B(LdaSmi), U8(1), | 439 B(LdaSmi), U8(1), |
442 B(StaContextSlot), R(0), U8(9), | 440 B(StaContextSlot), R(0), U8(9), |
443 B(LdrContextSlot), R(context), U8(4), R(12), | 441 B(LdrContextSlot), R(context), U8(4), R(12), |
444 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), | 442 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), |
(...skipping 14 matching lines...) Expand all Loading... |
459 B(LdaUndefined), | 457 B(LdaUndefined), |
460 B(TestEqualStrict), R(11), | 458 B(TestEqualStrict), R(11), |
461 B(JumpIfTrueConstant), U8(16), | 459 B(JumpIfTrueConstant), U8(16), |
462 B(LdrContextSlot), R(1), U8(7), R(11), | 460 B(LdrContextSlot), R(1), U8(7), R(11), |
463 B(LdaNamedProperty), R(11), U8(12), U8(13), | 461 B(LdaNamedProperty), R(11), U8(12), U8(13), |
464 B(StaContextSlot), R(1), U8(11), | 462 B(StaContextSlot), R(1), U8(11), |
465 B(LdrContextSlot), R(1), U8(11), R(11), | 463 B(LdrContextSlot), R(1), U8(11), R(11), |
466 B(LdaNull), | 464 B(LdaNull), |
467 B(TestEqual), R(11), | 465 B(TestEqual), R(11), |
468 B(JumpIfFalse), U8(4), | 466 B(JumpIfFalse), U8(4), |
469 B(Jump), U8(124), | 467 B(Jump), U8(117), |
470 B(LdrContextSlot), R(1), U8(9), R(11), | 468 B(LdrContextSlot), R(1), U8(9), R(11), |
471 B(LdaSmi), U8(1), | 469 B(LdaSmi), U8(1), |
472 B(TestEqualStrict), R(11), | 470 B(TestEqualStrict), R(11), |
473 B(JumpIfFalse), U8(78), | 471 B(JumpIfFalse), U8(71), |
474 B(LdaContextSlot), R(1), U8(11), | 472 B(LdaContextSlot), R(1), U8(11), |
475 B(TypeOf), | 473 B(TypeOf), |
476 B(Star), R(11), | 474 B(Star), R(11), |
477 B(LdaConstant), U8(13), | 475 B(LdaConstant), U8(13), |
478 B(TestEqualStrict), R(11), | 476 B(TestEqualStrict), R(11), |
479 B(JumpIfFalse), U8(4), | 477 B(JumpIfFalse), U8(4), |
480 B(Jump), U8(18), | 478 B(Jump), U8(18), |
481 B(Wide), B(LdaSmi), U16(129), | 479 B(Wide), B(LdaSmi), U16(129), |
482 B(Star), R(11), | 480 B(Star), R(11), |
483 B(LdaConstant), U8(14), | 481 B(LdaConstant), U8(14), |
484 B(Star), R(12), | 482 B(Star), R(12), |
485 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), | 483 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), |
486 B(Throw), | 484 B(Throw), |
487 B(Mov), R(context), R(11), | 485 B(Mov), R(context), R(11), |
488 B(LdrContextSlot), R(1), U8(11), R(12), | 486 B(LdrContextSlot), R(1), U8(11), R(12), |
489 B(LdrContextSlot), R(1), U8(7), R(13), | 487 B(LdrContextSlot), R(1), U8(7), R(13), |
490 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), | 488 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
491 B(Jump), U8(29), | 489 B(Jump), U8(22), |
492 B(Star), R(13), | |
493 B(LdaConstant), U8(11), | |
494 B(Star), R(12), | 490 B(Star), R(12), |
495 B(Mov), R(closure), R(14), | 491 B(Ldar), R(closure), |
496 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), | 492 B(CreateCatchContext), R(12), U8(11), |
497 B(Star), R(11), | 493 B(Star), R(11), |
498 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 494 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
499 B(Ldar), R(11), | 495 B(Ldar), R(11), |
500 B(PushContext), R(2), | 496 B(PushContext), R(2), |
501 B(PopContext), R(2), | 497 B(PopContext), R(2), |
502 B(Jump), U8(38), | 498 B(Jump), U8(38), |
503 B(LdrContextSlot), R(1), U8(11), R(11), | 499 B(LdrContextSlot), R(1), U8(11), R(11), |
504 B(LdrContextSlot), R(1), U8(7), R(12), | 500 B(LdrContextSlot), R(1), U8(7), R(12), |
505 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), | 501 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), |
506 B(StaContextSlot), R(1), U8(12), | 502 B(StaContextSlot), R(1), U8(12), |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 kInstanceTypeDontCare, | 589 kInstanceTypeDontCare, |
594 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 590 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
595 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 591 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 592 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
597 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 593 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
598 kInstanceTypeDontCare, | 594 kInstanceTypeDontCare, |
599 kInstanceTypeDontCare, | 595 kInstanceTypeDontCare, |
600 kInstanceTypeDontCare, | 596 kInstanceTypeDontCare, |
601 ] | 597 ] |
602 handlers: [ | 598 handlers: [ |
603 [45, 675, 681], | 599 [45, 661, 667], |
604 [143, 430, 436], | 600 [143, 423, 429], |
605 [146, 384, 386], | 601 [146, 384, 386], |
606 [532, 544, 546], | 602 [525, 537, 539], |
607 ] | 603 ] |
608 | 604 |
OLD | NEW |