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 [47, 228, 234], | 261 [47, 228, 234], |
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: 763 | 271 bytecode array length: 765 |
272 bytecodes: [ | 272 bytecodes: [ |
273 B(Ldar), R(new_target), | 273 B(Ldar), R(new_target), |
274 B(JumpIfUndefined), U8(28), | 274 B(JumpIfUndefined), U8(28), |
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), U8(0), | 278 B(TestEqualStrict), R(4), U8(0), |
279 B(JumpIfTrue), U8(64), | 279 B(JumpIfTrue), U8(64), |
280 B(LdaSmi), U8(1), | 280 B(LdaSmi), U8(1), |
281 B(TestEqualStrict), R(4), U8(0), | 281 B(TestEqualStrict), R(4), U8(0), |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 B(TestEqualStrict), R(11), U8(0), | 315 B(TestEqualStrict), R(11), U8(0), |
316 B(JumpIfTrue), U8(22), | 316 B(JumpIfTrue), U8(22), |
317 B(Jump), U8(2), | 317 B(Jump), U8(2), |
318 B(LdaTrue), | 318 B(LdaTrue), |
319 B(Star), R(13), | 319 B(Star), R(13), |
320 B(Mov), R(10), R(12), | 320 B(Mov), R(10), R(12), |
321 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U
8(2), | 321 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U
8(2), |
322 B(Star), R(6), | 322 B(Star), R(6), |
323 B(LdaZero), | 323 B(LdaZero), |
324 B(Star), R(5), | 324 B(Star), R(5), |
325 B(JumpConstant), U8(17), | 325 B(JumpConstant), U8(19), |
326 B(Ldar), R(10), | 326 B(Ldar), R(10), |
327 /* 11 E> */ B(Throw), | 327 /* 11 E> */ B(Throw), |
328 B(Ldar), R(closure), | 328 B(Ldar), R(closure), |
329 B(CreateBlockContext), U8(0), | 329 B(CreateBlockContext), U8(0), |
330 B(PushContext), R(1), | 330 B(PushContext), R(1), |
331 B(LdaTheHole), | 331 B(LdaTheHole), |
332 B(StaContextSlot), R(context), U8(4), | 332 B(StaContextSlot), R(context), U8(4), |
333 B(LdaZero), | 333 B(LdaZero), |
334 B(StaContextSlot), R(1), U8(9), | 334 B(StaContextSlot), R(1), U8(9), |
335 B(Mov), R(context), R(10), | 335 B(Mov), R(context), R(10), |
(...skipping 75 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(69), | 421 B(Jump), U8(70), |
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(-219), | 428 B(Wide), B(Jump), U16(-219), |
429 B(Jump), U8(40), | 429 B(Jump), U8(41), |
430 B(Star), R(12), | 430 B(Star), R(12), |
431 B(Ldar), R(closure), | 431 B(Ldar), R(closure), |
432 B(CreateCatchContext), R(12), U8(11), | 432 B(CreateCatchContext), R(12), U8(11), U8(12), |
433 B(Star), R(11), | 433 B(Star), R(11), |
434 B(PushContext), R(2), | 434 B(PushContext), R(2), |
435 B(LdrContextSlot), R(0), U8(9), R(12), | 435 B(LdrContextSlot), R(0), U8(9), R(12), |
436 B(LdaSmi), U8(2), | 436 B(LdaSmi), U8(2), |
437 B(TestEqualStrict), R(12), U8(13), | 437 B(TestEqualStrict), R(12), U8(13), |
438 B(JumpIfFalse), U8(7), | 438 B(JumpIfFalse), U8(7), |
439 B(LdaSmi), U8(1), | 439 B(LdaSmi), U8(1), |
440 B(StaContextSlot), R(0), U8(9), | 440 B(StaContextSlot), R(0), U8(9), |
441 B(LdrContextSlot), R(context), U8(4), R(12), | 441 B(LdrContextSlot), R(context), U8(4), R(12), |
442 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), | 442 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), |
443 B(PopContext), R(2), | 443 B(PopContext), R(2), |
444 B(LdaSmi), U8(-1), | 444 B(LdaSmi), U8(-1), |
445 B(Star), R(8), | 445 B(Star), R(8), |
446 B(Jump), U8(8), | 446 B(Jump), U8(8), |
447 B(Star), R(9), | 447 B(Star), R(9), |
448 B(LdaSmi), U8(1), | 448 B(LdaSmi), U8(1), |
449 B(Star), R(8), | 449 B(Star), R(8), |
450 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 450 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
451 B(Star), R(10), | 451 B(Star), R(10), |
452 B(LdrContextSlot), R(1), U8(9), R(11), | 452 B(LdrContextSlot), R(1), U8(9), R(11), |
453 B(LdaZero), | 453 B(LdaZero), |
454 B(TestEqualStrict), R(11), U8(14), | 454 B(TestEqualStrict), R(11), U8(14), |
455 B(JumpIfTrueConstant), U8(15), | 455 B(JumpIfTrueConstant), U8(17), |
456 B(LdrContextSlot), R(1), U8(7), R(11), | 456 B(LdrContextSlot), R(1), U8(7), R(11), |
457 B(LdaUndefined), | 457 B(LdaUndefined), |
458 B(TestEqualStrict), R(11), U8(15), | 458 B(TestEqualStrict), R(11), U8(15), |
459 B(JumpIfTrueConstant), U8(16), | 459 B(JumpIfTrueConstant), U8(18), |
460 B(LdrContextSlot), R(1), U8(7), R(11), | 460 B(LdrContextSlot), R(1), U8(7), R(11), |
461 B(LdaNamedProperty), R(11), U8(12), U8(16), | 461 B(LdaNamedProperty), R(11), U8(13), U8(16), |
462 B(StaContextSlot), R(1), U8(11), | 462 B(StaContextSlot), R(1), U8(11), |
463 B(LdrContextSlot), R(1), U8(11), R(11), | 463 B(LdrContextSlot), R(1), U8(11), R(11), |
464 B(LdaNull), | 464 B(LdaNull), |
465 B(TestEqual), R(11), U8(18), | 465 B(TestEqual), R(11), U8(18), |
466 B(JumpIfFalse), U8(4), | 466 B(JumpIfFalse), U8(4), |
467 B(Jump), U8(119), | 467 B(Jump), U8(120), |
468 B(LdrContextSlot), R(1), U8(9), R(11), | 468 B(LdrContextSlot), R(1), U8(9), R(11), |
469 B(LdaSmi), U8(1), | 469 B(LdaSmi), U8(1), |
470 B(TestEqualStrict), R(11), U8(19), | 470 B(TestEqualStrict), R(11), U8(19), |
471 B(JumpIfFalse), U8(72), | 471 B(JumpIfFalse), U8(73), |
472 B(LdaContextSlot), R(1), U8(11), | 472 B(LdaContextSlot), R(1), U8(11), |
473 B(TypeOf), | 473 B(TypeOf), |
474 B(Star), R(11), | 474 B(Star), R(11), |
475 B(LdaConstant), U8(13), | 475 B(LdaConstant), U8(14), |
476 B(TestEqualStrict), R(11), U8(20), | 476 B(TestEqualStrict), R(11), U8(20), |
477 B(JumpIfFalse), U8(4), | 477 B(JumpIfFalse), U8(4), |
478 B(Jump), U8(18), | 478 B(Jump), U8(18), |
479 B(Wide), B(LdaSmi), U16(128), | 479 B(Wide), B(LdaSmi), U16(128), |
480 B(Star), R(11), | 480 B(Star), R(11), |
481 B(LdaConstant), U8(14), | 481 B(LdaConstant), U8(15), |
482 B(Star), R(12), | 482 B(Star), R(12), |
483 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), | 483 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), |
484 B(Throw), | 484 B(Throw), |
485 B(Mov), R(context), R(11), | 485 B(Mov), R(context), R(11), |
486 B(LdrContextSlot), R(1), U8(11), R(12), | 486 B(LdrContextSlot), R(1), U8(11), R(12), |
487 B(LdrContextSlot), R(1), U8(7), R(13), | 487 B(LdrContextSlot), R(1), U8(7), R(13), |
488 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), | 488 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
489 B(Jump), U8(22), | 489 B(Jump), U8(23), |
490 B(Star), R(12), | 490 B(Star), R(12), |
491 B(Ldar), R(closure), | 491 B(Ldar), R(closure), |
492 B(CreateCatchContext), R(12), U8(11), | 492 B(CreateCatchContext), R(12), U8(11), U8(16), |
493 B(Star), R(11), | 493 B(Star), R(11), |
494 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 494 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
495 B(Ldar), R(11), | 495 B(Ldar), R(11), |
496 B(PushContext), R(2), | 496 B(PushContext), R(2), |
497 B(PopContext), R(2), | 497 B(PopContext), R(2), |
498 B(Jump), U8(38), | 498 B(Jump), U8(38), |
499 B(LdrContextSlot), R(1), U8(11), R(11), | 499 B(LdrContextSlot), R(1), U8(11), R(11), |
500 B(LdrContextSlot), R(1), U8(7), R(12), | 500 B(LdrContextSlot), R(1), U8(7), R(12), |
501 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), | 501 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), |
502 B(StaContextSlot), R(1), U8(12), | 502 B(StaContextSlot), R(1), U8(12), |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 InstanceType::SYMBOL_TYPE, | 581 InstanceType::SYMBOL_TYPE, |
582 kInstanceTypeDontCare, | 582 kInstanceTypeDontCare, |
583 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 583 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
584 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 584 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
585 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 585 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
586 InstanceType::FIXED_ARRAY_TYPE, | 586 InstanceType::FIXED_ARRAY_TYPE, |
587 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 587 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
588 kInstanceTypeDontCare, | 588 kInstanceTypeDontCare, |
589 kInstanceTypeDontCare, | 589 kInstanceTypeDontCare, |
590 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 590 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 591 InstanceType::FIXED_ARRAY_TYPE, |
591 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 592 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
592 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 593 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
593 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 594 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 595 InstanceType::FIXED_ARRAY_TYPE, |
594 kInstanceTypeDontCare, | 596 kInstanceTypeDontCare, |
595 kInstanceTypeDontCare, | 597 kInstanceTypeDontCare, |
596 kInstanceTypeDontCare, | 598 kInstanceTypeDontCare, |
597 ] | 599 ] |
598 handlers: [ | 600 handlers: [ |
599 [47, 677, 683], | 601 [47, 679, 685], |
600 [147, 432, 438], | 602 [147, 433, 439], |
601 [150, 392, 394], | 603 [150, 392, 394], |
602 [539, 551, 553], | 604 [540, 552, 554], |
603 ] | 605 ] |
604 | 606 |
OLD | NEW |