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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 ] | 191 ] |
192 handlers: [ | 192 handlers: [ |
193 ] | 193 ] |
194 | 194 |
195 --- | 195 --- |
196 snippet: " | 196 snippet: " |
197 var a = 1; var b = function() { return a }; return ++a; | 197 var a = 1; var b = function() { return a }; return ++a; |
198 " | 198 " |
199 frame size: 2 | 199 frame size: 2 |
200 parameter count: 1 | 200 parameter count: 1 |
201 bytecode array length: 24 | 201 bytecode array length: 27 |
202 bytecodes: [ | 202 bytecodes: [ |
203 B(CreateFunctionContext), U8(1), | 203 B(CreateFunctionContext), U8(1), |
204 B(PushContext), R(1), | 204 B(PushContext), R(1), |
205 /* 30 E> */ B(StackCheck), | 205 /* 30 E> */ B(StackCheck), |
206 /* 42 S> */ B(LdaSmi), U8(1), | 206 /* 42 S> */ B(LdaSmi), U8(1), |
207 /* 42 E> */ B(StaContextSlot), R(context), U8(4), | 207 /* 42 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
208 /* 53 S> */ B(CreateClosure), U8(0), U8(2), | 208 /* 53 S> */ B(CreateClosure), U8(0), U8(2), |
209 B(Star), R(0), | 209 B(Star), R(0), |
210 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), | 210 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
211 B(Inc), U8(1), | 211 B(Inc), U8(1), |
212 /* 87 E> */ B(StaContextSlot), R(context), U8(4), | 212 /* 87 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
213 /* 90 S> */ B(Return), | 213 /* 90 S> */ B(Return), |
214 ] | 214 ] |
215 constant pool: [ | 215 constant pool: [ |
216 SHARED_FUNCTION_INFO_TYPE, | 216 SHARED_FUNCTION_INFO_TYPE, |
217 ] | 217 ] |
218 handlers: [ | 218 handlers: [ |
219 ] | 219 ] |
220 | 220 |
221 --- | 221 --- |
222 snippet: " | 222 snippet: " |
223 var a = 1; var b = function() { return a }; return a--; | 223 var a = 1; var b = function() { return a }; return a--; |
224 " | 224 " |
225 frame size: 3 | 225 frame size: 3 |
226 parameter count: 1 | 226 parameter count: 1 |
227 bytecode array length: 28 | 227 bytecode array length: 31 |
228 bytecodes: [ | 228 bytecodes: [ |
229 B(CreateFunctionContext), U8(1), | 229 B(CreateFunctionContext), U8(1), |
230 B(PushContext), R(1), | 230 B(PushContext), R(1), |
231 /* 30 E> */ B(StackCheck), | 231 /* 30 E> */ B(StackCheck), |
232 /* 42 S> */ B(LdaSmi), U8(1), | 232 /* 42 S> */ B(LdaSmi), U8(1), |
233 /* 42 E> */ B(StaContextSlot), R(context), U8(4), | 233 /* 42 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
234 /* 53 S> */ B(CreateClosure), U8(0), U8(2), | 234 /* 53 S> */ B(CreateClosure), U8(0), U8(2), |
235 B(Star), R(0), | 235 B(Star), R(0), |
236 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), | 236 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
237 B(ToNumber), R(2), | 237 B(ToNumber), R(2), |
238 B(Dec), U8(1), | 238 B(Dec), U8(1), |
239 /* 86 E> */ B(StaContextSlot), R(context), U8(4), | 239 /* 86 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
240 B(Ldar), R(2), | 240 B(Ldar), R(2), |
241 /* 90 S> */ B(Return), | 241 /* 90 S> */ B(Return), |
242 ] | 242 ] |
243 constant pool: [ | 243 constant pool: [ |
244 SHARED_FUNCTION_INFO_TYPE, | 244 SHARED_FUNCTION_INFO_TYPE, |
245 ] | 245 ] |
246 handlers: [ | 246 handlers: [ |
247 ] | 247 ] |
248 | 248 |
249 --- | 249 --- |
(...skipping 16 matching lines...) Expand all Loading... |
266 B(LdaSmi), U8(2), | 266 B(LdaSmi), U8(2), |
267 /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(2), | 267 /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(2), |
268 /* 84 S> */ B(Return), | 268 /* 84 S> */ B(Return), |
269 ] | 269 ] |
270 constant pool: [ | 270 constant pool: [ |
271 FIXED_ARRAY_TYPE, | 271 FIXED_ARRAY_TYPE, |
272 ] | 272 ] |
273 handlers: [ | 273 handlers: [ |
274 ] | 274 ] |
275 | 275 |
OLD | NEW |