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

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

Issue 2640793004: Revert remove dead hole check logic (Closed)
Patch Set: Revert "[crankshaft] Fix mips/mips64 build: remove unused variable" and "[crankshaft] Remove dead Variable hole-checking code" Created 3 years, 11 months 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
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Generators.golden ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 module: yes 7 module: yes
8 top level: yes 8 top level: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 import \"bar\"; 12 import \"bar\";
13 " 13 "
14 frame size: 9 14 frame size: 9
15 parameter count: 2 15 parameter count: 2
16 bytecode array length: 131 16 bytecode array length: 131
17 bytecodes: [ 17 bytecodes: [
18 B(Ldar), R(new_target), 18 B(Ldar), R(new_target),
19 B(JumpIfUndefined), U8(28), 19 B(JumpIfUndefined), U8(28),
20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
21 B(PushContext), R(2), 21 B(PushContext), R(2),
22 B(ResumeGenerator), R(new_target), 22 B(ResumeGenerator), R(new_target),
23 B(Star), R(1), 23 B(Star), R(1),
24 B(LdaZero), 24 B(LdaZero),
25 B(TestEqualStrict), R(1), U8(0), 25 B(TestEqualStrict), R(1), U8(0),
26 B(JumpIfTrue), U8(63), 26 B(JumpIfTrue), U8(63),
27 B(LdaSmi), U8(77), 27 B(LdaSmi), U8(78),
28 B(Star), R(3), 28 B(Star), R(3),
29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
30 B(LdaSmi), U8(-2), 30 B(LdaSmi), U8(-2),
31 B(Star), R(1), 31 B(Star), R(1),
32 B(LdaConstant), U8(0), 32 B(LdaConstant), U8(0),
33 B(Star), R(5), 33 B(Star), R(5),
34 B(Mov), R(arg0), R(3), 34 B(Mov), R(arg0), R(3),
35 B(Mov), R(closure), R(4), 35 B(Mov), R(closure), R(4),
36 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), 36 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
37 B(PushContext), R(0), 37 B(PushContext), R(0),
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 bytecodes: [ 89 bytecodes: [
90 B(Ldar), R(new_target), 90 B(Ldar), R(new_target),
91 B(JumpIfUndefined), U8(28), 91 B(JumpIfUndefined), U8(28),
92 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 92 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
93 B(PushContext), R(2), 93 B(PushContext), R(2),
94 B(ResumeGenerator), R(new_target), 94 B(ResumeGenerator), R(new_target),
95 B(Star), R(1), 95 B(Star), R(1),
96 B(LdaZero), 96 B(LdaZero),
97 B(TestEqualStrict), R(1), U8(0), 97 B(TestEqualStrict), R(1), U8(0),
98 B(JumpIfTrue), U8(63), 98 B(JumpIfTrue), U8(63),
99 B(LdaSmi), U8(77), 99 B(LdaSmi), U8(78),
100 B(Star), R(3), 100 B(Star), R(3),
101 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 101 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
102 B(LdaSmi), U8(-2), 102 B(LdaSmi), U8(-2),
103 B(Star), R(1), 103 B(Star), R(1),
104 B(LdaConstant), U8(0), 104 B(LdaConstant), U8(0),
105 B(Star), R(5), 105 B(Star), R(5),
106 B(Mov), R(arg0), R(3), 106 B(Mov), R(arg0), R(3),
107 B(Mov), R(closure), R(4), 107 B(Mov), R(closure), R(4),
108 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), 108 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
109 B(PushContext), R(0), 109 B(PushContext), R(0),
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 bytecodes: [ 163 bytecodes: [
164 B(Ldar), R(new_target), 164 B(Ldar), R(new_target),
165 B(JumpIfUndefined), U8(28), 165 B(JumpIfUndefined), U8(28),
166 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 166 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
167 B(PushContext), R(3), 167 B(PushContext), R(3),
168 B(ResumeGenerator), R(new_target), 168 B(ResumeGenerator), R(new_target),
169 B(Star), R(2), 169 B(Star), R(2),
170 B(LdaZero), 170 B(LdaZero),
171 B(TestEqualStrict), R(2), U8(0), 171 B(TestEqualStrict), R(2), U8(0),
172 B(JumpIfTrue), U8(63), 172 B(JumpIfTrue), U8(63),
173 B(LdaSmi), U8(77), 173 B(LdaSmi), U8(78),
174 B(Star), R(4), 174 B(Star), R(4),
175 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), 175 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
176 B(LdaSmi), U8(-2), 176 B(LdaSmi), U8(-2),
177 B(Star), R(2), 177 B(Star), R(2),
178 B(LdaConstant), U8(0), 178 B(LdaConstant), U8(0),
179 B(Star), R(6), 179 B(Star), R(6),
180 B(Mov), R(arg0), R(4), 180 B(Mov), R(arg0), R(4),
181 B(Mov), R(closure), R(5), 181 B(Mov), R(closure), R(5),
182 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), 182 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
183 B(PushContext), R(0), 183 B(PushContext), R(0),
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 bytecodes: [ 269 bytecodes: [
270 B(Ldar), R(new_target), 270 B(Ldar), R(new_target),
271 B(JumpIfUndefined), U8(28), 271 B(JumpIfUndefined), U8(28),
272 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 272 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
273 B(PushContext), R(3), 273 B(PushContext), R(3),
274 B(ResumeGenerator), R(new_target), 274 B(ResumeGenerator), R(new_target),
275 B(Star), R(2), 275 B(Star), R(2),
276 B(LdaZero), 276 B(LdaZero),
277 B(TestEqualStrict), R(2), U8(0), 277 B(TestEqualStrict), R(2), U8(0),
278 B(JumpIfTrue), U8(63), 278 B(JumpIfTrue), U8(63),
279 B(LdaSmi), U8(77), 279 B(LdaSmi), U8(78),
280 B(Star), R(4), 280 B(Star), R(4),
281 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), 281 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
282 B(LdaSmi), U8(-2), 282 B(LdaSmi), U8(-2),
283 B(Star), R(2), 283 B(Star), R(2),
284 B(LdaConstant), U8(0), 284 B(LdaConstant), U8(0),
285 B(Star), R(6), 285 B(Star), R(6),
286 B(Mov), R(arg0), R(4), 286 B(Mov), R(arg0), R(4),
287 B(Mov), R(closure), R(5), 287 B(Mov), R(closure), R(5),
288 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), 288 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
289 B(PushContext), R(0), 289 B(PushContext), R(0),
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 bytecodes: [ 360 bytecodes: [
361 B(Ldar), R(new_target), 361 B(Ldar), R(new_target),
362 B(JumpIfUndefined), U8(28), 362 B(JumpIfUndefined), U8(28),
363 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 363 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
364 B(PushContext), R(3), 364 B(PushContext), R(3),
365 B(ResumeGenerator), R(new_target), 365 B(ResumeGenerator), R(new_target),
366 B(Star), R(2), 366 B(Star), R(2),
367 B(LdaZero), 367 B(LdaZero),
368 B(TestEqualStrict), R(2), U8(0), 368 B(TestEqualStrict), R(2), U8(0),
369 B(JumpIfTrue), U8(67), 369 B(JumpIfTrue), U8(67),
370 B(LdaSmi), U8(77), 370 B(LdaSmi), U8(78),
371 B(Star), R(4), 371 B(Star), R(4),
372 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), 372 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
373 B(LdaSmi), U8(-2), 373 B(LdaSmi), U8(-2),
374 B(Star), R(2), 374 B(Star), R(2),
375 B(LdaConstant), U8(0), 375 B(LdaConstant), U8(0),
376 B(Star), R(6), 376 B(Star), R(6),
377 B(Mov), R(arg0), R(4), 377 B(Mov), R(arg0), R(4),
378 B(Mov), R(closure), R(5), 378 B(Mov), R(closure), R(5),
379 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), 379 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
380 B(PushContext), R(0), 380 B(PushContext), R(0),
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 bytecodes: [ 453 bytecodes: [
454 B(Ldar), R(new_target), 454 B(Ldar), R(new_target),
455 B(JumpIfUndefined), U8(28), 455 B(JumpIfUndefined), U8(28),
456 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 456 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
457 B(PushContext), R(3), 457 B(PushContext), R(3),
458 B(ResumeGenerator), R(new_target), 458 B(ResumeGenerator), R(new_target),
459 B(Star), R(2), 459 B(Star), R(2),
460 B(LdaZero), 460 B(LdaZero),
461 B(TestEqualStrict), R(2), U8(0), 461 B(TestEqualStrict), R(2), U8(0),
462 B(JumpIfTrue), U8(67), 462 B(JumpIfTrue), U8(67),
463 B(LdaSmi), U8(77), 463 B(LdaSmi), U8(78),
464 B(Star), R(4), 464 B(Star), R(4),
465 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), 465 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
466 B(LdaSmi), U8(-2), 466 B(LdaSmi), U8(-2),
467 B(Star), R(2), 467 B(Star), R(2),
468 B(LdaConstant), U8(0), 468 B(LdaConstant), U8(0),
469 B(Star), R(6), 469 B(Star), R(6),
470 B(Mov), R(arg0), R(4), 470 B(Mov), R(arg0), R(4),
471 B(Mov), R(closure), R(5), 471 B(Mov), R(closure), R(5),
472 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3), 472 B(CallRuntime), U16(Runtime::kPushModuleContext), R(4), U8(3),
473 B(PushContext), R(0), 473 B(PushContext), R(0),
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 bytecodes: [ 544 bytecodes: [
545 B(Ldar), R(new_target), 545 B(Ldar), R(new_target),
546 B(JumpIfUndefined), U8(28), 546 B(JumpIfUndefined), U8(28),
547 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 547 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
548 B(PushContext), R(2), 548 B(PushContext), R(2),
549 B(ResumeGenerator), R(new_target), 549 B(ResumeGenerator), R(new_target),
550 B(Star), R(1), 550 B(Star), R(1),
551 B(LdaZero), 551 B(LdaZero),
552 B(TestEqualStrict), R(1), U8(0), 552 B(TestEqualStrict), R(1), U8(0),
553 B(JumpIfTrue), U8(67), 553 B(JumpIfTrue), U8(67),
554 B(LdaSmi), U8(77), 554 B(LdaSmi), U8(78),
555 B(Star), R(3), 555 B(Star), R(3),
556 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 556 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
557 B(LdaSmi), U8(-2), 557 B(LdaSmi), U8(-2),
558 B(Star), R(1), 558 B(Star), R(1),
559 B(LdaConstant), U8(0), 559 B(LdaConstant), U8(0),
560 B(Star), R(5), 560 B(Star), R(5),
561 B(Mov), R(arg0), R(3), 561 B(Mov), R(arg0), R(3),
562 B(Mov), R(closure), R(4), 562 B(Mov), R(closure), R(4),
563 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), 563 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
564 B(PushContext), R(0), 564 B(PushContext), R(0),
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 bytecodes: [ 621 bytecodes: [
622 B(Ldar), R(new_target), 622 B(Ldar), R(new_target),
623 B(JumpIfUndefined), U8(28), 623 B(JumpIfUndefined), U8(28),
624 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 624 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
625 B(PushContext), R(2), 625 B(PushContext), R(2),
626 B(ResumeGenerator), R(new_target), 626 B(ResumeGenerator), R(new_target),
627 B(Star), R(1), 627 B(Star), R(1),
628 B(LdaZero), 628 B(LdaZero),
629 B(TestEqualStrict), R(1), U8(0), 629 B(TestEqualStrict), R(1), U8(0),
630 B(JumpIfTrue), U8(67), 630 B(JumpIfTrue), U8(67),
631 B(LdaSmi), U8(77), 631 B(LdaSmi), U8(78),
632 B(Star), R(3), 632 B(Star), R(3),
633 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 633 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
634 B(LdaSmi), U8(-2), 634 B(LdaSmi), U8(-2),
635 B(Star), R(1), 635 B(Star), R(1),
636 B(LdaConstant), U8(0), 636 B(LdaConstant), U8(0),
637 B(Star), R(5), 637 B(Star), R(5),
638 B(Mov), R(arg0), R(3), 638 B(Mov), R(arg0), R(3),
639 B(Mov), R(closure), R(4), 639 B(Mov), R(closure), R(4),
640 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), 640 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
641 B(PushContext), R(0), 641 B(PushContext), R(0),
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 bytecodes: [ 712 bytecodes: [
713 B(Ldar), R(new_target), 713 B(Ldar), R(new_target),
714 B(JumpIfUndefined), U8(28), 714 B(JumpIfUndefined), U8(28),
715 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 715 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
716 B(PushContext), R(2), 716 B(PushContext), R(2),
717 B(ResumeGenerator), R(new_target), 717 B(ResumeGenerator), R(new_target),
718 B(Star), R(1), 718 B(Star), R(1),
719 B(LdaZero), 719 B(LdaZero),
720 B(TestEqualStrict), R(1), U8(0), 720 B(TestEqualStrict), R(1), U8(0),
721 B(JumpIfTrue), U8(63), 721 B(JumpIfTrue), U8(63),
722 B(LdaSmi), U8(77), 722 B(LdaSmi), U8(78),
723 B(Star), R(3), 723 B(Star), R(3),
724 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 724 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
725 B(LdaSmi), U8(-2), 725 B(LdaSmi), U8(-2),
726 B(Star), R(1), 726 B(Star), R(1),
727 B(LdaConstant), U8(0), 727 B(LdaConstant), U8(0),
728 B(Star), R(5), 728 B(Star), R(5),
729 B(Mov), R(arg0), R(3), 729 B(Mov), R(arg0), R(3),
730 B(Mov), R(closure), R(4), 730 B(Mov), R(closure), R(4),
731 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), 731 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
732 B(PushContext), R(0), 732 B(PushContext), R(0),
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 bytecodes: [ 784 bytecodes: [
785 B(Ldar), R(new_target), 785 B(Ldar), R(new_target),
786 B(JumpIfUndefined), U8(28), 786 B(JumpIfUndefined), U8(28),
787 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 787 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
788 B(PushContext), R(2), 788 B(PushContext), R(2),
789 B(ResumeGenerator), R(new_target), 789 B(ResumeGenerator), R(new_target),
790 B(Star), R(1), 790 B(Star), R(1),
791 B(LdaZero), 791 B(LdaZero),
792 B(TestEqualStrict), R(1), U8(0), 792 B(TestEqualStrict), R(1), U8(0),
793 B(JumpIfTrue), U8(63), 793 B(JumpIfTrue), U8(63),
794 B(LdaSmi), U8(77), 794 B(LdaSmi), U8(78),
795 B(Star), R(3), 795 B(Star), R(3),
796 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 796 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
797 B(LdaSmi), U8(-2), 797 B(LdaSmi), U8(-2),
798 B(Star), R(1), 798 B(Star), R(1),
799 B(LdaConstant), U8(0), 799 B(LdaConstant), U8(0),
800 B(Star), R(5), 800 B(Star), R(5),
801 B(Mov), R(arg0), R(3), 801 B(Mov), R(arg0), R(3),
802 B(Mov), R(closure), R(4), 802 B(Mov), R(closure), R(4),
803 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), 803 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
804 B(PushContext), R(0), 804 B(PushContext), R(0),
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 bytecodes: [ 857 bytecodes: [
858 B(Ldar), R(new_target), 858 B(Ldar), R(new_target),
859 B(JumpIfUndefined), U8(28), 859 B(JumpIfUndefined), U8(28),
860 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 860 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
861 B(PushContext), R(2), 861 B(PushContext), R(2),
862 B(ResumeGenerator), R(new_target), 862 B(ResumeGenerator), R(new_target),
863 B(Star), R(1), 863 B(Star), R(1),
864 B(LdaZero), 864 B(LdaZero),
865 B(TestEqualStrict), R(1), U8(0), 865 B(TestEqualStrict), R(1), U8(0),
866 B(JumpIfTrue), U8(73), 866 B(JumpIfTrue), U8(73),
867 B(LdaSmi), U8(77), 867 B(LdaSmi), U8(78),
868 B(Star), R(3), 868 B(Star), R(3),
869 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 869 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
870 B(LdaSmi), U8(-2), 870 B(LdaSmi), U8(-2),
871 B(Star), R(1), 871 B(Star), R(1),
872 B(LdaConstant), U8(0), 872 B(LdaConstant), U8(0),
873 B(Star), R(5), 873 B(Star), R(5),
874 B(Mov), R(arg0), R(3), 874 B(Mov), R(arg0), R(3),
875 B(Mov), R(closure), R(4), 875 B(Mov), R(closure), R(4),
876 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3), 876 B(CallRuntime), U16(Runtime::kPushModuleContext), R(3), U8(3),
877 B(PushContext), R(0), 877 B(PushContext), R(0),
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 /* 45 S> */ B(Return), 929 /* 45 S> */ B(Return),
930 ] 930 ]
931 constant pool: [ 931 constant pool: [
932 FIXED_ARRAY_TYPE, 932 FIXED_ARRAY_TYPE,
933 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], 933 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"],
934 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 934 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
935 ] 935 ]
936 handlers: [ 936 handlers: [
937 ] 937 ]
938 938
OLDNEW
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Generators.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698