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 | 6 pool type: number |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 var x152; | 164 var x152; |
165 var x153; | 165 var x153; |
166 var x154; | 166 var x154; |
167 var x155; | 167 var x155; |
168 var x156; | 168 var x156; |
169 x0 = x127; | 169 x0 = x127; |
170 return x0; | 170 return x0; |
171 " | 171 " |
172 frame size: 157 | 172 frame size: 157 |
173 parameter count: 1 | 173 parameter count: 1 |
174 bytecode array length: 11 | 174 bytecode array length: 10 |
175 bytecodes: [ | 175 bytecodes: [ |
176 /* 30 E> */ B(StackCheck), | 176 /* 30 E> */ B(StackCheck), |
177 /* 1494 S> */ B(Nop), | 177 /* 1494 S> */ B(Wide), B(Mov), R16(127), R16(0), |
178 B(Wide), B(Mov), R16(127), R16(0), | |
179 /* 1505 S> */ B(Ldar), R(0), | 178 /* 1505 S> */ B(Ldar), R(0), |
180 /* 1516 S> */ B(Return), | 179 /* 1516 S> */ B(Return), |
181 ] | 180 ] |
182 constant pool: [ | 181 constant pool: [ |
183 ] | 182 ] |
184 handlers: [ | 183 handlers: [ |
185 ] | 184 ] |
186 | 185 |
187 --- | 186 --- |
188 snippet: " | 187 snippet: " |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 var x152; | 340 var x152; |
342 var x153; | 341 var x153; |
343 var x154; | 342 var x154; |
344 var x155; | 343 var x155; |
345 var x156; | 344 var x156; |
346 x127 = x126; | 345 x127 = x126; |
347 return x127; | 346 return x127; |
348 " | 347 " |
349 frame size: 157 | 348 frame size: 157 |
350 parameter count: 1 | 349 parameter count: 1 |
351 bytecode array length: 13 | 350 bytecode array length: 12 |
352 bytecodes: [ | 351 bytecodes: [ |
353 /* 30 E> */ B(StackCheck), | 352 /* 30 E> */ B(StackCheck), |
354 /* 1494 S> */ B(Nop), | 353 /* 1494 S> */ B(Wide), B(Mov), R16(126), R16(127), |
355 B(Wide), B(Mov), R16(126), R16(127), | |
356 /* 1507 S> */ B(Wide), B(Ldar), R16(127), | 354 /* 1507 S> */ B(Wide), B(Ldar), R16(127), |
357 /* 1520 S> */ B(Return), | 355 /* 1520 S> */ B(Return), |
358 ] | 356 ] |
359 constant pool: [ | 357 constant pool: [ |
360 ] | 358 ] |
361 handlers: [ | 359 handlers: [ |
362 ] | 360 ] |
363 | 361 |
364 --- | 362 --- |
365 snippet: " | 363 snippet: " |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 var x154; | 698 var x154; |
701 var x155; | 699 var x155; |
702 var x156; | 700 var x156; |
703 var x0 = 0; | 701 var x0 = 0; |
704 if (x129 == 3) { var x129 = x0; } | 702 if (x129 == 3) { var x129 = x0; } |
705 if (x2 > 3) { return x0; } | 703 if (x2 > 3) { return x0; } |
706 return x129; | 704 return x129; |
707 " | 705 " |
708 frame size: 157 | 706 frame size: 157 |
709 parameter count: 1 | 707 parameter count: 1 |
710 bytecode array length: 37 | 708 bytecode array length: 36 |
711 bytecodes: [ | 709 bytecodes: [ |
712 /* 30 E> */ B(StackCheck), | 710 /* 30 E> */ B(StackCheck), |
713 /* 1503 S> */ B(LdaZero), | 711 /* 1503 S> */ B(LdaZero), |
714 B(Star), R(0), | 712 B(Star), R(0), |
715 /* 1506 S> */ B(LdaSmi), U8(3), | 713 /* 1506 S> */ B(LdaSmi), U8(3), |
716 /* 1515 E> */ B(Wide), B(TestEqual), R16(129), | 714 /* 1515 E> */ B(Wide), B(TestEqual), R16(129), |
717 B(JumpIfFalse), U8(11), | 715 B(JumpIfFalse), U8(10), |
718 /* 1534 S> */ B(Nop), | 716 /* 1534 S> */ B(Wide), B(Mov), R16(0), R16(129), |
719 /* 1534 E> */ B(Wide), B(Mov), R16(0), R16(129), | |
720 B(Ldar), R(0), | 717 B(Ldar), R(0), |
721 /* 1540 S> */ B(LdaSmi), U8(3), | 718 /* 1540 S> */ B(LdaSmi), U8(3), |
722 /* 1547 E> */ B(Wide), B(TestGreaterThan), R16(2), | 719 /* 1547 E> */ B(Wide), B(TestGreaterThan), R16(2), |
723 B(JumpIfFalse), U8(5), | 720 B(JumpIfFalse), U8(5), |
724 /* 1554 S> */ B(Ldar), R(0), | 721 /* 1554 S> */ B(Ldar), R(0), |
725 /* 1580 S> */ B(Return), | 722 /* 1580 S> */ B(Return), |
726 /* 1567 S> */ B(Wide), B(Ldar), R16(129), | 723 /* 1567 S> */ B(Wide), B(Ldar), R16(129), |
727 /* 1580 S> */ B(Return), | 724 /* 1580 S> */ B(Return), |
728 ] | 725 ] |
729 constant pool: [ | 726 constant pool: [ |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 var x153; | 886 var x153; |
890 var x154; | 887 var x154; |
891 var x155; | 888 var x155; |
892 var x156; | 889 var x156; |
893 var x0 = 0; | 890 var x0 = 0; |
894 var x1 = 0; | 891 var x1 = 0; |
895 for (x128 = 0; x128 < 64; x128++) { x1 += x128;}return x128; | 892 for (x128 = 0; x128 < 64; x128++) { x1 += x128;}return x128; |
896 " | 893 " |
897 frame size: 158 | 894 frame size: 158 |
898 parameter count: 1 | 895 parameter count: 1 |
899 bytecode array length: 59 | 896 bytecode array length: 58 |
900 bytecodes: [ | 897 bytecodes: [ |
901 /* 30 E> */ B(StackCheck), | 898 /* 30 E> */ B(StackCheck), |
902 /* 1503 S> */ B(LdaZero), | 899 /* 1503 S> */ B(LdaZero), |
903 B(Star), R(0), | 900 B(Star), R(0), |
904 /* 1515 S> */ B(LdaZero), | 901 /* 1515 S> */ B(LdaZero), |
905 B(Star), R(1), | 902 B(Star), R(1), |
906 /* 1523 S> */ B(LdaZero), | 903 /* 1523 S> */ B(LdaZero), |
907 /* 1528 E> */ B(Wide), B(Star), R16(128), | 904 B(Wide), B(Star), R16(128), |
908 /* 1538 S> */ B(LdaSmi), U8(64), | 905 /* 1538 S> */ B(LdaSmi), U8(64), |
909 /* 1538 E> */ B(Wide), B(TestLessThan), R16(128), | 906 /* 1538 E> */ B(Wide), B(TestLessThan), R16(128), |
910 B(JumpIfFalse), U8(36), | 907 B(JumpIfFalse), U8(35), |
911 /* 1518 E> */ B(StackCheck), | 908 /* 1518 E> */ B(StackCheck), |
912 /* 1555 S> */ B(Nop), | 909 /* 1555 S> */ B(Wide), B(Ldar), R16(128), |
913 /* 1561 E> */ B(Wide), B(Ldar), R16(128), | 910 /* 1561 E> */ B(Wide), B(Add), R16(1), |
914 B(Wide), B(Add), R16(1), | |
915 B(Wide), B(Mov), R16(1), R16(157), | 911 B(Wide), B(Mov), R16(1), R16(157), |
916 /* 1558 E> */ B(Star), R(1), | 912 B(Star), R(1), |
917 /* 1548 S> */ B(Wide), B(Ldar), R16(128), | 913 /* 1548 S> */ B(Wide), B(Ldar), R16(128), |
918 B(ToNumber), | 914 B(ToNumber), |
919 B(Wide), B(Star), R16(157), | 915 B(Wide), B(Star), R16(157), |
920 B(Inc), | 916 B(Inc), |
921 /* 1548 E> */ B(Wide), B(Star), R16(128), | 917 B(Wide), B(Star), R16(128), |
922 B(Jump), U8(-40), | 918 B(Jump), U8(-39), |
923 /* 1567 S> */ B(Wide), B(Ldar), R16(128), | 919 /* 1567 S> */ B(Wide), B(Ldar), R16(128), |
924 /* 1580 S> */ B(Return), | 920 /* 1580 S> */ B(Return), |
925 ] | 921 ] |
926 constant pool: [ | 922 constant pool: [ |
927 ] | 923 ] |
928 handlers: [ | 924 handlers: [ |
929 ] | 925 ] |
930 | 926 |
931 --- | 927 --- |
932 snippet: " | 928 snippet: " |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1086 var x153; | 1082 var x153; |
1087 var x154; | 1083 var x154; |
1088 var x155; | 1084 var x155; |
1089 var x156; | 1085 var x156; |
1090 var x0 = 1234; | 1086 var x0 = 1234; |
1091 var x1 = 0; | 1087 var x1 = 0; |
1092 for (x128 in x0) { x1 += x128;}return x1; | 1088 for (x128 in x0) { x1 += x128;}return x1; |
1093 " | 1089 " |
1094 frame size: 163 | 1090 frame size: 163 |
1095 parameter count: 1 | 1091 parameter count: 1 |
1096 bytecode array length: 85 | 1092 bytecode array length: 84 |
1097 bytecodes: [ | 1093 bytecodes: [ |
1098 /* 30 E> */ B(StackCheck), | 1094 /* 30 E> */ B(StackCheck), |
1099 /* 1503 S> */ B(Wide), B(LdaSmi), U16(1234), | 1095 /* 1503 S> */ B(Wide), B(LdaSmi), U16(1234), |
1100 B(Star), R(0), | 1096 B(Star), R(0), |
1101 /* 1518 S> */ B(LdaZero), | 1097 /* 1518 S> */ B(LdaZero), |
1102 B(Star), R(1), | 1098 B(Star), R(1), |
1103 /* 1534 S> */ B(Ldar), R(0), | 1099 /* 1534 S> */ B(Ldar), R(0), |
1104 B(JumpIfUndefined), U8(70), | 1100 B(JumpIfUndefined), U8(69), |
1105 B(JumpIfNull), U8(68), | 1101 B(JumpIfNull), U8(67), |
1106 B(ToObject), | 1102 B(ToObject), |
1107 B(Wide), B(ForInPrepare), R16(158), | 1103 B(Wide), B(ForInPrepare), R16(158), |
1108 B(Wide), B(Star), R16(157), | 1104 B(Wide), B(Star), R16(157), |
1109 B(LdaZero), | 1105 B(LdaZero), |
1110 B(Wide), B(Star), R16(161), | 1106 B(Wide), B(Star), R16(161), |
1111 /* 1526 S> */ B(Wide), B(ForInDone), R16(161), R16(160), | 1107 /* 1526 S> */ B(Wide), B(ForInDone), R16(161), R16(160), |
1112 B(JumpIfTrue), U8(46), | 1108 B(JumpIfTrue), U8(45), |
1113 B(Wide), B(ForInNext), R16(157), R16(161), R16(158), U16(1), | 1109 B(Wide), B(ForInNext), R16(157), R16(161), R16(158), U16(1), |
1114 B(JumpIfUndefined), U8(24), | 1110 B(JumpIfUndefined), U8(23), |
1115 B(Wide), B(Star), R16(128), | 1111 B(Wide), B(Star), R16(128), |
1116 /* 1521 E> */ B(StackCheck), | 1112 /* 1521 E> */ B(StackCheck), |
1117 /* 1541 S> */ B(Nop), | 1113 /* 1541 S> */ B(Wide), B(Ldar), R16(128), |
1118 /* 1547 E> */ B(Wide), B(Ldar), R16(128), | 1114 /* 1547 E> */ B(Wide), B(Add), R16(1), |
1119 B(Wide), B(Add), R16(1), | |
1120 B(Wide), B(Mov), R16(1), R16(162), | 1115 B(Wide), B(Mov), R16(1), R16(162), |
1121 /* 1544 E> */ B(Star), R(1), | 1116 B(Star), R(1), |
1122 B(Wide), B(ForInStep), R16(161), | 1117 /* 1544 E> */ B(Wide), B(ForInStep), R16(161), |
1123 B(Wide), B(Star), R16(161), | 1118 B(Wide), B(Star), R16(161), |
1124 B(Jump), U8(-50), | 1119 B(Jump), U8(-49), |
1125 /* 1553 S> */ B(Ldar), R(1), | 1120 /* 1553 S> */ B(Ldar), R(1), |
1126 /* 1564 S> */ B(Return), | 1121 /* 1564 S> */ B(Return), |
1127 ] | 1122 ] |
1128 constant pool: [ | 1123 constant pool: [ |
1129 ] | 1124 ] |
1130 handlers: [ | 1125 handlers: [ |
1131 ] | 1126 ] |
1132 | 1127 |
1133 --- | 1128 --- |
1134 snippet: " | 1129 snippet: " |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 var x154; | 1284 var x154; |
1290 var x155; | 1285 var x155; |
1291 var x156; | 1286 var x156; |
1292 x0 = %Add(x64, x63); | 1287 x0 = %Add(x64, x63); |
1293 x1 = %Add(x27, x143); | 1288 x1 = %Add(x27, x143); |
1294 %TheHole(); | 1289 %TheHole(); |
1295 return x1; | 1290 return x1; |
1296 " | 1291 " |
1297 frame size: 159 | 1292 frame size: 159 |
1298 parameter count: 1 | 1293 parameter count: 1 |
1299 bytecode array length: 55 | 1294 bytecode array length: 53 |
1300 bytecodes: [ | 1295 bytecodes: [ |
1301 /* 30 E> */ B(StackCheck), | 1296 /* 30 E> */ B(StackCheck), |
1302 /* 1494 S> */ B(Nop), | 1297 /* 1494 S> */ B(Wide), B(Mov), R16(64), R16(157), |
1303 /* 1509 E> */ B(Wide), B(Mov), R16(64), R16(157), | |
1304 B(Wide), B(Mov), R16(63), R16(158), | 1298 B(Wide), B(Mov), R16(63), R16(158), |
1305 B(Wide), B(CallRuntime), U16(Runtime::kAdd), R16(157), U16(2), | 1299 /* 1509 E> */ B(Wide), B(CallRuntime), U16(Runtime::kAdd), R16(157), U16(2), |
1306 B(Star), R(0), | 1300 B(Star), R(0), |
1307 /* 1515 S> */ B(Nop), | 1301 /* 1515 S> */ B(Wide), B(Mov), R16(27), R16(157), |
1308 /* 1530 E> */ B(Wide), B(Mov), R16(27), R16(157), | |
1309 B(Wide), B(Mov), R16(143), R16(158), | 1302 B(Wide), B(Mov), R16(143), R16(158), |
1310 B(Wide), B(CallRuntime), U16(Runtime::kAdd), R16(157), U16(2), | 1303 /* 1530 E> */ B(Wide), B(CallRuntime), U16(Runtime::kAdd), R16(157), U16(2), |
1311 B(Star), R(1), | 1304 B(Star), R(1), |
1312 /* 1537 S> */ B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0), | 1305 /* 1537 S> */ B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0), |
1313 /* 1549 S> */ B(Ldar), R(1), | 1306 /* 1549 S> */ B(Ldar), R(1), |
1314 /* 1560 S> */ B(Return), | 1307 /* 1560 S> */ B(Return), |
1315 ] | 1308 ] |
1316 constant pool: [ | 1309 constant pool: [ |
1317 ] | 1310 ] |
1318 handlers: [ | 1311 handlers: [ |
1319 ] | 1312 ] |
1320 | 1313 |
OLD | NEW |