| 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 | |
| 7 wrap: yes | 6 wrap: yes |
| 8 | 7 |
| 9 --- | 8 --- |
| 10 snippet: " | 9 snippet: " |
| 11 with ({x:42}) { return x; } | 10 with ({x:42}) { return x; } |
| 12 " | 11 " |
| 13 frame size: 2 | 12 frame size: 2 |
| 14 parameter count: 1 | 13 parameter count: 1 |
| 15 bytecode array length: 22 | 14 bytecode array length: 22 |
| 16 bytecodes: [ | 15 bytecodes: [ |
| 17 /* 30 E> */ B(StackCheck), | 16 /* 30 E> */ B(StackCheck), |
| 18 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), | 17 /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), |
| 19 B(Ldar), R(1), | 18 B(Ldar), R(1), |
| 20 B(ToObject), R(1), | 19 B(ToObject), R(1), |
| 21 B(Ldar), R(closure), | 20 B(Ldar), R(closure), |
| 22 B(CreateWithContext), R(1), U8(1), | 21 B(CreateWithContext), R(1), U8(1), |
| 23 B(PushContext), R(0), | 22 B(PushContext), R(0), |
| 24 /* 50 S> */ B(LdaLookupSlot), U8(2), | 23 /* 50 S> */ B(LdaLookupSlot), U8(2), |
| 25 B(PopContext), R(0), | 24 B(PopContext), R(0), |
| 26 /* 62 S> */ B(Return), | 25 /* 62 S> */ B(Return), |
| 27 ] | 26 ] |
| 28 constant pool: [ | 27 constant pool: [ |
| 29 FIXED_ARRAY_TYPE, | 28 FIXED_ARRAY_TYPE, |
| 30 FIXED_ARRAY_TYPE, | 29 FIXED_ARRAY_TYPE, |
| 31 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], | 30 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
| 32 ] | 31 ] |
| 33 handlers: [ | 32 handlers: [ |
| 34 ] | 33 ] |
| 35 | 34 |
| OLD | NEW |