| 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 --- |
| 11 snippet: " | 11 snippet: " |
| 12 with ({x:42}) { return x; } | 12 with ({x:42}) { return x; } |
| 13 " | 13 " |
| 14 frame size: 4 | 14 frame size: 4 |
| 15 parameter count: 1 | 15 parameter count: 1 |
| 16 bytecode array length: 24 | 16 bytecode array length: 26 |
| 17 bytecodes: [ | 17 bytecodes: [ |
| 18 B(StackCheck), | 18 B(StackCheck), |
| 19 B(CreateObjectLiteral), U8(0), U8(0), U8(5), | 19 B(CreateObjectLiteral), U8(0), U8(0), U8(5), |
| 20 B(Star), R(1), | 20 B(Star), R(1), |
| 21 B(ToObject), | 21 B(ToObject), |
| 22 B(Star), R(2), | 22 B(Star), R(2), |
| 23 B(Ldar), R(closure), | 23 B(Ldar), R(closure), |
| 24 B(Star), R(3), | 24 B(Star), R(3), |
| 25 B(CallRuntime), U16(Runtime::kPushWithContext), R(2), U8(2), | 25 B(CallRuntime), U16(Runtime::kPushWithContext), R(2), U8(2), |
| 26 B(PushContext), R(0), | 26 B(PushContext), R(0), |
| 27 B(LdaLookupSlot), U8(1), | 27 B(LdaLookupSlot), U8(1), |
| 28 B(PopContext), R(0), |
| 28 B(Return), | 29 B(Return), |
| 29 ] | 30 ] |
| 30 constant pool: [ | 31 constant pool: [ |
| 31 InstanceType::FIXED_ARRAY_TYPE, | 32 InstanceType::FIXED_ARRAY_TYPE, |
| 32 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 33 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 33 ] | 34 ] |
| 34 handlers: [ | 35 handlers: [ |
| 35 ] | 36 ] |
| 36 | 37 |
| OLD | NEW |