| 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: string | 6 pool type: string |
| 7 execute: yes | 7 execute: yes |
| 8 wrap: no | 8 wrap: no |
| 9 test function name: f | 9 test function name: f |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 function f(a) { return a[100]; } | 55 function f(a) { return a[100]; } |
| 56 f({100 : \"test\"}); | 56 f({100 : \"test\"}); |
| 57 " | 57 " |
| 58 frame size: 1 | 58 frame size: 1 |
| 59 parameter count: 2 | 59 parameter count: 2 |
| 60 bytecode array length: 11 | 60 bytecode array length: 11 |
| 61 bytecodes: [ | 61 bytecodes: [ |
| 62 B(StackCheck), | 62 B(StackCheck), |
| 63 B(Ldar), R(arg0), | 63 B(Ldar), R(arg0), |
| 64 B(Star), R(0), | 64 B(Star), R(0), |
| 65 B(LdaSmi8), U8(100), | 65 B(LdaSmi), U8(100), |
| 66 B(KeyedLoadIC), R(0), U8(1), | 66 B(KeyedLoadIC), R(0), U8(1), |
| 67 B(Return), | 67 B(Return), |
| 68 ] | 68 ] |
| 69 constant pool: [ | 69 constant pool: [ |
| 70 ] | 70 ] |
| 71 handlers: [ | 71 handlers: [ |
| 72 ] | 72 ] |
| 73 | 73 |
| 74 --- | 74 --- |
| 75 snippet: " | 75 snippet: " |
| (...skipping 25 matching lines...) Expand all Loading... |
| 101 parameter count: 2 | 101 parameter count: 2 |
| 102 bytecode array length: 21 | 102 bytecode array length: 21 |
| 103 bytecodes: [ | 103 bytecodes: [ |
| 104 B(StackCheck), | 104 B(StackCheck), |
| 105 B(Ldar), R(arg0), | 105 B(Ldar), R(arg0), |
| 106 B(Star), R(1), | 106 B(Star), R(1), |
| 107 B(LoadIC), R(1), U8(0), U8(1), | 107 B(LoadIC), R(1), U8(0), U8(1), |
| 108 B(Star), R(0), | 108 B(Star), R(0), |
| 109 B(Ldar), R(arg0), | 109 B(Ldar), R(arg0), |
| 110 B(Star), R(1), | 110 B(Star), R(1), |
| 111 B(LdaSmi8), U8(-124), | 111 B(LdaSmi), U8(-124), |
| 112 B(KeyedLoadIC), R(1), U8(3), | 112 B(KeyedLoadIC), R(1), U8(3), |
| 113 B(Return), | 113 B(Return), |
| 114 ] | 114 ] |
| 115 constant pool: [ | 115 constant pool: [ |
| 116 "name", | 116 "name", |
| 117 ] | 117 ] |
| 118 handlers: [ | 118 handlers: [ |
| 119 ] | 119 ] |
| 120 | 120 |
| 121 --- | 121 --- |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 b = a.name; | 249 b = a.name; |
| 250 b = a.name; | 250 b = a.name; |
| 251 b = a.name; | 251 b = a.name; |
| 252 b = a.name; | 252 b = a.name; |
| 253 return a.name; | 253 return a.name; |
| 254 } | 254 } |
| 255 f({name : \"test\"}) | 255 f({name : \"test\"}) |
| 256 " | 256 " |
| 257 frame size: 2 | 257 frame size: 2 |
| 258 parameter count: 2 | 258 parameter count: 2 |
| 259 bytecode array length: 1292 | 259 bytecode array length: 1294 |
| 260 bytecodes: [ | 260 bytecodes: [ |
| 261 B(StackCheck), | 261 B(StackCheck), |
| 262 B(Ldar), R(arg0), | 262 B(Ldar), R(arg0), |
| 263 B(Star), R(1), | 263 B(Star), R(1), |
| 264 B(LoadIC), R(1), U8(0), U8(1), | 264 B(LoadIC), R(1), U8(0), U8(1), |
| 265 B(Star), R(0), | 265 B(Star), R(0), |
| 266 B(Ldar), R(arg0), | 266 B(Ldar), R(arg0), |
| 267 B(Star), R(1), | 267 B(Star), R(1), |
| 268 B(LoadIC), R(1), U8(0), U8(3), | 268 B(LoadIC), R(1), U8(0), U8(3), |
| 269 B(Star), R(0), | 269 B(Star), R(0), |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 B(Ldar), R(arg0), | 766 B(Ldar), R(arg0), |
| 767 B(Star), R(1), | 767 B(Star), R(1), |
| 768 B(LoadIC), R(1), U8(0), U8(253), | 768 B(LoadIC), R(1), U8(0), U8(253), |
| 769 B(Star), R(0), | 769 B(Star), R(0), |
| 770 B(Ldar), R(arg0), | 770 B(Ldar), R(arg0), |
| 771 B(Star), R(1), | 771 B(Star), R(1), |
| 772 B(LoadIC), R(1), U8(0), U8(255), | 772 B(LoadIC), R(1), U8(0), U8(255), |
| 773 B(Star), R(0), | 773 B(Star), R(0), |
| 774 B(Ldar), R(arg0), | 774 B(Ldar), R(arg0), |
| 775 B(Star), R(1), | 775 B(Star), R(1), |
| 776 B(LoadICWide), R(1), U16(0), U16(257), | 776 B(Wide), B(LoadIC), R16(1), U16(0), U16(257), |
| 777 B(Return), | 777 B(Return), |
| 778 ] | 778 ] |
| 779 constant pool: [ | 779 constant pool: [ |
| 780 "name", | 780 "name", |
| 781 ] | 781 ] |
| 782 handlers: [ | 782 handlers: [ |
| 783 ] | 783 ] |
| 784 | 784 |
| 785 --- | 785 --- |
| 786 snippet: " | 786 snippet: " |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 913 c = a[b]; | 913 c = a[b]; |
| 914 c = a[b]; | 914 c = a[b]; |
| 915 c = a[b]; | 915 c = a[b]; |
| 916 c = a[b]; | 916 c = a[b]; |
| 917 return a[b]; | 917 return a[b]; |
| 918 } | 918 } |
| 919 f({name : \"test\"}, \"name\") | 919 f({name : \"test\"}, \"name\") |
| 920 " | 920 " |
| 921 frame size: 2 | 921 frame size: 2 |
| 922 parameter count: 3 | 922 parameter count: 3 |
| 923 bytecode array length: 1420 | 923 bytecode array length: 1422 |
| 924 bytecodes: [ | 924 bytecodes: [ |
| 925 B(StackCheck), | 925 B(StackCheck), |
| 926 B(Ldar), R(arg0), | 926 B(Ldar), R(arg0), |
| 927 B(Star), R(1), | 927 B(Star), R(1), |
| 928 B(Ldar), R(arg1), | 928 B(Ldar), R(arg1), |
| 929 B(KeyedLoadIC), R(1), U8(1), | 929 B(KeyedLoadIC), R(1), U8(1), |
| 930 B(Star), R(0), | 930 B(Star), R(0), |
| 931 B(Ldar), R(arg0), | 931 B(Ldar), R(arg0), |
| 932 B(Star), R(1), | 932 B(Star), R(1), |
| 933 B(Ldar), R(arg1), | 933 B(Ldar), R(arg1), |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1559 B(KeyedLoadIC), R(1), U8(253), | 1559 B(KeyedLoadIC), R(1), U8(253), |
| 1560 B(Star), R(0), | 1560 B(Star), R(0), |
| 1561 B(Ldar), R(arg0), | 1561 B(Ldar), R(arg0), |
| 1562 B(Star), R(1), | 1562 B(Star), R(1), |
| 1563 B(Ldar), R(arg1), | 1563 B(Ldar), R(arg1), |
| 1564 B(KeyedLoadIC), R(1), U8(255), | 1564 B(KeyedLoadIC), R(1), U8(255), |
| 1565 B(Star), R(0), | 1565 B(Star), R(0), |
| 1566 B(Ldar), R(arg0), | 1566 B(Ldar), R(arg0), |
| 1567 B(Star), R(1), | 1567 B(Star), R(1), |
| 1568 B(Ldar), R(arg1), | 1568 B(Ldar), R(arg1), |
| 1569 B(KeyedLoadICWide), R(1), U16(257), | 1569 B(Wide), B(KeyedLoadIC), R16(1), U16(257), |
| 1570 B(Return), | 1570 B(Return), |
| 1571 ] | 1571 ] |
| 1572 constant pool: [ | 1572 constant pool: [ |
| 1573 ] | 1573 ] |
| 1574 handlers: [ | 1574 handlers: [ |
| 1575 ] | 1575 ] |
| 1576 | 1576 |
| OLD | NEW |