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 --- |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 [8, 12, 18], | 48 [8, 12, 18], |
49 ] | 49 ] |
50 | 50 |
51 --- | 51 --- |
52 snippet: " | 52 snippet: " |
53 var a = 1; | 53 var a = 1; |
54 try { a = 2; } catch(e) { a = 20 } finally { a = 3; } | 54 try { a = 2; } catch(e) { a = 20 } finally { a = 3; } |
55 " | 55 " |
56 frame size: 9 | 56 frame size: 9 |
57 parameter count: 1 | 57 parameter count: 1 |
58 bytecode array length: 88 | 58 bytecode array length: 87 |
59 bytecodes: [ | 59 bytecodes: [ |
60 /* 30 E> */ B(StackCheck), | 60 /* 30 E> */ B(StackCheck), |
61 /* 42 S> */ B(LdaSmi), U8(1), | 61 /* 42 S> */ B(LdaSmi), U8(1), |
62 /* 42 E> */ B(Star), R(0), | 62 /* 42 E> */ B(Star), R(0), |
63 B(Mov), R(context), R(4), | 63 B(Mov), R(context), R(4), |
64 B(Mov), R(context), R(5), | 64 B(Mov), R(context), R(5), |
65 /* 51 S> */ B(LdaSmi), U8(2), | 65 /* 51 S> */ B(LdaSmi), U8(2), |
66 /* 53 E> */ B(Star), R(0), | 66 /* 53 E> */ B(Star), R(0), |
67 B(Jump), U8(34), | 67 B(Jump), U8(33), |
68 B(Star), R(7), | 68 B(Star), R(7), |
69 B(LdaConstant), U8(0), | 69 B(LdaConstant), U8(0), |
70 B(Star), R(6), | 70 B(Star), R(6), |
71 B(Ldar), R(closure), | 71 B(Mov), R(closure), R(8), |
72 B(Star), R(8), | |
73 B(CallRuntime), U16(Runtime::kPushCatchContext), R(6), U8(3), | 72 B(CallRuntime), U16(Runtime::kPushCatchContext), R(6), U8(3), |
74 B(Star), R(5), | 73 B(Star), R(5), |
75 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 74 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
76 B(Ldar), R(5), | 75 B(Ldar), R(5), |
77 B(PushContext), R(1), | 76 B(PushContext), R(1), |
78 /* 71 S> */ B(LdaSmi), U8(20), | 77 /* 71 S> */ B(LdaSmi), U8(20), |
79 /* 73 E> */ B(Star), R(0), | 78 /* 73 E> */ B(Star), R(0), |
80 B(PopContext), R(1), | 79 B(PopContext), R(1), |
81 B(LdaSmi), U8(-1), | 80 B(LdaSmi), U8(-1), |
82 B(Star), R(2), | 81 B(Star), R(2), |
(...skipping 12 matching lines...) Expand all Loading... |
95 B(Jump), U8(5), | 94 B(Jump), U8(5), |
96 B(Ldar), R(3), | 95 B(Ldar), R(3), |
97 B(ReThrow), | 96 B(ReThrow), |
98 B(LdaUndefined), | 97 B(LdaUndefined), |
99 /* 99 S> */ B(Return), | 98 /* 99 S> */ B(Return), |
100 ] | 99 ] |
101 constant pool: [ | 100 constant pool: [ |
102 "e", | 101 "e", |
103 ] | 102 ] |
104 handlers: [ | 103 handlers: [ |
105 [8, 49, 55], | 104 [8, 48, 54], |
106 [11, 15, 17], | 105 [11, 15, 17], |
107 ] | 106 ] |
108 | 107 |
109 --- | 108 --- |
110 snippet: " | 109 snippet: " |
111 var a; try { | 110 var a; try { |
112 try { a = 1 } catch(e) { a = 2 } | 111 try { a = 1 } catch(e) { a = 2 } |
113 } catch(e) { a = 20 } finally { a = 3; } | 112 } catch(e) { a = 20 } finally { a = 3; } |
114 " | 113 " |
115 frame size: 10 | 114 frame size: 10 |
116 parameter count: 1 | 115 parameter count: 1 |
117 bytecode array length: 121 | 116 bytecode array length: 119 |
118 bytecodes: [ | 117 bytecodes: [ |
119 /* 30 E> */ B(StackCheck), | 118 /* 30 E> */ B(StackCheck), |
120 B(Mov), R(context), R(4), | 119 B(Mov), R(context), R(4), |
121 B(Mov), R(context), R(5), | 120 B(Mov), R(context), R(5), |
122 B(Mov), R(context), R(6), | 121 B(Mov), R(context), R(6), |
123 /* 55 S> */ B(LdaSmi), U8(1), | 122 /* 55 S> */ B(LdaSmi), U8(1), |
124 /* 57 E> */ B(Star), R(0), | 123 /* 57 E> */ B(Star), R(0), |
125 B(Jump), U8(34), | 124 B(Jump), U8(33), |
126 B(Star), R(8), | 125 B(Star), R(8), |
127 B(LdaConstant), U8(0), | 126 B(LdaConstant), U8(0), |
128 B(Star), R(7), | 127 B(Star), R(7), |
129 B(Ldar), R(closure), | 128 B(Mov), R(closure), R(9), |
130 B(Star), R(9), | |
131 B(CallRuntime), U16(Runtime::kPushCatchContext), R(7), U8(3), | 129 B(CallRuntime), U16(Runtime::kPushCatchContext), R(7), U8(3), |
132 B(Star), R(6), | 130 B(Star), R(6), |
133 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 131 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
134 B(Ldar), R(6), | 132 B(Ldar), R(6), |
135 B(PushContext), R(1), | 133 B(PushContext), R(1), |
136 /* 74 S> */ B(LdaSmi), U8(2), | 134 /* 74 S> */ B(LdaSmi), U8(2), |
137 /* 76 E> */ B(Star), R(0), | 135 /* 76 E> */ B(Star), R(0), |
138 B(PopContext), R(1), | 136 B(PopContext), R(1), |
139 B(Jump), U8(34), | 137 B(Jump), U8(33), |
140 B(Star), R(7), | 138 B(Star), R(7), |
141 B(LdaConstant), U8(0), | 139 B(LdaConstant), U8(0), |
142 B(Star), R(6), | 140 B(Star), R(6), |
143 B(Ldar), R(closure), | 141 B(Mov), R(closure), R(8), |
144 B(Star), R(8), | |
145 B(CallRuntime), U16(Runtime::kPushCatchContext), R(6), U8(3), | 142 B(CallRuntime), U16(Runtime::kPushCatchContext), R(6), U8(3), |
146 B(Star), R(5), | 143 B(Star), R(5), |
147 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 144 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
148 B(Ldar), R(5), | 145 B(Ldar), R(5), |
149 B(PushContext), R(1), | 146 B(PushContext), R(1), |
150 /* 95 S> */ B(LdaSmi), U8(20), | 147 /* 95 S> */ B(LdaSmi), U8(20), |
151 /* 97 E> */ B(Star), R(0), | 148 /* 97 E> */ B(Star), R(0), |
152 B(PopContext), R(1), | 149 B(PopContext), R(1), |
153 B(LdaSmi), U8(-1), | 150 B(LdaSmi), U8(-1), |
154 B(Star), R(2), | 151 B(Star), R(2), |
(...skipping 12 matching lines...) Expand all Loading... |
167 B(Jump), U8(5), | 164 B(Jump), U8(5), |
168 B(Ldar), R(3), | 165 B(Ldar), R(3), |
169 B(ReThrow), | 166 B(ReThrow), |
170 B(LdaUndefined), | 167 B(LdaUndefined), |
171 /* 123 S> */ B(Return), | 168 /* 123 S> */ B(Return), |
172 ] | 169 ] |
173 constant pool: [ | 170 constant pool: [ |
174 "e", | 171 "e", |
175 ] | 172 ] |
176 handlers: [ | 173 handlers: [ |
177 [4, 82, 88], | 174 [4, 80, 86], |
178 [7, 48, 50], | 175 [7, 47, 49], |
179 [10, 14, 16], | 176 [10, 14, 16], |
180 ] | 177 ] |
181 | 178 |
OLD | NEW |