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: string | 6 pool type: string |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
11 snippet: " | 11 snippet: " |
12 try { return 1; } catch(e) { return 2; } | 12 try { return 1; } catch(e) { return 2; } |
13 " | 13 " |
14 frame size: 5 | 14 frame size: 5 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 38 | 16 bytecode array length: 40 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(StackCheck), | 18 B(StackCheck), |
19 B(Mov), R(context), R(1), | 19 B(Mov), R(context), R(1), |
20 B(LdaSmi8), U8(1), | 20 B(LdaSmi8), U8(1), |
21 B(Return), | 21 B(Return), |
22 B(Star), R(3), | 22 B(Star), R(3), |
23 B(LdaConstant), U8(0), | 23 B(LdaConstant), U8(0), |
24 B(Star), R(2), | 24 B(Star), R(2), |
25 B(Ldar), R(closure), | 25 B(Ldar), R(closure), |
26 B(Star), R(4), | 26 B(Star), R(4), |
27 B(CallRuntime), U16(Runtime::kPushCatchContext), R(2), U8(3), | 27 B(CallRuntime), U16(Runtime::kPushCatchContext), R(2), U8(3), |
28 B(Star), R(1), | 28 B(Star), R(1), |
29 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 29 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
30 B(Ldar), R(1), | 30 B(Ldar), R(1), |
31 B(PushContext), R(0), | 31 B(PushContext), R(0), |
32 B(LdaSmi8), U8(2), | 32 B(LdaSmi8), U8(2), |
| 33 B(PopContext), R(0), |
33 B(Return), | 34 B(Return), |
34 B(LdaUndefined), | 35 B(LdaUndefined), |
35 B(Return), | 36 B(Return), |
36 ] | 37 ] |
37 constant pool: [ | 38 constant pool: [ |
38 "e", | 39 "e", |
39 ] | 40 ] |
40 handlers: [ | 41 handlers: [ |
41 [4, 7, 7], | 42 [4, 7, 7], |
42 ] | 43 ] |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 ] | 90 ] |
90 constant pool: [ | 91 constant pool: [ |
91 "e1", | 92 "e1", |
92 "e2", | 93 "e2", |
93 ] | 94 ] |
94 handlers: [ | 95 handlers: [ |
95 [4, 8, 10], | 96 [4, 8, 10], |
96 [41, 45, 47], | 97 [41, 45, 47], |
97 ] | 98 ] |
98 | 99 |
OLD | NEW |