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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 " | 207 " |
208 frame size: 2 | 208 frame size: 2 |
209 parameter count: 1 | 209 parameter count: 1 |
210 bytecode array length: 26 | 210 bytecode array length: 26 |
211 bytecodes: [ | 211 bytecodes: [ |
212 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 212 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
213 B(PushContext), R(1), | 213 B(PushContext), R(1), |
214 /* 30 E> */ B(StackCheck), | 214 /* 30 E> */ B(StackCheck), |
215 /* 42 S> */ B(LdaSmi), U8(1), | 215 /* 42 S> */ B(LdaSmi), U8(1), |
216 /* 42 E> */ B(StaContextSlot), R(context), U8(4), | 216 /* 42 E> */ B(StaContextSlot), R(context), U8(4), |
217 /* 53 S> */ B(CreateClosure), U8(0), U8(0), | 217 /* 53 S> */ B(CreateClosure), U8(0), U8(2), |
218 B(Star), R(0), | 218 B(Star), R(0), |
219 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), | 219 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), |
220 B(Inc), | 220 B(Inc), |
221 /* 87 E> */ B(StaContextSlot), R(context), U8(4), | 221 /* 87 E> */ B(StaContextSlot), R(context), U8(4), |
222 /* 90 S> */ B(Return), | 222 /* 90 S> */ B(Return), |
223 ] | 223 ] |
224 constant pool: [ | 224 constant pool: [ |
225 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 225 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
226 ] | 226 ] |
227 handlers: [ | 227 handlers: [ |
228 ] | 228 ] |
229 | 229 |
230 --- | 230 --- |
231 snippet: " | 231 snippet: " |
232 var a = 1; var b = function() { return a }; return a--; | 232 var a = 1; var b = function() { return a }; return a--; |
233 " | 233 " |
234 frame size: 3 | 234 frame size: 3 |
235 parameter count: 1 | 235 parameter count: 1 |
236 bytecode array length: 31 | 236 bytecode array length: 31 |
237 bytecodes: [ | 237 bytecodes: [ |
238 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 238 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
239 B(PushContext), R(1), | 239 B(PushContext), R(1), |
240 /* 30 E> */ B(StackCheck), | 240 /* 30 E> */ B(StackCheck), |
241 /* 42 S> */ B(LdaSmi), U8(1), | 241 /* 42 S> */ B(LdaSmi), U8(1), |
242 /* 42 E> */ B(StaContextSlot), R(context), U8(4), | 242 /* 42 E> */ B(StaContextSlot), R(context), U8(4), |
243 /* 53 S> */ B(CreateClosure), U8(0), U8(0), | 243 /* 53 S> */ B(CreateClosure), U8(0), U8(2), |
244 B(Star), R(0), | 244 B(Star), R(0), |
245 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), | 245 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), |
246 B(ToNumber), | 246 B(ToNumber), |
247 B(Star), R(2), | 247 B(Star), R(2), |
248 B(Dec), | 248 B(Dec), |
249 /* 86 E> */ B(StaContextSlot), R(context), U8(4), | 249 /* 86 E> */ B(StaContextSlot), R(context), U8(4), |
250 B(Ldar), R(2), | 250 B(Ldar), R(2), |
251 /* 90 S> */ B(Return), | 251 /* 90 S> */ B(Return), |
252 ] | 252 ] |
253 constant pool: [ | 253 constant pool: [ |
(...skipping 23 matching lines...) Expand all Loading... |
277 B(LdaSmi), U8(2), | 277 B(LdaSmi), U8(2), |
278 /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(1), | 278 /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(1), |
279 /* 84 S> */ B(Return), | 279 /* 84 S> */ B(Return), |
280 ] | 280 ] |
281 constant pool: [ | 281 constant pool: [ |
282 InstanceType::FIXED_ARRAY_TYPE, | 282 InstanceType::FIXED_ARRAY_TYPE, |
283 ] | 283 ] |
284 handlers: [ | 284 handlers: [ |
285 ] | 285 ] |
286 | 286 |
OLD | NEW |