OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 execute: yes | 6 execute: yes |
7 wrap: yes | 7 wrap: yes |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 var x156; | 519 var x156; |
520 if (x2 > 3) { return x129; } | 520 if (x2 > 3) { return x129; } |
521 return x128; | 521 return x128; |
522 " | 522 " |
523 frame size: 157 | 523 frame size: 157 |
524 parameter count: 1 | 524 parameter count: 1 |
525 bytecode array length: 18 | 525 bytecode array length: 18 |
526 bytecodes: [ | 526 bytecodes: [ |
527 /* 30 E> */ B(StackCheck), | 527 /* 30 E> */ B(StackCheck), |
528 /* 1494 S> */ B(LdaSmi), U8(3), | 528 /* 1494 S> */ B(LdaSmi), U8(3), |
529 /* 1501 E> */ B(TestGreaterThan), R(2), U8(1), | 529 /* 1501 E> */ B(TestGreaterThan), R(2), U8(2), |
530 B(JumpIfFalse), U8(7), | 530 B(JumpIfFalse), U8(7), |
531 /* 1508 S> */ B(Wide), B(Ldar), R16(129), | 531 /* 1508 S> */ B(Wide), B(Ldar), R16(129), |
532 /* 1536 S> */ B(Return), | 532 /* 1536 S> */ B(Return), |
533 /* 1523 S> */ B(Wide), B(Ldar), R16(128), | 533 /* 1523 S> */ B(Wide), B(Ldar), R16(128), |
534 /* 1536 S> */ B(Return), | 534 /* 1536 S> */ B(Return), |
535 ] | 535 ] |
536 constant pool: [ | 536 constant pool: [ |
537 ] | 537 ] |
538 handlers: [ | 538 handlers: [ |
539 ] | 539 ] |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 return x129; | 703 return x129; |
704 " | 704 " |
705 frame size: 157 | 705 frame size: 157 |
706 parameter count: 1 | 706 parameter count: 1 |
707 bytecode array length: 37 | 707 bytecode array length: 37 |
708 bytecodes: [ | 708 bytecodes: [ |
709 /* 30 E> */ B(StackCheck), | 709 /* 30 E> */ B(StackCheck), |
710 /* 1503 S> */ B(LdaZero), | 710 /* 1503 S> */ B(LdaZero), |
711 B(Star), R(0), | 711 B(Star), R(0), |
712 /* 1506 S> */ B(LdaSmi), U8(3), | 712 /* 1506 S> */ B(LdaSmi), U8(3), |
713 /* 1515 E> */ B(Wide), B(TestEqual), R16(129), U16(1), | 713 /* 1515 E> */ B(Wide), B(TestEqual), R16(129), U16(2), |
714 B(JumpIfFalse), U8(10), | 714 B(JumpIfFalse), U8(10), |
715 /* 1534 S> */ B(Wide), B(Mov), R16(0), R16(129), | 715 /* 1534 S> */ B(Wide), B(Mov), R16(0), R16(129), |
716 B(Ldar), R(0), | 716 B(Ldar), R(0), |
717 /* 1540 S> */ B(LdaSmi), U8(3), | 717 /* 1540 S> */ B(LdaSmi), U8(3), |
718 /* 1547 E> */ B(TestGreaterThan), R(2), U8(2), | 718 /* 1547 E> */ B(TestGreaterThan), R(2), U8(3), |
719 B(JumpIfFalse), U8(5), | 719 B(JumpIfFalse), U8(5), |
720 /* 1554 S> */ B(Ldar), R(0), | 720 /* 1554 S> */ B(Ldar), R(0), |
721 /* 1580 S> */ B(Return), | 721 /* 1580 S> */ B(Return), |
722 /* 1567 S> */ B(Wide), B(Ldar), R16(129), | 722 /* 1567 S> */ B(Wide), B(Ldar), R16(129), |
723 /* 1580 S> */ B(Return), | 723 /* 1580 S> */ B(Return), |
724 ] | 724 ] |
725 constant pool: [ | 725 constant pool: [ |
726 ] | 726 ] |
727 handlers: [ | 727 handlers: [ |
728 ] | 728 ] |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 bytecode array length: 56 | 895 bytecode array length: 56 |
896 bytecodes: [ | 896 bytecodes: [ |
897 /* 30 E> */ B(StackCheck), | 897 /* 30 E> */ B(StackCheck), |
898 /* 1503 S> */ B(LdaZero), | 898 /* 1503 S> */ B(LdaZero), |
899 B(Star), R(0), | 899 B(Star), R(0), |
900 /* 1515 S> */ B(LdaZero), | 900 /* 1515 S> */ B(LdaZero), |
901 B(Star), R(1), | 901 B(Star), R(1), |
902 /* 1523 S> */ B(LdaZero), | 902 /* 1523 S> */ B(LdaZero), |
903 B(Wide), B(Star), R16(128), | 903 B(Wide), B(Star), R16(128), |
904 /* 1538 S> */ B(LdaSmi), U8(64), | 904 /* 1538 S> */ B(LdaSmi), U8(64), |
905 /* 1538 E> */ B(Wide), B(TestLessThan), R16(128), U16(1), | 905 /* 1538 E> */ B(Wide), B(TestLessThan), R16(128), U16(2), |
906 B(JumpIfFalse), U8(31), | 906 B(JumpIfFalse), U8(31), |
907 /* 1518 E> */ B(StackCheck), | 907 /* 1518 E> */ B(StackCheck), |
908 /* 1555 S> */ B(Wide), B(Ldar), R16(128), | 908 /* 1555 S> */ B(Wide), B(Ldar), R16(128), |
909 /* 1561 E> */ B(Add), R(1), U8(3), | 909 /* 1561 E> */ B(Add), R(1), U8(4), |
910 B(Wide), B(Mov), R16(1), R16(157), | 910 B(Wide), B(Mov), R16(1), R16(157), |
911 B(Star), R(1), | 911 B(Star), R(1), |
912 /* 1548 S> */ B(Wide), B(Ldar), R16(128), | 912 /* 1548 S> */ B(Wide), B(Ldar), R16(128), |
913 B(Inc), U8(2), | 913 B(Inc), U8(3), |
914 B(Wide), B(Star), R16(128), | 914 B(Wide), B(Star), R16(128), |
915 B(JumpLoop), U8(-36), U8(0), | 915 B(JumpLoop), U8(-36), U8(0), |
916 /* 1567 S> */ B(Wide), B(Ldar), R16(128), | 916 /* 1567 S> */ B(Wide), B(Ldar), R16(128), |
917 /* 1580 S> */ B(Return), | 917 /* 1580 S> */ B(Return), |
918 ] | 918 ] |
919 constant pool: [ | 919 constant pool: [ |
920 ] | 920 ] |
921 handlers: [ | 921 handlers: [ |
922 ] | 922 ] |
923 | 923 |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1095 B(Star), R(1), | 1095 B(Star), R(1), |
1096 /* 1534 S> */ B(Ldar), R(0), | 1096 /* 1534 S> */ B(Ldar), R(0), |
1097 B(JumpIfUndefined), U8(70), | 1097 B(JumpIfUndefined), U8(70), |
1098 B(JumpIfNull), U8(68), | 1098 B(JumpIfNull), U8(68), |
1099 B(Wide), B(ToObject), R16(157), | 1099 B(Wide), B(ToObject), R16(157), |
1100 B(Wide), B(ForInPrepare), R16(157), R16(158), | 1100 B(Wide), B(ForInPrepare), R16(157), R16(158), |
1101 B(LdaZero), | 1101 B(LdaZero), |
1102 B(Wide), B(Star), R16(161), | 1102 B(Wide), B(Star), R16(161), |
1103 /* 1526 S> */ B(Wide), B(ForInContinue), R16(161), R16(160), | 1103 /* 1526 S> */ B(Wide), B(ForInContinue), R16(161), R16(160), |
1104 B(JumpIfFalse), U8(45), | 1104 B(JumpIfFalse), U8(45), |
1105 B(Wide), B(ForInNext), R16(157), R16(161), R16(158), U16(2), | 1105 B(Wide), B(ForInNext), R16(157), R16(161), R16(158), U16(3), |
1106 B(JumpIfUndefined), U8(22), | 1106 B(JumpIfUndefined), U8(22), |
1107 B(Wide), B(Star), R16(128), | 1107 B(Wide), B(Star), R16(128), |
1108 /* 1521 E> */ B(StackCheck), | 1108 /* 1521 E> */ B(StackCheck), |
1109 /* 1541 S> */ B(Wide), B(Ldar), R16(128), | 1109 /* 1541 S> */ B(Wide), B(Ldar), R16(128), |
1110 /* 1547 E> */ B(Add), R(1), U8(1), | 1110 /* 1547 E> */ B(Add), R(1), U8(2), |
1111 B(Wide), B(Mov), R16(1), R16(162), | 1111 B(Wide), B(Mov), R16(1), R16(162), |
1112 B(Star), R(1), | 1112 B(Star), R(1), |
1113 /* 1544 E> */ B(Wide), B(ForInStep), R16(161), | 1113 /* 1544 E> */ B(Wide), B(ForInStep), R16(161), |
1114 B(Wide), B(Star), R16(161), | 1114 B(Wide), B(Star), R16(161), |
1115 B(JumpLoop), U8(-48), U8(0), | 1115 B(JumpLoop), U8(-48), U8(0), |
1116 /* 1553 S> */ B(Ldar), R(1), | 1116 /* 1553 S> */ B(Ldar), R(1), |
1117 /* 1564 S> */ B(Return), | 1117 /* 1564 S> */ B(Return), |
1118 ] | 1118 ] |
1119 constant pool: [ | 1119 constant pool: [ |
1120 ] | 1120 ] |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1300 B(Star), R(1), | 1300 B(Star), R(1), |
1301 /* 1537 S> */ B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0), | 1301 /* 1537 S> */ B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0), |
1302 /* 1549 S> */ B(Ldar), R(1), | 1302 /* 1549 S> */ B(Ldar), R(1), |
1303 /* 1560 S> */ B(Return), | 1303 /* 1560 S> */ B(Return), |
1304 ] | 1304 ] |
1305 constant pool: [ | 1305 constant pool: [ |
1306 ] | 1306 ] |
1307 handlers: [ | 1307 handlers: [ |
1308 ] | 1308 ] |
1309 | 1309 |
OLD | NEW |