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: 39 | 16 bytecode array length: 43 |
17 bytecodes: [ | 17 bytecodes: [ |
18 /* 30 E> */ B(StackCheck), | 18 /* 30 E> */ B(StackCheck), |
19 B(Mov), R(context), R(1), | 19 B(Mov), R(context), R(1), |
20 /* 40 S> */ B(LdaSmi), U8(1), | 20 /* 40 S> */ B(LdaSmi), U8(1), |
21 /* 75 S> */ B(Return), | 21 /* 75 S> */ B(Return), |
| 22 B(Jump), U8(34), |
22 B(Star), R(3), | 23 B(Star), R(3), |
23 B(LdaConstant), U8(0), | 24 B(LdaConstant), U8(0), |
24 B(Star), R(2), | 25 B(Star), R(2), |
25 B(Mov), R(closure), R(4), | 26 B(Mov), R(closure), R(4), |
26 B(CallRuntime), U16(Runtime::kPushCatchContext), R(2), U8(3), | 27 B(CallRuntime), U16(Runtime::kPushCatchContext), R(2), U8(3), |
27 B(Star), R(1), | 28 B(Star), R(1), |
28 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 29 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
29 B(Ldar), R(1), | 30 B(Ldar), R(1), |
30 B(PushContext), R(0), | 31 B(PushContext), R(0), |
31 /* 63 S> */ B(LdaSmi), U8(2), | 32 /* 63 S> */ B(LdaSmi), U8(2), |
32 B(PopContext), R(0), | 33 B(PopContext), R(0), |
33 /* 75 S> */ B(Return), | 34 /* 75 S> */ B(Return), |
| 35 B(PopContext), R(0), |
34 B(LdaUndefined), | 36 B(LdaUndefined), |
35 /* 75 S> */ B(Return), | 37 /* 75 S> */ B(Return), |
36 ] | 38 ] |
37 constant pool: [ | 39 constant pool: [ |
38 "e", | 40 "e", |
39 ] | 41 ] |
40 handlers: [ | 42 handlers: [ |
41 [4, 7, 7], | 43 [4, 7, 9], |
42 ] | 44 ] |
43 | 45 |
44 --- | 46 --- |
45 snippet: " | 47 snippet: " |
46 var a; | 48 var a; |
47 try { a = 1 } catch(e1) {}; | 49 try { a = 1 } catch(e1) {}; |
48 try { a = 2 } catch(e2) { a = 3 } | 50 try { a = 2 } catch(e2) { a = 3 } |
49 " | 51 " |
50 frame size: 6 | 52 frame size: 6 |
51 parameter count: 1 | 53 parameter count: 1 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 ] | 89 ] |
88 constant pool: [ | 90 constant pool: [ |
89 "e1", | 91 "e1", |
90 "e2", | 92 "e2", |
91 ] | 93 ] |
92 handlers: [ | 94 handlers: [ |
93 [4, 8, 10], | 95 [4, 8, 10], |
94 [40, 44, 46], | 96 [40, 44, 46], |
95 ] | 97 ] |
96 | 98 |
OLD | NEW |