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