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: mixed | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
(...skipping 23 matching lines...) Expand all Loading... |
34 frame size: 2 | 34 frame size: 2 |
35 parameter count: 1 | 35 parameter count: 1 |
36 bytecode array length: 14 | 36 bytecode array length: 14 |
37 bytecodes: [ | 37 bytecodes: [ |
38 /* 30 E> */ B(StackCheck), | 38 /* 30 E> */ B(StackCheck), |
39 /* 42 S> */ B(LdaSmi), U8(1), | 39 /* 42 S> */ B(LdaSmi), U8(1), |
40 B(Star), R(0), | 40 B(Star), R(0), |
41 /* 45 S> */ B(ToNumber), | 41 /* 45 S> */ B(ToNumber), |
42 B(Star), R(1), | 42 B(Star), R(1), |
43 B(Inc), | 43 B(Inc), |
44 /* 53 E> */ B(Star), R(0), | 44 B(Star), R(0), |
45 B(Ldar), R(1), | 45 B(Ldar), R(1), |
46 /* 57 S> */ B(Return), | 46 /* 57 S> */ B(Return), |
47 ] | 47 ] |
48 constant pool: [ | 48 constant pool: [ |
49 ] | 49 ] |
50 handlers: [ | 50 handlers: [ |
51 ] | 51 ] |
52 | 52 |
53 --- | 53 --- |
54 snippet: " | 54 snippet: " |
(...skipping 22 matching lines...) Expand all Loading... |
77 frame size: 2 | 77 frame size: 2 |
78 parameter count: 1 | 78 parameter count: 1 |
79 bytecode array length: 14 | 79 bytecode array length: 14 |
80 bytecodes: [ | 80 bytecodes: [ |
81 /* 30 E> */ B(StackCheck), | 81 /* 30 E> */ B(StackCheck), |
82 /* 42 S> */ B(LdaSmi), U8(1), | 82 /* 42 S> */ B(LdaSmi), U8(1), |
83 B(Star), R(0), | 83 B(Star), R(0), |
84 /* 45 S> */ B(ToNumber), | 84 /* 45 S> */ B(ToNumber), |
85 B(Star), R(1), | 85 B(Star), R(1), |
86 B(Dec), | 86 B(Dec), |
87 /* 53 E> */ B(Star), R(0), | 87 B(Star), R(0), |
88 B(Ldar), R(1), | 88 B(Ldar), R(1), |
89 /* 57 S> */ B(Return), | 89 /* 57 S> */ B(Return), |
90 ] | 90 ] |
91 constant pool: [ | 91 constant pool: [ |
92 ] | 92 ] |
93 handlers: [ | 93 handlers: [ |
94 ] | 94 ] |
95 | 95 |
96 --- | 96 --- |
97 snippet: " | 97 snippet: " |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 ] | 143 ] |
144 handlers: [ | 144 handlers: [ |
145 ] | 145 ] |
146 | 146 |
147 --- | 147 --- |
148 snippet: " | 148 snippet: " |
149 var name = 'var'; var a = { val: 1 }; return a[name]--; | 149 var name = 'var'; var a = { val: 1 }; return a[name]--; |
150 " | 150 " |
151 frame size: 5 | 151 frame size: 5 |
152 parameter count: 1 | 152 parameter count: 1 |
153 bytecode array length: 30 | 153 bytecode array length: 29 |
154 bytecodes: [ | 154 bytecodes: [ |
155 /* 30 E> */ B(StackCheck), | 155 /* 30 E> */ B(StackCheck), |
156 /* 45 S> */ B(LdaConstant), U8(0), | 156 /* 45 S> */ B(LdaConstant), U8(0), |
157 B(Star), R(0), | 157 B(Star), R(0), |
158 /* 60 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), | 158 /* 60 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), |
159 B(Star), R(2), | 159 B(Star), R(2), |
160 B(Star), R(1), | 160 B(Star), R(1), |
161 /* 72 S> */ B(Nop), | 161 /* 72 S> */ B(Ldar), R(0), |
162 /* 81 E> */ B(Ldar), R(0), | 162 /* 81 E> */ B(LdaKeyedProperty), R(1), U8(1), |
163 B(LdaKeyedProperty), R(1), U8(1), | |
164 B(ToNumber), | 163 B(ToNumber), |
165 B(Star), R(4), | 164 B(Star), R(4), |
166 B(Dec), | 165 B(Dec), |
167 /* 86 E> */ B(StaKeyedPropertySloppy), R(1), R(0), U8(3), | 166 /* 86 E> */ B(StaKeyedPropertySloppy), R(1), R(0), U8(3), |
168 B(Ldar), R(4), | 167 B(Ldar), R(4), |
169 /* 90 S> */ B(Return), | 168 /* 90 S> */ B(Return), |
170 ] | 169 ] |
171 constant pool: [ | 170 constant pool: [ |
172 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 171 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
173 InstanceType::FIXED_ARRAY_TYPE, | 172 InstanceType::FIXED_ARRAY_TYPE, |
174 ] | 173 ] |
175 handlers: [ | 174 handlers: [ |
176 ] | 175 ] |
177 | 176 |
178 --- | 177 --- |
179 snippet: " | 178 snippet: " |
180 var name = 'var'; var a = { val: 1 }; return ++a[name]; | 179 var name = 'var'; var a = { val: 1 }; return ++a[name]; |
181 " | 180 " |
182 frame size: 3 | 181 frame size: 3 |
183 parameter count: 1 | 182 parameter count: 1 |
184 bytecode array length: 25 | 183 bytecode array length: 24 |
185 bytecodes: [ | 184 bytecodes: [ |
186 /* 30 E> */ B(StackCheck), | 185 /* 30 E> */ B(StackCheck), |
187 /* 45 S> */ B(LdaConstant), U8(0), | 186 /* 45 S> */ B(LdaConstant), U8(0), |
188 B(Star), R(0), | 187 B(Star), R(0), |
189 /* 60 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), | 188 /* 60 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(1), |
190 B(Star), R(2), | 189 B(Star), R(2), |
191 B(Star), R(1), | 190 B(Star), R(1), |
192 /* 72 S> */ B(Nop), | 191 /* 72 S> */ B(Ldar), R(0), |
193 /* 83 E> */ B(Ldar), R(0), | 192 /* 83 E> */ B(LdaKeyedProperty), R(1), U8(1), |
194 B(LdaKeyedProperty), R(1), U8(1), | |
195 B(Inc), | 193 B(Inc), |
196 /* 87 E> */ B(StaKeyedPropertySloppy), R(1), R(0), U8(3), | 194 /* 87 E> */ B(StaKeyedPropertySloppy), R(1), R(0), U8(3), |
197 /* 90 S> */ B(Return), | 195 /* 90 S> */ B(Return), |
198 ] | 196 ] |
199 constant pool: [ | 197 constant pool: [ |
200 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 198 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
201 InstanceType::FIXED_ARRAY_TYPE, | 199 InstanceType::FIXED_ARRAY_TYPE, |
202 ] | 200 ] |
203 handlers: [ | 201 handlers: [ |
204 ] | 202 ] |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 bytecodes: [ | 266 bytecodes: [ |
269 /* 30 E> */ B(StackCheck), | 267 /* 30 E> */ B(StackCheck), |
270 /* 44 S> */ B(LdaSmi), U8(1), | 268 /* 44 S> */ B(LdaSmi), U8(1), |
271 B(Star), R(0), | 269 B(Star), R(0), |
272 /* 55 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 270 /* 55 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
273 B(Star), R(1), | 271 B(Star), R(1), |
274 /* 63 S> */ B(Ldar), R(0), | 272 /* 63 S> */ B(Ldar), R(0), |
275 B(ToNumber), | 273 B(ToNumber), |
276 B(Star), R(3), | 274 B(Star), R(3), |
277 B(Inc), | 275 B(Inc), |
278 /* 75 E> */ B(Star), R(0), | 276 B(Star), R(0), |
279 B(LdaSmi), U8(2), | 277 B(LdaSmi), U8(2), |
280 /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(1), | 278 /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(1), |
281 /* 84 S> */ B(Return), | 279 /* 84 S> */ B(Return), |
282 ] | 280 ] |
283 constant pool: [ | 281 constant pool: [ |
284 InstanceType::FIXED_ARRAY_TYPE, | 282 InstanceType::FIXED_ARRAY_TYPE, |
285 ] | 283 ] |
286 handlers: [ | 284 handlers: [ |
287 ] | 285 ] |
288 | 286 |
OLD | NEW |