| 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: 5 | 14 frame size: 5 |
| 15 parameter count: 1 | 15 parameter count: 1 |
| 16 bytecode array length: 47 | 16 bytecode array length: 45 |
| 17 bytecodes: [ | 17 bytecodes: [ |
| 18 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), | 18 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
| 19 B(PushContext), R(0), | 19 B(PushContext), R(0), |
| 20 B(Ldar), R(this), | 20 B(Ldar), R(this), |
| 21 B(StaContextSlot), R(context), U8(4), | 21 B(StaContextSlot), R(context), U8(4), |
| 22 B(CreateMappedArguments), | 22 B(CreateMappedArguments), |
| 23 B(StaContextSlot), R(context), U8(5), | 23 B(StaContextSlot), R(context), U8(5), |
| 24 B(Ldar), R(new_target), | 24 B(Ldar), R(new_target), |
| 25 B(StaContextSlot), R(context), U8(6), | 25 B(StaContextSlot), R(context), U8(6), |
| 26 B(StackCheck), | 26 B(StackCheck), |
| 27 B(CreateObjectLiteral), U8(0), U8(0), U8(9), | 27 B(CreateObjectLiteral), U8(0), U8(0), U8(9), |
| 28 B(Star), R(2), | 28 B(Star), R(2), |
| 29 B(ToObject), | 29 B(ToObject), |
| 30 B(Star), R(3), | 30 B(Star), R(3), |
| 31 B(Ldar), R(closure), | 31 B(Ldar), R(closure), |
| 32 B(Star), R(4), | 32 B(Star), R(4), |
| 33 B(CallRuntime), U16(Runtime::kPushWithContext), R(3), U8(2), | 33 B(CallRuntime), U16(Runtime::kPushWithContext), R(3), U8(2), |
| 34 B(PushContext), R(1), | 34 B(PushContext), R(1), |
| 35 B(LdaLookupSlot), U8(1), | 35 B(LdaLookupSlot), U8(1), |
| 36 B(PopContext), R(0), | |
| 37 B(Return), | 36 B(Return), |
| 38 ] | 37 ] |
| 39 constant pool: [ | 38 constant pool: [ |
| 40 InstanceType::FIXED_ARRAY_TYPE, | 39 InstanceType::FIXED_ARRAY_TYPE, |
| 41 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 40 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 42 ] | 41 ] |
| 43 handlers: [ | 42 handlers: [ |
| 44 ] | 43 ] |
| 45 | 44 |
| OLD | NEW |