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: 40 | 16 bytecode array length: 38 |
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), | |
34 B(Return), | 33 B(Return), |
35 B(LdaUndefined), | 34 B(LdaUndefined), |
36 B(Return), | 35 B(Return), |
37 ] | 36 ] |
38 constant pool: [ | 37 constant pool: [ |
39 "e", | 38 "e", |
40 ] | 39 ] |
41 handlers: [ | 40 handlers: [ |
42 [4, 7, 7], | 41 [4, 7, 7], |
43 ] | 42 ] |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 ] | 89 ] |
91 constant pool: [ | 90 constant pool: [ |
92 "e1", | 91 "e1", |
93 "e2", | 92 "e2", |
94 ] | 93 ] |
95 handlers: [ | 94 handlers: [ |
96 [4, 8, 10], | 95 [4, 8, 10], |
97 [41, 45, 47], | 96 [41, 45, 47], |
98 ] | 97 ] |
99 | 98 |
OLD | NEW |