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