Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/Generators.golden

Issue 2533803002: [parser] removed undefined check of for-of iterator (Closed)
Patch Set: regolden Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 wrap: no 6 wrap: no
7 test function name: f 7 test function name: f
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 [46, 225, 231], 270 [46, 225, 231],
271 ] 271 ]
272 272
273 --- 273 ---
274 snippet: " 274 snippet: "
275 function* f() { for (let x of [42]) yield x } 275 function* f() { for (let x of [42]) yield x }
276 f(); 276 f();
277 " 277 "
278 frame size: 17 278 frame size: 17
279 parameter count: 1 279 parameter count: 1
280 bytecode array length: 783 280 bytecode array length: 771
281 bytecodes: [ 281 bytecodes: [
282 B(Ldar), R(new_target), 282 B(Ldar), R(new_target),
283 B(JumpIfUndefined), U8(28), 283 B(JumpIfUndefined), U8(28),
284 B(ResumeGenerator), R(new_target), 284 B(ResumeGenerator), R(new_target),
285 B(Star), R(3), 285 B(Star), R(3),
286 B(LdaZero), 286 B(LdaZero),
287 B(TestEqualStrict), R(3), U8(0), 287 B(TestEqualStrict), R(3), U8(0),
288 B(JumpIfTrue), U8(60), 288 B(JumpIfTrue), U8(60),
289 B(LdaSmi), U8(1), 289 B(LdaSmi), U8(1),
290 B(TestEqualStrict), R(3), U8(0), 290 B(TestEqualStrict), R(3), U8(0),
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 B(TestEqualStrict), R(10), U8(0), 325 B(TestEqualStrict), R(10), U8(0),
326 B(JumpIfTrue), U8(22), 326 B(JumpIfTrue), U8(22),
327 B(Jump), U8(2), 327 B(Jump), U8(2),
328 B(LdaTrue), 328 B(LdaTrue),
329 B(Star), R(12), 329 B(Star), R(12),
330 B(Mov), R(9), R(11), 330 B(Mov), R(9), R(11),
331 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U 8(2), 331 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U 8(2),
332 B(Star), R(5), 332 B(Star), R(5),
333 B(LdaZero), 333 B(LdaZero),
334 B(Star), R(4), 334 B(Star), R(4),
335 B(JumpConstant), U8(19), 335 B(JumpConstant), U8(18),
336 B(Ldar), R(9), 336 B(Ldar), R(9),
337 /* 11 E> */ B(Throw), 337 /* 11 E> */ B(Throw),
338 B(Ldar), R(closure), 338 B(Ldar), R(closure),
339 B(CreateBlockContext), U8(0), 339 B(CreateBlockContext), U8(0),
340 B(PushContext), R(1), 340 B(PushContext), R(1),
341 B(LdaTheHole), 341 B(LdaTheHole),
342 B(StaCurrentContextSlot), U8(4), 342 B(StaCurrentContextSlot), U8(4),
343 B(LdaZero), 343 B(LdaZero),
344 B(StaContextSlot), R(1), U8(9), U8(0), 344 B(StaContextSlot), R(1), U8(9), U8(0),
345 B(Mov), R(context), R(9), 345 B(Mov), R(context), R(9),
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 B(LdaTheHole), 464 B(LdaTheHole),
465 B(SetPendingMessage), 465 B(SetPendingMessage),
466 B(Star), R(9), 466 B(Star), R(9),
467 B(LdaContextSlot), R(1), U8(9), U8(0), 467 B(LdaContextSlot), R(1), U8(9), U8(0),
468 B(Star), R(10), 468 B(Star), R(10),
469 B(LdaZero), 469 B(LdaZero),
470 B(TestEqualStrict), R(10), U8(15), 470 B(TestEqualStrict), R(10), U8(15),
471 B(JumpIfTrueConstant), U8(17), 471 B(JumpIfTrueConstant), U8(17),
472 B(LdaContextSlot), R(1), U8(7), U8(0), 472 B(LdaContextSlot), R(1), U8(7), U8(0),
473 B(Star), R(10), 473 B(Star), R(10),
474 B(LdaUndefined), 474 B(LdaNamedProperty), R(10), U8(12), U8(16),
475 B(TestEqualStrict), R(10), U8(16),
476 B(JumpIfTrueConstant), U8(18),
477 B(LdaContextSlot), R(1), U8(7), U8(0),
478 B(Star), R(10),
479 B(LdaNamedProperty), R(10), U8(12), U8(17),
480 B(StaContextSlot), R(1), U8(11), U8(0), 475 B(StaContextSlot), R(1), U8(11), U8(0),
481 B(LdaContextSlot), R(1), U8(11), U8(0), 476 B(LdaContextSlot), R(1), U8(11), U8(0),
482 B(Star), R(10), 477 B(Star), R(10),
483 B(LdaNull), 478 B(LdaNull),
484 B(TestEqual), R(10), U8(19), 479 B(TestEqual), R(10), U8(18),
485 B(JumpIfFalse), U8(4), 480 B(JumpIfFalse), U8(4),
486 B(JumpConstant), U8(16), 481 B(JumpConstant), U8(16),
487 B(LdaContextSlot), R(1), U8(9), U8(0), 482 B(LdaContextSlot), R(1), U8(9), U8(0),
488 B(Star), R(10), 483 B(Star), R(10),
489 B(LdaSmi), U8(1), 484 B(LdaSmi), U8(1),
490 B(TestEqualStrict), R(10), U8(20), 485 B(TestEqualStrict), R(10), U8(19),
491 B(JumpIfFalse), U8(75), 486 B(JumpIfFalse), U8(75),
492 B(LdaContextSlot), R(1), U8(11), U8(0), 487 B(LdaContextSlot), R(1), U8(11), U8(0),
493 B(TypeOf), 488 B(TypeOf),
494 B(Star), R(10), 489 B(Star), R(10),
495 B(LdaConstant), U8(13), 490 B(LdaConstant), U8(13),
496 B(TestEqualStrict), R(10), U8(21), 491 B(TestEqualStrict), R(10), U8(20),
497 B(JumpIfFalse), U8(4), 492 B(JumpIfFalse), U8(4),
498 B(Jump), U8(18), 493 B(Jump), U8(18),
499 B(Wide), B(LdaSmi), U16(130), 494 B(Wide), B(LdaSmi), U16(130),
500 B(Star), R(10), 495 B(Star), R(10),
501 B(LdaConstant), U8(14), 496 B(LdaConstant), U8(14),
502 B(Star), R(11), 497 B(Star), R(11),
503 B(CallRuntime), U16(Runtime::kNewTypeError), R(10), U8(2), 498 B(CallRuntime), U16(Runtime::kNewTypeError), R(10), U8(2),
504 B(Throw), 499 B(Throw),
505 B(Mov), R(context), R(10), 500 B(Mov), R(context), R(10),
506 B(LdaContextSlot), R(1), U8(11), U8(0), 501 B(LdaContextSlot), R(1), U8(11), U8(0),
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 FIXED_ARRAY_TYPE, 613 FIXED_ARRAY_TYPE,
619 Smi [135], 614 Smi [135],
620 Smi [152], 615 Smi [152],
621 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 616 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
622 FIXED_ARRAY_TYPE, 617 FIXED_ARRAY_TYPE,
623 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 618 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
624 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], 619 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"],
625 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 620 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
626 FIXED_ARRAY_TYPE, 621 FIXED_ARRAY_TYPE,
627 Smi [133], 622 Smi [133],
628 Smi [173],
629 Smi [161], 623 Smi [161],
630 Smi [593], 624 Smi [581],
631 ] 625 ]
632 handlers: [ 626 handlers: [
633 [46, 702, 708], 627 [46, 690, 696],
634 [143, 438, 444], 628 [143, 438, 444],
635 [146, 394, 396], 629 [146, 394, 396],
636 [554, 570, 572], 630 [542, 558, 560],
637 ] 631 ]
638 632
OLDNEW
« src/parsing/parser.cc ('K') | « test/cctest/interpreter/bytecode_expectations/ForOf.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698