| 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 ignition generators: yes | 10 ignition generators: yes |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 [44, 221, 227], | 258 [44, 221, 227], |
| 259 ] | 259 ] |
| 260 | 260 |
| 261 --- | 261 --- |
| 262 snippet: " | 262 snippet: " |
| 263 function* f() { for (let x of [42]) yield x } | 263 function* f() { for (let x of [42]) yield x } |
| 264 f(); | 264 f(); |
| 265 " | 265 " |
| 266 frame size: 17 | 266 frame size: 17 |
| 267 parameter count: 1 | 267 parameter count: 1 |
| 268 bytecode array length: 779 | 268 bytecode array length: 775 |
| 269 bytecodes: [ | 269 bytecodes: [ |
| 270 B(Ldar), R(new_target), | 270 B(Ldar), R(new_target), |
| 271 B(JumpIfUndefined), U8(26), | 271 B(JumpIfUndefined), U8(26), |
| 272 B(ResumeGenerator), R(new_target), | 272 B(ResumeGenerator), R(new_target), |
| 273 B(Star), R(3), | 273 B(Star), R(3), |
| 274 B(LdaZero), | 274 B(LdaZero), |
| 275 B(TestEqualStrict), R(3), | 275 B(TestEqualStrict), R(3), |
| 276 B(JumpIfTrue), U8(62), | 276 B(JumpIfTrue), U8(62), |
| 277 B(LdaSmi), U8(1), | 277 B(LdaSmi), U8(1), |
| 278 B(TestEqualStrict), R(3), | 278 B(TestEqualStrict), R(3), |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 B(TestEqualStrict), R(3), | 346 B(TestEqualStrict), R(3), |
| 347 B(JumpIfTrueConstant), U8(9), | 347 B(JumpIfTrueConstant), U8(9), |
| 348 B(LdaSmi), U8(76), | 348 B(LdaSmi), U8(76), |
| 349 B(Star), R(11), | 349 B(Star), R(11), |
| 350 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), | 350 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), |
| 351 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(13), | 351 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(13), |
| 352 B(LdrNamedProperty), R(13), U8(4), U8(7), R(12), | 352 B(LdrNamedProperty), R(13), U8(4), U8(7), R(12), |
| 353 /* 27 E> */ B(Call), R(12), R(13), U8(1), U8(5), | 353 /* 27 E> */ B(Call), R(12), R(13), U8(1), U8(5), |
| 354 /* 27 E> */ B(StaContextSlot), R(1), U8(8), | 354 /* 27 E> */ B(StaContextSlot), R(1), U8(8), |
| 355 B(Star), R(11), | 355 B(Star), R(11), |
| 356 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1), | 356 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), |
| 357 B(ToBooleanLogicalNot), | 357 B(ToBooleanLogicalNot), |
| 358 B(JumpIfFalse), U8(11), | 358 B(JumpIfFalse), U8(11), |
| 359 B(LdrContextSlot), R(1), U8(8), R(11), | 359 B(LdrContextSlot), R(1), U8(8), R(11), |
| 360 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(11), U8(1), | 360 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(11), U8(1), |
| 361 B(LdrContextSlot), R(1), U8(8), R(11), | 361 B(LdrContextSlot), R(1), U8(8), R(11), |
| 362 B(LdaNamedProperty), R(11), U8(5), U8(9), | 362 B(LdaNamedProperty), R(11), U8(5), U8(9), |
| 363 B(JumpIfToBooleanTrueConstant), U8(10), | 363 B(JumpIfToBooleanTrueConstant), U8(10), |
| 364 B(LdaSmi), U8(2), | 364 B(LdaSmi), U8(2), |
| 365 B(StaContextSlot), R(1), U8(9), | 365 B(StaContextSlot), R(1), U8(9), |
| 366 B(LdrContextSlot), R(1), U8(8), R(11), | 366 B(LdrContextSlot), R(1), U8(8), R(11), |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 B(Star), R(8), | 419 B(Star), R(8), |
| 420 B(LdaZero), | 420 B(LdaZero), |
| 421 B(Star), R(7), | 421 B(Star), R(7), |
| 422 B(Jump), U8(75), | 422 B(Jump), U8(75), |
| 423 B(Ldar), R(12), | 423 B(Ldar), R(12), |
| 424 /* 36 E> */ B(Throw), | 424 /* 36 E> */ B(Throw), |
| 425 B(Ldar), R(12), | 425 B(Ldar), R(12), |
| 426 B(PopContext), R(2), | 426 B(PopContext), R(2), |
| 427 B(LdaZero), | 427 B(LdaZero), |
| 428 B(StaContextSlot), R(1), U8(9), | 428 B(StaContextSlot), R(1), U8(9), |
| 429 B(Wide), B(Jump), U16(-223), | 429 B(Wide), B(Jump), U16(-222), |
| 430 B(Jump), U8(46), | 430 B(Jump), U8(46), |
| 431 B(Star), R(12), | 431 B(Star), R(12), |
| 432 B(LdaConstant), U8(11), | 432 B(LdaConstant), U8(11), |
| 433 B(Star), R(11), | 433 B(Star), R(11), |
| 434 B(Mov), R(closure), R(13), | 434 B(Mov), R(closure), R(13), |
| 435 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3), | 435 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3), |
| 436 B(Star), R(10), | 436 B(Star), R(10), |
| 437 B(PushContext), R(2), | 437 B(PushContext), R(2), |
| 438 B(LdrContextSlot), R(1), U8(9), R(11), | 438 B(LdrContextSlot), R(1), U8(9), R(11), |
| 439 B(LdaSmi), U8(2), | 439 B(LdaSmi), U8(2), |
| (...skipping 21 matching lines...) Expand all Loading... |
| 461 B(TestEqualStrict), R(10), | 461 B(TestEqualStrict), R(10), |
| 462 B(ToBooleanLogicalNot), | 462 B(ToBooleanLogicalNot), |
| 463 B(JumpIfFalseConstant), U8(15), | 463 B(JumpIfFalseConstant), U8(15), |
| 464 B(LdrContextSlot), R(1), U8(7), R(10), | 464 B(LdrContextSlot), R(1), U8(7), R(10), |
| 465 B(LdaNamedProperty), R(10), U8(12), U8(13), | 465 B(LdaNamedProperty), R(10), U8(12), U8(13), |
| 466 B(StaContextSlot), R(1), U8(11), | 466 B(StaContextSlot), R(1), U8(11), |
| 467 B(LdrContextSlot), R(1), U8(11), R(10), | 467 B(LdrContextSlot), R(1), U8(11), R(10), |
| 468 B(LdaNull), | 468 B(LdaNull), |
| 469 B(TestEqual), R(10), | 469 B(TestEqual), R(10), |
| 470 B(JumpIfFalse), U8(4), | 470 B(JumpIfFalse), U8(4), |
| 471 B(Jump), U8(127), | 471 B(Jump), U8(124), |
| 472 B(LdrContextSlot), R(1), U8(9), R(10), | 472 B(LdrContextSlot), R(1), U8(9), R(10), |
| 473 B(LdaSmi), U8(1), | 473 B(LdaSmi), U8(1), |
| 474 B(TestEqualStrict), R(10), | 474 B(TestEqualStrict), R(10), |
| 475 B(JumpIfFalse), U8(79), | 475 B(JumpIfFalse), U8(78), |
| 476 B(LdaContextSlot), R(1), U8(11), | 476 B(LdaContextSlot), R(1), U8(11), |
| 477 B(TypeOf), | 477 B(TypeOf), |
| 478 B(Star), R(10), | 478 B(Star), R(10), |
| 479 B(LdaConstant), U8(13), | 479 B(LdaConstant), U8(13), |
| 480 B(TestEqualStrict), R(10), | 480 B(TestEqualStrict), R(10), |
| 481 B(JumpIfFalse), U8(4), | 481 B(JumpIfFalse), U8(4), |
| 482 B(Jump), U8(18), | 482 B(Jump), U8(18), |
| 483 B(Wide), B(LdaSmi), U16(128), | 483 B(Wide), B(LdaSmi), U16(128), |
| 484 B(Star), R(10), | 484 B(Star), R(10), |
| 485 B(LdaConstant), U8(14), | 485 B(LdaConstant), U8(14), |
| 486 B(Star), R(11), | 486 B(Star), R(11), |
| 487 B(CallRuntime), U16(Runtime::kNewTypeError), R(10), U8(2), | 487 B(CallRuntime), U16(Runtime::kNewTypeError), R(10), U8(2), |
| 488 B(Throw), | 488 B(Throw), |
| 489 B(Mov), R(context), R(10), | 489 B(Mov), R(context), R(10), |
| 490 B(LdrContextSlot), R(1), U8(11), R(11), | 490 B(LdrContextSlot), R(1), U8(11), R(11), |
| 491 B(LdrContextSlot), R(1), U8(7), R(12), | 491 B(LdrContextSlot), R(1), U8(7), R(12), |
| 492 B(InvokeIntrinsic), U16(Runtime::k_Call), R(11), U8(2), | 492 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), |
| 493 B(Jump), U8(29), | 493 B(Jump), U8(29), |
| 494 B(Star), R(12), | 494 B(Star), R(12), |
| 495 B(LdaConstant), U8(11), | 495 B(LdaConstant), U8(11), |
| 496 B(Star), R(11), | 496 B(Star), R(11), |
| 497 B(Mov), R(closure), R(13), | 497 B(Mov), R(closure), R(13), |
| 498 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3), | 498 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3), |
| 499 B(Star), R(10), | 499 B(Star), R(10), |
| 500 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 500 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
| 501 B(Ldar), R(10), | 501 B(Ldar), R(10), |
| 502 B(PushContext), R(2), | 502 B(PushContext), R(2), |
| 503 B(PopContext), R(2), | 503 B(PopContext), R(2), |
| 504 B(Jump), U8(40), | 504 B(Jump), U8(38), |
| 505 B(LdrContextSlot), R(1), U8(11), R(10), | 505 B(LdrContextSlot), R(1), U8(11), R(10), |
| 506 B(LdrContextSlot), R(1), U8(7), R(11), | 506 B(LdrContextSlot), R(1), U8(7), R(11), |
| 507 B(InvokeIntrinsic), U16(Runtime::k_Call), R(10), U8(2), | 507 B(InvokeIntrinsic), U8(Runtime::k_Call), R(10), U8(2), |
| 508 B(StaContextSlot), R(1), U8(12), | 508 B(StaContextSlot), R(1), U8(12), |
| 509 B(LdrContextSlot), R(1), U8(12), R(10), | 509 B(LdrContextSlot), R(1), U8(12), R(10), |
| 510 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(10), U8(1), | 510 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), |
| 511 B(JumpIfToBooleanFalse), U8(4), | 511 B(JumpIfToBooleanFalse), U8(4), |
| 512 B(Jump), U8(11), | 512 B(Jump), U8(11), |
| 513 B(LdrContextSlot), R(1), U8(12), R(10), | 513 B(LdrContextSlot), R(1), U8(12), R(10), |
| 514 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(10), U8(1), | 514 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(10), U8(1), |
| 515 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(9
), U8(1), | 515 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(9
), U8(1), |
| 516 B(LdaZero), | 516 B(LdaZero), |
| 517 B(TestEqualStrict), R(7), | 517 B(TestEqualStrict), R(7), |
| 518 B(JumpIfTrue), U8(10), | 518 B(JumpIfTrue), U8(10), |
| 519 B(LdaSmi), U8(1), | 519 B(LdaSmi), U8(1), |
| 520 B(TestEqualStrict), R(7), | 520 B(TestEqualStrict), R(7), |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 kInstanceTypeDontCare, | 594 kInstanceTypeDontCare, |
| 595 kInstanceTypeDontCare, | 595 kInstanceTypeDontCare, |
| 596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 597 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 597 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 598 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 598 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 599 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 599 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 600 kInstanceTypeDontCare, | 600 kInstanceTypeDontCare, |
| 601 kInstanceTypeDontCare, | 601 kInstanceTypeDontCare, |
| 602 ] | 602 ] |
| 603 handlers: [ | 603 handlers: [ |
| 604 [44, 698, 704], | 604 [44, 694, 700], |
| 605 [154, 449, 455], | 605 [154, 448, 454], |
| 606 [157, 403, 405], | 606 [157, 402, 404], |
| 607 [552, 565, 567], | 607 [551, 563, 565], |
| 608 ] | 608 ] |
| 609 | 609 |
| OLD | NEW |