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: number | |
7 execute: yes | 6 execute: yes |
8 wrap: yes | 7 wrap: yes |
9 | 8 |
10 --- | 9 --- |
11 snippet: " | 10 snippet: " |
12 var x = 0; return x || 3; | 11 var x = 0; return x || 3; |
13 " | 12 " |
14 frame size: 1 | 13 frame size: 1 |
15 parameter count: 1 | 14 parameter count: 1 |
16 bytecode array length: 9 | 15 bytecode array length: 9 |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 B(LdaSmi), U8(2), | 311 B(LdaSmi), U8(2), |
313 B(Star), R(2), | 312 B(Star), R(2), |
314 B(LdaSmi), U8(1), | 313 B(LdaSmi), U8(1), |
315 B(Star), R(1), | 314 B(Star), R(1), |
316 B(LdaSmi), U8(2), | 315 B(LdaSmi), U8(2), |
317 B(Star), R(2), | 316 B(Star), R(2), |
318 B(LdaSmi), U8(3), | 317 B(LdaSmi), U8(3), |
319 /* 624 S> */ B(Return), | 318 /* 624 S> */ B(Return), |
320 ] | 319 ] |
321 constant pool: [ | 320 constant pool: [ |
322 260, | 321 Smi [260], |
323 ] | 322 ] |
324 handlers: [ | 323 handlers: [ |
325 ] | 324 ] |
326 | 325 |
327 --- | 326 --- |
328 snippet: " | 327 snippet: " |
329 var x = 0; var a = 2, b = 3; return x && ( | 328 var x = 0; var a = 2, b = 3; return x && ( |
330 a = 1, b = 2, | 329 a = 1, b = 2, |
331 a = 1, b = 2, | 330 a = 1, b = 2, |
332 a = 1, b = 2, | 331 a = 1, b = 2, |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 B(LdaSmi), U8(2), | 497 B(LdaSmi), U8(2), |
499 B(Star), R(2), | 498 B(Star), R(2), |
500 B(LdaSmi), U8(1), | 499 B(LdaSmi), U8(1), |
501 B(Star), R(1), | 500 B(Star), R(1), |
502 B(LdaSmi), U8(2), | 501 B(LdaSmi), U8(2), |
503 B(Star), R(2), | 502 B(Star), R(2), |
504 B(LdaSmi), U8(3), | 503 B(LdaSmi), U8(3), |
505 /* 624 S> */ B(Return), | 504 /* 624 S> */ B(Return), |
506 ] | 505 ] |
507 constant pool: [ | 506 constant pool: [ |
508 260, | 507 Smi [260], |
509 ] | 508 ] |
510 handlers: [ | 509 handlers: [ |
511 ] | 510 ] |
512 | 511 |
513 --- | 512 --- |
514 snippet: " | 513 snippet: " |
515 var x = 1; var a = 2, b = 3; return (x > 3) || ( | 514 var x = 1; var a = 2, b = 3; return (x > 3) || ( |
516 a = 1, b = 2, | 515 a = 1, b = 2, |
517 a = 1, b = 2, | 516 a = 1, b = 2, |
518 a = 1, b = 2, | 517 a = 1, b = 2, |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 B(LdaSmi), U8(2), | 684 B(LdaSmi), U8(2), |
686 B(Star), R(2), | 685 B(Star), R(2), |
687 B(LdaSmi), U8(1), | 686 B(LdaSmi), U8(1), |
688 B(Star), R(1), | 687 B(Star), R(1), |
689 B(LdaSmi), U8(2), | 688 B(LdaSmi), U8(2), |
690 B(Star), R(2), | 689 B(Star), R(2), |
691 B(LdaSmi), U8(3), | 690 B(LdaSmi), U8(3), |
692 /* 630 S> */ B(Return), | 691 /* 630 S> */ B(Return), |
693 ] | 692 ] |
694 constant pool: [ | 693 constant pool: [ |
695 260, | 694 Smi [260], |
696 ] | 695 ] |
697 handlers: [ | 696 handlers: [ |
698 ] | 697 ] |
699 | 698 |
700 --- | 699 --- |
701 snippet: " | 700 snippet: " |
702 var x = 0; var a = 2, b = 3; return (x < 5) && ( | 701 var x = 0; var a = 2, b = 3; return (x < 5) && ( |
703 a = 1, b = 2, | 702 a = 1, b = 2, |
704 a = 1, b = 2, | 703 a = 1, b = 2, |
705 a = 1, b = 2, | 704 a = 1, b = 2, |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
872 B(LdaSmi), U8(2), | 871 B(LdaSmi), U8(2), |
873 B(Star), R(2), | 872 B(Star), R(2), |
874 B(LdaSmi), U8(1), | 873 B(LdaSmi), U8(1), |
875 B(Star), R(1), | 874 B(Star), R(1), |
876 B(LdaSmi), U8(2), | 875 B(LdaSmi), U8(2), |
877 B(Star), R(2), | 876 B(Star), R(2), |
878 B(LdaSmi), U8(3), | 877 B(LdaSmi), U8(3), |
879 /* 630 S> */ B(Return), | 878 /* 630 S> */ B(Return), |
880 ] | 879 ] |
881 constant pool: [ | 880 constant pool: [ |
882 260, | 881 Smi [260], |
883 ] | 882 ] |
884 handlers: [ | 883 handlers: [ |
885 ] | 884 ] |
886 | 885 |
887 --- | 886 --- |
888 snippet: " | 887 snippet: " |
889 return 0 && 3; | 888 return 0 && 3; |
890 " | 889 " |
891 frame size: 0 | 890 frame size: 0 |
892 parameter count: 1 | 891 parameter count: 1 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 B(JumpIfToBooleanTrue), U8(3), | 933 B(JumpIfToBooleanTrue), U8(3), |
935 B(LdaZero), | 934 B(LdaZero), |
936 B(LdaSmi), U8(1), | 935 B(LdaSmi), U8(1), |
937 /* 68 S> */ B(Return), | 936 /* 68 S> */ B(Return), |
938 ] | 937 ] |
939 constant pool: [ | 938 constant pool: [ |
940 ] | 939 ] |
941 handlers: [ | 940 handlers: [ |
942 ] | 941 ] |
943 | 942 |
OLD | NEW |