Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 1 | # |
| 2 | # Autogenerated by generate-bytecode-expectations. |
| 3 | # |
| 4 | |
| 5 | --- |
| 6 | pool type: mixed |
| 7 | execute: yes |
| 8 | wrap: yes |
| 9 | |
| 10 | --- |
| 11 | snippet: " |
| 12 | with ({x:42}) { return x; } |
| 13 | " |
| 14 | frame size: 4 |
| 15 | parameter count: 1 |
Ben Murdoch | 61f157c | 2016-09-16 13:49:30 +0100 | [diff] [blame] | 16 | bytecode array length: 25 |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 17 | bytecodes: [ |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame] | 18 | /* 30 E> */ B(StackCheck), |
| 19 | /* 34 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), |
| 20 | B(Star), R(1), |
| 21 | B(ToObject), |
| 22 | B(Star), R(2), |
Ben Murdoch | 61f157c | 2016-09-16 13:49:30 +0100 | [diff] [blame] | 23 | B(Mov), R(closure), R(3), |
Ben Murdoch | c561043 | 2016-08-08 18:44:38 +0100 | [diff] [blame] | 24 | B(CallRuntime), U16(Runtime::kPushWithContext), R(2), U8(2), |
| 25 | B(PushContext), R(0), |
| 26 | /* 50 S> */ B(LdaLookupSlot), U8(1), |
| 27 | B(PopContext), R(0), |
| 28 | /* 62 S> */ B(Return), |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 29 | ] |
| 30 | constant pool: [ |
| 31 | InstanceType::FIXED_ARRAY_TYPE, |
| 32 | InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 33 | ] |
| 34 | handlers: [ |
| 35 | ] |
| 36 | |