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