| 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 [41, 218, 224], | 257 [41, 218, 224], |
| 258 ] | 258 ] |
| 259 | 259 |
| 260 --- | 260 --- |
| 261 snippet: " | 261 snippet: " |
| 262 function* f() { for (let x of [42]) yield x } | 262 function* f() { for (let x of [42]) yield x } |
| 263 f(); | 263 f(); |
| 264 " | 264 " |
| 265 frame size: 18 | 265 frame size: 18 |
| 266 parameter count: 1 | 266 parameter count: 1 |
| 267 bytecode array length: 769 | 267 bytecode array length: 768 |
| 268 bytecodes: [ | 268 bytecodes: [ |
| 269 B(Ldar), R(new_target), | 269 B(Ldar), R(new_target), |
| 270 B(JumpIfUndefined), U8(26), | 270 B(JumpIfUndefined), U8(26), |
| 271 B(ResumeGenerator), R(new_target), | 271 B(ResumeGenerator), R(new_target), |
| 272 B(Star), R(4), | 272 B(Star), R(4), |
| 273 B(LdaZero), | 273 B(LdaZero), |
| 274 B(TestEqualStrict), R(4), | 274 B(TestEqualStrict), R(4), |
| 275 B(JumpIfTrue), U8(59), | 275 B(JumpIfTrue), U8(59), |
| 276 B(LdaSmi), U8(1), | 276 B(LdaSmi), U8(1), |
| 277 B(TestEqualStrict), R(4), | 277 B(TestEqualStrict), R(4), |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 B(TestEqualStrict), R(11), | 309 B(TestEqualStrict), R(11), |
| 310 B(JumpIfTrue), U8(22), | 310 B(JumpIfTrue), U8(22), |
| 311 B(Jump), U8(2), | 311 B(Jump), U8(2), |
| 312 B(LdaTrue), | 312 B(LdaTrue), |
| 313 B(Star), R(13), | 313 B(Star), R(13), |
| 314 B(Mov), R(10), R(12), | 314 B(Mov), R(10), R(12), |
| 315 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U
8(2), | 315 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U
8(2), |
| 316 B(Star), R(6), | 316 B(Star), R(6), |
| 317 B(LdaZero), | 317 B(LdaZero), |
| 318 B(Star), R(5), | 318 B(Star), R(5), |
| 319 B(JumpConstant), U8(16), | 319 B(JumpConstant), U8(17), |
| 320 B(Ldar), R(10), | 320 B(Ldar), R(10), |
| 321 /* 11 E> */ B(Throw), | 321 /* 11 E> */ B(Throw), |
| 322 B(LdaConstant), U8(0), | 322 B(LdaConstant), U8(0), |
| 323 B(Star), R(8), | 323 B(Star), R(8), |
| 324 B(Mov), R(closure), R(9), | 324 B(Mov), R(closure), R(9), |
| 325 B(CallRuntime), U16(Runtime::kPushBlockContext), R(8), U8(2), | 325 B(CallRuntime), U16(Runtime::kPushBlockContext), R(8), U8(2), |
| 326 B(PushContext), R(1), | 326 B(PushContext), R(1), |
| 327 B(LdaTheHole), | 327 B(LdaTheHole), |
| 328 B(StaContextSlot), R(context), U8(4), | 328 B(StaContextSlot), R(context), U8(4), |
| 329 B(LdaZero), | 329 B(LdaZero), |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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), | 454 B(TestEqualStrict), R(11), |
| 455 B(JumpIfTrue), U8(9), | 455 B(JumpIfTrueConstant), U8(15), |
| 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), | 458 B(TestEqualStrict), R(11), |
| 459 B(ToBooleanLogicalNot), | 459 B(JumpIfTrueConstant), U8(16), |
| 460 B(JumpIfFalseConstant), U8(15), | |
| 461 B(LdrContextSlot), R(1), U8(7), R(11), | 460 B(LdrContextSlot), R(1), U8(7), R(11), |
| 462 B(LdaNamedProperty), R(11), U8(12), U8(13), | 461 B(LdaNamedProperty), R(11), U8(12), U8(13), |
| 463 B(StaContextSlot), R(1), U8(11), | 462 B(StaContextSlot), R(1), U8(11), |
| 464 B(LdrContextSlot), R(1), U8(11), R(11), | 463 B(LdrContextSlot), R(1), U8(11), R(11), |
| 465 B(LdaNull), | 464 B(LdaNull), |
| 466 B(TestEqual), R(11), | 465 B(TestEqual), R(11), |
| 467 B(JumpIfFalse), U8(4), | 466 B(JumpIfFalse), U8(4), |
| 468 B(Jump), U8(124), | 467 B(Jump), U8(124), |
| 469 B(LdrContextSlot), R(1), U8(9), R(11), | 468 B(LdrContextSlot), R(1), U8(9), R(11), |
| 470 B(LdaSmi), U8(1), | 469 B(LdaSmi), U8(1), |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 InstanceType::FIXED_ARRAY_TYPE, | 588 InstanceType::FIXED_ARRAY_TYPE, |
| 590 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 589 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 591 kInstanceTypeDontCare, | 590 kInstanceTypeDontCare, |
| 592 kInstanceTypeDontCare, | 591 kInstanceTypeDontCare, |
| 593 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 592 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 594 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 593 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 595 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 594 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 595 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 597 kInstanceTypeDontCare, | 596 kInstanceTypeDontCare, |
| 598 kInstanceTypeDontCare, | 597 kInstanceTypeDontCare, |
| 598 kInstanceTypeDontCare, |
| 599 ] | 599 ] |
| 600 handlers: [ | 600 handlers: [ |
| 601 [41, 688, 694], | 601 [41, 687, 693], |
| 602 [147, 442, 448], | 602 [147, 442, 448], |
| 603 [150, 396, 398], | 603 [150, 396, 398], |
| 604 [545, 557, 559], | 604 [544, 556, 558], |
| 605 ] | 605 ] |
| 606 | 606 |
| OLD | NEW |