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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 ] | 196 ] |
197 handlers: [ | 197 handlers: [ |
198 ] | 198 ] |
199 | 199 |
200 --- | 200 --- |
201 snippet: " | 201 snippet: " |
202 var a = 1; var b = function() { return a }; return ++a; | 202 var a = 1; var b = function() { return a }; return ++a; |
203 " | 203 " |
204 frame size: 2 | 204 frame size: 2 |
205 parameter count: 1 | 205 parameter count: 1 |
206 bytecode array length: 26 | 206 bytecode array length: 23 |
207 bytecodes: [ | 207 bytecodes: [ |
208 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 208 B(CreateFunctionContext), U8(5), |
209 B(PushContext), R(1), | 209 B(PushContext), R(1), |
210 /* 30 E> */ B(StackCheck), | 210 /* 30 E> */ B(StackCheck), |
211 /* 42 S> */ B(LdaSmi), U8(1), | 211 /* 42 S> */ B(LdaSmi), U8(1), |
212 /* 42 E> */ B(StaContextSlot), R(context), U8(4), | 212 /* 42 E> */ B(StaContextSlot), R(context), U8(4), |
213 /* 53 S> */ B(CreateClosure), U8(0), U8(2), | 213 /* 53 S> */ B(CreateClosure), U8(0), U8(2), |
214 B(Star), R(0), | 214 B(Star), R(0), |
215 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), | 215 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), |
216 B(Inc), | 216 B(Inc), |
217 /* 87 E> */ B(StaContextSlot), R(context), U8(4), | 217 /* 87 E> */ B(StaContextSlot), R(context), U8(4), |
218 /* 90 S> */ B(Return), | 218 /* 90 S> */ B(Return), |
219 ] | 219 ] |
220 constant pool: [ | 220 constant pool: [ |
221 InstanceType::SHARED_FUNCTION_INFO_TYPE, | 221 InstanceType::SHARED_FUNCTION_INFO_TYPE, |
222 ] | 222 ] |
223 handlers: [ | 223 handlers: [ |
224 ] | 224 ] |
225 | 225 |
226 --- | 226 --- |
227 snippet: " | 227 snippet: " |
228 var a = 1; var b = function() { return a }; return a--; | 228 var a = 1; var b = function() { return a }; return a--; |
229 " | 229 " |
230 frame size: 3 | 230 frame size: 3 |
231 parameter count: 1 | 231 parameter count: 1 |
232 bytecode array length: 30 | 232 bytecode array length: 27 |
233 bytecodes: [ | 233 bytecodes: [ |
234 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 234 B(CreateFunctionContext), U8(5), |
235 B(PushContext), R(1), | 235 B(PushContext), R(1), |
236 /* 30 E> */ B(StackCheck), | 236 /* 30 E> */ B(StackCheck), |
237 /* 42 S> */ B(LdaSmi), U8(1), | 237 /* 42 S> */ B(LdaSmi), U8(1), |
238 /* 42 E> */ B(StaContextSlot), R(context), U8(4), | 238 /* 42 E> */ B(StaContextSlot), R(context), U8(4), |
239 /* 53 S> */ B(CreateClosure), U8(0), U8(2), | 239 /* 53 S> */ B(CreateClosure), U8(0), U8(2), |
240 B(Star), R(0), | 240 B(Star), R(0), |
241 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), | 241 /* 78 S> */ B(LdaContextSlot), R(context), U8(4), |
242 B(ToNumber), R(2), | 242 B(ToNumber), R(2), |
243 B(Dec), | 243 B(Dec), |
244 /* 86 E> */ B(StaContextSlot), R(context), U8(4), | 244 /* 86 E> */ B(StaContextSlot), R(context), U8(4), |
(...skipping 26 matching lines...) Expand all Loading... |
271 B(LdaSmi), U8(2), | 271 B(LdaSmi), U8(2), |
272 /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(1), | 272 /* 79 E> */ B(StaKeyedPropertySloppy), R(1), R(3), U8(1), |
273 /* 84 S> */ B(Return), | 273 /* 84 S> */ B(Return), |
274 ] | 274 ] |
275 constant pool: [ | 275 constant pool: [ |
276 InstanceType::FIXED_ARRAY_TYPE, | 276 InstanceType::FIXED_ARRAY_TYPE, |
277 ] | 277 ] |
278 handlers: [ | 278 handlers: [ |
279 ] | 279 ] |
280 | 280 |
OLD | NEW |