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: mixed | 6 pool type: mixed |
7 execute: yes | 7 execute: yes |
8 wrap: yes | 8 wrap: yes |
9 | 9 |
10 --- | 10 --- |
11 snippet: " | 11 snippet: " |
12 for (var p of [0, 1, 2]) {} | 12 for (var p of [0, 1, 2]) {} |
13 " | 13 " |
14 frame size: 15 | 14 frame size: 15 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 275 | 16 bytecode array length: 277 |
17 bytecodes: [ | 17 bytecodes: [ |
18 /* 30 E> */ B(StackCheck), | 18 /* 30 E> */ B(StackCheck), |
19 B(LdaZero), | 19 B(LdaZero), |
20 B(Star), R(4), | 20 B(Star), R(4), |
21 B(Mov), R(context), R(11), | 21 B(Mov), R(context), R(11), |
22 B(Mov), R(context), R(12), | 22 B(Mov), R(context), R(12), |
23 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 23 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
24 B(Star), R(14), | 24 B(Star), R(14), |
25 B(LdaConstant), U8(1), | 25 B(LdaConstant), U8(1), |
26 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(3), R(13), | 26 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(3), R(13), |
(...skipping 10 matching lines...) Expand all Loading... |
37 B(JumpIfToBooleanTrue), U8(23), | 37 B(JumpIfToBooleanTrue), U8(23), |
38 B(LdrNamedProperty), R(3), U8(4), U8(11), R(5), | 38 B(LdrNamedProperty), R(3), U8(4), U8(11), R(5), |
39 B(LdaSmi), U8(2), | 39 B(LdaSmi), U8(2), |
40 B(Star), R(4), | 40 B(Star), R(4), |
41 B(Mov), R(5), R(0), | 41 B(Mov), R(5), R(0), |
42 /* 34 E> */ B(StackCheck), | 42 /* 34 E> */ B(StackCheck), |
43 B(Mov), R(0), R(1), | 43 B(Mov), R(0), R(1), |
44 B(LdaZero), | 44 B(LdaZero), |
45 B(Star), R(4), | 45 B(Star), R(4), |
46 B(Jump), U8(-49), | 46 B(Jump), U8(-49), |
47 B(Jump), U8(35), | 47 B(Jump), U8(36), |
48 B(Star), R(13), | 48 B(Star), R(13), |
49 B(Ldar), R(closure), | 49 B(Ldar), R(closure), |
50 B(CreateCatchContext), R(13), U8(5), | 50 B(CreateCatchContext), R(13), U8(5), U8(6), |
51 B(Star), R(12), | 51 B(Star), R(12), |
52 B(PushContext), R(8), | 52 B(PushContext), R(8), |
53 B(LdaSmi), U8(2), | 53 B(LdaSmi), U8(2), |
54 B(TestEqualStrict), R(4), U8(13), | 54 B(TestEqualStrict), R(4), U8(13), |
55 B(JumpIfFalse), U8(6), | 55 B(JumpIfFalse), U8(6), |
56 B(LdaSmi), U8(1), | 56 B(LdaSmi), U8(1), |
57 B(Star), R(4), | 57 B(Star), R(4), |
58 B(LdrContextSlot), R(context), U8(4), R(13), | 58 B(LdrContextSlot), R(context), U8(4), R(13), |
59 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), | 59 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), |
60 B(PopContext), R(8), | 60 B(PopContext), R(8), |
61 B(LdaSmi), U8(-1), | 61 B(LdaSmi), U8(-1), |
62 B(Star), R(9), | 62 B(Star), R(9), |
63 B(Jump), U8(7), | 63 B(Jump), U8(7), |
64 B(Star), R(10), | 64 B(Star), R(10), |
65 B(LdaZero), | 65 B(LdaZero), |
66 B(Star), R(9), | 66 B(Star), R(9), |
67 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 67 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
68 B(Star), R(11), | 68 B(Star), R(11), |
69 B(LdaZero), | 69 B(LdaZero), |
70 B(TestEqualStrict), R(4), U8(14), | 70 B(TestEqualStrict), R(4), U8(14), |
71 B(JumpIfTrue), U8(120), | 71 B(JumpIfTrue), U8(121), |
72 B(LdaUndefined), | 72 B(LdaUndefined), |
73 B(TestEqualStrict), R(2), U8(15), | 73 B(TestEqualStrict), R(2), U8(15), |
74 B(JumpIfTrue), U8(114), | 74 B(JumpIfTrue), U8(115), |
75 B(LdrNamedProperty), R(2), U8(6), U8(16), R(6), | 75 B(LdrNamedProperty), R(2), U8(7), U8(16), R(6), |
76 B(LdaNull), | 76 B(LdaNull), |
77 B(TestEqual), R(6), U8(18), | 77 B(TestEqual), R(6), U8(18), |
78 B(JumpIfFalse), U8(4), | 78 B(JumpIfFalse), U8(4), |
79 B(Jump), U8(101), | 79 B(Jump), U8(102), |
80 B(LdaSmi), U8(1), | 80 B(LdaSmi), U8(1), |
81 B(TestEqualStrict), R(4), U8(19), | 81 B(TestEqualStrict), R(4), U8(19), |
82 B(JumpIfFalse), U8(69), | 82 B(JumpIfFalse), U8(70), |
83 B(Ldar), R(6), | 83 B(Ldar), R(6), |
84 B(TypeOf), | 84 B(TypeOf), |
85 B(Star), R(12), | 85 B(Star), R(12), |
86 B(LdaConstant), U8(7), | 86 B(LdaConstant), U8(8), |
87 B(TestEqualStrict), R(12), U8(20), | 87 B(TestEqualStrict), R(12), U8(20), |
88 B(JumpIfFalse), U8(4), | 88 B(JumpIfFalse), U8(4), |
89 B(Jump), U8(18), | 89 B(Jump), U8(18), |
90 B(Wide), B(LdaSmi), U16(128), | 90 B(Wide), B(LdaSmi), U16(128), |
91 B(Star), R(12), | 91 B(Star), R(12), |
92 B(LdaConstant), U8(8), | 92 B(LdaConstant), U8(9), |
93 B(Star), R(13), | 93 B(Star), R(13), |
94 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), | 94 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), |
95 B(Throw), | 95 B(Throw), |
96 B(Mov), R(context), R(12), | 96 B(Mov), R(context), R(12), |
97 B(Mov), R(6), R(13), | 97 B(Mov), R(6), R(13), |
98 B(Mov), R(2), R(14), | 98 B(Mov), R(2), R(14), |
99 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), | 99 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), |
100 B(Jump), U8(22), | 100 B(Jump), U8(23), |
101 B(Star), R(13), | 101 B(Star), R(13), |
102 B(Ldar), R(closure), | 102 B(Ldar), R(closure), |
103 B(CreateCatchContext), R(13), U8(5), | 103 B(CreateCatchContext), R(13), U8(5), U8(10), |
104 B(Star), R(12), | 104 B(Star), R(12), |
105 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 105 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
106 B(Ldar), R(12), | 106 B(Ldar), R(12), |
107 B(PushContext), R(8), | 107 B(PushContext), R(8), |
108 B(PopContext), R(8), | 108 B(PopContext), R(8), |
109 B(Jump), U8(27), | 109 B(Jump), U8(27), |
110 B(Mov), R(6), R(12), | 110 B(Mov), R(6), R(12), |
111 B(Mov), R(2), R(13), | 111 B(Mov), R(2), R(13), |
112 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), | 112 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
113 B(Star), R(7), | 113 B(Star), R(7), |
(...skipping 11 matching lines...) Expand all Loading... |
125 B(LdaUndefined), | 125 B(LdaUndefined), |
126 /* 62 S> */ B(Return), | 126 /* 62 S> */ B(Return), |
127 ] | 127 ] |
128 constant pool: [ | 128 constant pool: [ |
129 InstanceType::FIXED_ARRAY_TYPE, | 129 InstanceType::FIXED_ARRAY_TYPE, |
130 InstanceType::SYMBOL_TYPE, | 130 InstanceType::SYMBOL_TYPE, |
131 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 131 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
132 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 132 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
133 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 133 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
134 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 134 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 135 InstanceType::FIXED_ARRAY_TYPE, |
135 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 136 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
136 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 137 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
137 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 138 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 139 InstanceType::FIXED_ARRAY_TYPE, |
138 ] | 140 ] |
139 handlers: [ | 141 handlers: [ |
140 [7, 115, 121], | 142 [7, 116, 122], |
141 [10, 80, 82], | 143 [10, 80, 82], |
142 [198, 208, 210], | 144 [199, 209, 211], |
143 ] | 145 ] |
144 | 146 |
145 --- | 147 --- |
146 snippet: " | 148 snippet: " |
147 var x = 'potatoes'; | 149 var x = 'potatoes'; |
148 for (var p of x) { return p; } | 150 for (var p of x) { return p; } |
149 " | 151 " |
150 frame size: 16 | 152 frame size: 16 |
151 parameter count: 1 | 153 parameter count: 1 |
152 bytecode array length: 287 | 154 bytecode array length: 289 |
153 bytecodes: [ | 155 bytecodes: [ |
154 /* 30 E> */ B(StackCheck), | 156 /* 30 E> */ B(StackCheck), |
155 /* 42 S> */ B(LdaConstant), U8(0), | 157 /* 42 S> */ B(LdaConstant), U8(0), |
156 B(Star), R(0), | 158 B(Star), R(0), |
157 B(LdaZero), | 159 B(LdaZero), |
158 B(Star), R(5), | 160 B(Star), R(5), |
159 B(Mov), R(context), R(12), | 161 B(Mov), R(context), R(12), |
160 B(Mov), R(context), R(13), | 162 B(Mov), R(context), R(13), |
161 /* 68 S> */ B(LdaConstant), U8(1), | 163 /* 68 S> */ B(LdaConstant), U8(1), |
162 /* 68 E> */ B(LdrKeyedProperty), R(0), U8(3), R(14), | 164 /* 68 E> */ B(LdrKeyedProperty), R(0), U8(3), R(14), |
(...skipping 10 matching lines...) Expand all Loading... |
173 B(JumpIfToBooleanTrue), U8(26), | 175 B(JumpIfToBooleanTrue), U8(26), |
174 B(LdrNamedProperty), R(4), U8(4), U8(11), R(6), | 176 B(LdrNamedProperty), R(4), U8(4), U8(11), R(6), |
175 B(LdaSmi), U8(2), | 177 B(LdaSmi), U8(2), |
176 B(Star), R(5), | 178 B(Star), R(5), |
177 B(Mov), R(6), R(1), | 179 B(Mov), R(6), R(1), |
178 /* 54 E> */ B(StackCheck), | 180 /* 54 E> */ B(StackCheck), |
179 B(Mov), R(1), R(2), | 181 B(Mov), R(1), R(2), |
180 /* 73 S> */ B(LdaZero), | 182 /* 73 S> */ B(LdaZero), |
181 B(Star), R(10), | 183 B(Star), R(10), |
182 B(Mov), R(1), R(11), | 184 B(Mov), R(1), R(11), |
183 B(Jump), U8(49), | 185 B(Jump), U8(50), |
184 B(Jump), U8(35), | 186 B(Jump), U8(36), |
185 B(Star), R(14), | 187 B(Star), R(14), |
186 B(Ldar), R(closure), | 188 B(Ldar), R(closure), |
187 B(CreateCatchContext), R(14), U8(5), | 189 B(CreateCatchContext), R(14), U8(5), U8(6), |
188 B(Star), R(13), | 190 B(Star), R(13), |
189 B(PushContext), R(9), | 191 B(PushContext), R(9), |
190 B(LdaSmi), U8(2), | 192 B(LdaSmi), U8(2), |
191 B(TestEqualStrict), R(5), U8(13), | 193 B(TestEqualStrict), R(5), U8(13), |
192 B(JumpIfFalse), U8(6), | 194 B(JumpIfFalse), U8(6), |
193 B(LdaSmi), U8(1), | 195 B(LdaSmi), U8(1), |
194 B(Star), R(5), | 196 B(Star), R(5), |
195 B(LdrContextSlot), R(context), U8(4), R(14), | 197 B(LdrContextSlot), R(context), U8(4), R(14), |
196 B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1), | 198 B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1), |
197 B(PopContext), R(9), | 199 B(PopContext), R(9), |
198 B(LdaSmi), U8(-1), | 200 B(LdaSmi), U8(-1), |
199 B(Star), R(10), | 201 B(Star), R(10), |
200 B(Jump), U8(8), | 202 B(Jump), U8(8), |
201 B(Star), R(11), | 203 B(Star), R(11), |
202 B(LdaSmi), U8(1), | 204 B(LdaSmi), U8(1), |
203 B(Star), R(10), | 205 B(Star), R(10), |
204 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 206 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
205 B(Star), R(12), | 207 B(Star), R(12), |
206 B(LdaZero), | 208 B(LdaZero), |
207 B(TestEqualStrict), R(5), U8(14), | 209 B(TestEqualStrict), R(5), U8(14), |
208 B(JumpIfTrue), U8(120), | 210 B(JumpIfTrue), U8(121), |
209 B(LdaUndefined), | 211 B(LdaUndefined), |
210 B(TestEqualStrict), R(3), U8(15), | 212 B(TestEqualStrict), R(3), U8(15), |
211 B(JumpIfTrue), U8(114), | 213 B(JumpIfTrue), U8(115), |
212 B(LdrNamedProperty), R(3), U8(6), U8(16), R(7), | 214 B(LdrNamedProperty), R(3), U8(7), U8(16), R(7), |
213 B(LdaNull), | 215 B(LdaNull), |
214 B(TestEqual), R(7), U8(18), | 216 B(TestEqual), R(7), U8(18), |
215 B(JumpIfFalse), U8(4), | 217 B(JumpIfFalse), U8(4), |
216 B(Jump), U8(101), | 218 B(Jump), U8(102), |
217 B(LdaSmi), U8(1), | 219 B(LdaSmi), U8(1), |
218 B(TestEqualStrict), R(5), U8(19), | 220 B(TestEqualStrict), R(5), U8(19), |
219 B(JumpIfFalse), U8(69), | 221 B(JumpIfFalse), U8(70), |
220 B(Ldar), R(7), | 222 B(Ldar), R(7), |
221 B(TypeOf), | 223 B(TypeOf), |
222 B(Star), R(13), | 224 B(Star), R(13), |
223 B(LdaConstant), U8(7), | 225 B(LdaConstant), U8(8), |
224 B(TestEqualStrict), R(13), U8(20), | 226 B(TestEqualStrict), R(13), U8(20), |
225 B(JumpIfFalse), U8(4), | 227 B(JumpIfFalse), U8(4), |
226 B(Jump), U8(18), | 228 B(Jump), U8(18), |
227 B(Wide), B(LdaSmi), U16(128), | 229 B(Wide), B(LdaSmi), U16(128), |
228 B(Star), R(13), | 230 B(Star), R(13), |
229 B(LdaConstant), U8(8), | 231 B(LdaConstant), U8(9), |
230 B(Star), R(14), | 232 B(Star), R(14), |
231 B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2), | 233 B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2), |
232 B(Throw), | 234 B(Throw), |
233 B(Mov), R(context), R(13), | 235 B(Mov), R(context), R(13), |
234 B(Mov), R(7), R(14), | 236 B(Mov), R(7), R(14), |
235 B(Mov), R(3), R(15), | 237 B(Mov), R(3), R(15), |
236 B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2), | 238 B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2), |
237 B(Jump), U8(22), | 239 B(Jump), U8(23), |
238 B(Star), R(14), | 240 B(Star), R(14), |
239 B(Ldar), R(closure), | 241 B(Ldar), R(closure), |
240 B(CreateCatchContext), R(14), U8(5), | 242 B(CreateCatchContext), R(14), U8(5), U8(10), |
241 B(Star), R(13), | 243 B(Star), R(13), |
242 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 244 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
243 B(Ldar), R(13), | 245 B(Ldar), R(13), |
244 B(PushContext), R(9), | 246 B(PushContext), R(9), |
245 B(PopContext), R(9), | 247 B(PopContext), R(9), |
246 B(Jump), U8(27), | 248 B(Jump), U8(27), |
247 B(Mov), R(7), R(13), | 249 B(Mov), R(7), R(13), |
248 B(Mov), R(3), R(14), | 250 B(Mov), R(3), R(14), |
249 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), | 251 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), |
250 B(Star), R(8), | 252 B(Star), R(8), |
(...skipping 16 matching lines...) Expand all Loading... |
267 B(LdaUndefined), | 269 B(LdaUndefined), |
268 /* 85 S> */ B(Return), | 270 /* 85 S> */ B(Return), |
269 ] | 271 ] |
270 constant pool: [ | 272 constant pool: [ |
271 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 273 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
272 InstanceType::SYMBOL_TYPE, | 274 InstanceType::SYMBOL_TYPE, |
273 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 275 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
274 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 276 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
275 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 277 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
276 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 278 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 279 InstanceType::FIXED_ARRAY_TYPE, |
277 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 280 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
278 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 281 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
279 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 282 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 283 InstanceType::FIXED_ARRAY_TYPE, |
280 ] | 284 ] |
281 handlers: [ | 285 handlers: [ |
282 [11, 116, 122], | 286 [11, 117, 123], |
283 [14, 81, 83], | 287 [14, 81, 83], |
284 [200, 210, 212], | 288 [201, 211, 213], |
285 ] | 289 ] |
286 | 290 |
287 --- | 291 --- |
288 snippet: " | 292 snippet: " |
289 for (var x of [10, 20, 30]) { | 293 for (var x of [10, 20, 30]) { |
290 if (x == 10) continue; | 294 if (x == 10) continue; |
291 if (x == 20) break; | 295 if (x == 20) break; |
292 } | 296 } |
293 " | 297 " |
294 frame size: 15 | 298 frame size: 15 |
295 parameter count: 1 | 299 parameter count: 1 |
296 bytecode array length: 293 | 300 bytecode array length: 295 |
297 bytecodes: [ | 301 bytecodes: [ |
298 /* 30 E> */ B(StackCheck), | 302 /* 30 E> */ B(StackCheck), |
299 B(LdaZero), | 303 B(LdaZero), |
300 B(Star), R(4), | 304 B(Star), R(4), |
301 B(Mov), R(context), R(11), | 305 B(Mov), R(context), R(11), |
302 B(Mov), R(context), R(12), | 306 B(Mov), R(context), R(12), |
303 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 307 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
304 B(Star), R(14), | 308 B(Star), R(14), |
305 B(LdaConstant), U8(1), | 309 B(LdaConstant), U8(1), |
306 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(3), R(13), | 310 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(3), R(13), |
(...skipping 18 matching lines...) Expand all Loading... |
325 /* 72 E> */ B(TestEqual), R(1), U8(13), | 329 /* 72 E> */ B(TestEqual), R(1), U8(13), |
326 B(JumpIfFalse), U8(4), | 330 B(JumpIfFalse), U8(4), |
327 /* 79 S> */ B(Jump), U8(14), | 331 /* 79 S> */ B(Jump), U8(14), |
328 /* 91 S> */ B(LdaSmi), U8(20), | 332 /* 91 S> */ B(LdaSmi), U8(20), |
329 /* 97 E> */ B(TestEqual), R(1), U8(14), | 333 /* 97 E> */ B(TestEqual), R(1), U8(14), |
330 B(JumpIfFalse), U8(4), | 334 B(JumpIfFalse), U8(4), |
331 /* 104 S> */ B(Jump), U8(7), | 335 /* 104 S> */ B(Jump), U8(7), |
332 B(LdaZero), | 336 B(LdaZero), |
333 B(Star), R(4), | 337 B(Star), R(4), |
334 B(Jump), U8(-67), | 338 B(Jump), U8(-67), |
335 B(Jump), U8(35), | 339 B(Jump), U8(36), |
336 B(Star), R(13), | 340 B(Star), R(13), |
337 B(Ldar), R(closure), | 341 B(Ldar), R(closure), |
338 B(CreateCatchContext), R(13), U8(5), | 342 B(CreateCatchContext), R(13), U8(5), U8(6), |
339 B(Star), R(12), | 343 B(Star), R(12), |
340 B(PushContext), R(8), | 344 B(PushContext), R(8), |
341 B(LdaSmi), U8(2), | 345 B(LdaSmi), U8(2), |
342 B(TestEqualStrict), R(4), U8(15), | 346 B(TestEqualStrict), R(4), U8(15), |
343 B(JumpIfFalse), U8(6), | 347 B(JumpIfFalse), U8(6), |
344 B(LdaSmi), U8(1), | 348 B(LdaSmi), U8(1), |
345 B(Star), R(4), | 349 B(Star), R(4), |
346 B(LdrContextSlot), R(context), U8(4), R(13), | 350 B(LdrContextSlot), R(context), U8(4), R(13), |
347 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), | 351 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), |
348 B(PopContext), R(8), | 352 B(PopContext), R(8), |
349 B(LdaSmi), U8(-1), | 353 B(LdaSmi), U8(-1), |
350 B(Star), R(9), | 354 B(Star), R(9), |
351 B(Jump), U8(7), | 355 B(Jump), U8(7), |
352 B(Star), R(10), | 356 B(Star), R(10), |
353 B(LdaZero), | 357 B(LdaZero), |
354 B(Star), R(9), | 358 B(Star), R(9), |
355 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 359 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
356 B(Star), R(11), | 360 B(Star), R(11), |
357 B(LdaZero), | 361 B(LdaZero), |
358 B(TestEqualStrict), R(4), U8(16), | 362 B(TestEqualStrict), R(4), U8(16), |
359 B(JumpIfTrue), U8(120), | 363 B(JumpIfTrue), U8(121), |
360 B(LdaUndefined), | 364 B(LdaUndefined), |
361 B(TestEqualStrict), R(2), U8(17), | 365 B(TestEqualStrict), R(2), U8(17), |
362 B(JumpIfTrue), U8(114), | 366 B(JumpIfTrue), U8(115), |
363 B(LdrNamedProperty), R(2), U8(6), U8(18), R(6), | 367 B(LdrNamedProperty), R(2), U8(7), U8(18), R(6), |
364 B(LdaNull), | 368 B(LdaNull), |
365 B(TestEqual), R(6), U8(20), | 369 B(TestEqual), R(6), U8(20), |
366 B(JumpIfFalse), U8(4), | 370 B(JumpIfFalse), U8(4), |
367 B(Jump), U8(101), | 371 B(Jump), U8(102), |
368 B(LdaSmi), U8(1), | 372 B(LdaSmi), U8(1), |
369 B(TestEqualStrict), R(4), U8(21), | 373 B(TestEqualStrict), R(4), U8(21), |
370 B(JumpIfFalse), U8(69), | 374 B(JumpIfFalse), U8(70), |
371 B(Ldar), R(6), | 375 B(Ldar), R(6), |
372 B(TypeOf), | 376 B(TypeOf), |
373 B(Star), R(12), | 377 B(Star), R(12), |
374 B(LdaConstant), U8(7), | 378 B(LdaConstant), U8(8), |
375 B(TestEqualStrict), R(12), U8(22), | 379 B(TestEqualStrict), R(12), U8(22), |
376 B(JumpIfFalse), U8(4), | 380 B(JumpIfFalse), U8(4), |
377 B(Jump), U8(18), | 381 B(Jump), U8(18), |
378 B(Wide), B(LdaSmi), U16(128), | 382 B(Wide), B(LdaSmi), U16(128), |
379 B(Star), R(12), | 383 B(Star), R(12), |
380 B(LdaConstant), U8(8), | 384 B(LdaConstant), U8(9), |
381 B(Star), R(13), | 385 B(Star), R(13), |
382 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), | 386 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), |
383 B(Throw), | 387 B(Throw), |
384 B(Mov), R(context), R(12), | 388 B(Mov), R(context), R(12), |
385 B(Mov), R(6), R(13), | 389 B(Mov), R(6), R(13), |
386 B(Mov), R(2), R(14), | 390 B(Mov), R(2), R(14), |
387 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), | 391 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), |
388 B(Jump), U8(22), | 392 B(Jump), U8(23), |
389 B(Star), R(13), | 393 B(Star), R(13), |
390 B(Ldar), R(closure), | 394 B(Ldar), R(closure), |
391 B(CreateCatchContext), R(13), U8(5), | 395 B(CreateCatchContext), R(13), U8(5), U8(10), |
392 B(Star), R(12), | 396 B(Star), R(12), |
393 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 397 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
394 B(Ldar), R(12), | 398 B(Ldar), R(12), |
395 B(PushContext), R(8), | 399 B(PushContext), R(8), |
396 B(PopContext), R(8), | 400 B(PopContext), R(8), |
397 B(Jump), U8(27), | 401 B(Jump), U8(27), |
398 B(Mov), R(6), R(12), | 402 B(Mov), R(6), R(12), |
399 B(Mov), R(2), R(13), | 403 B(Mov), R(2), R(13), |
400 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), | 404 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
401 B(Star), R(7), | 405 B(Star), R(7), |
(...skipping 11 matching lines...) Expand all Loading... |
413 B(LdaUndefined), | 417 B(LdaUndefined), |
414 /* 113 S> */ B(Return), | 418 /* 113 S> */ B(Return), |
415 ] | 419 ] |
416 constant pool: [ | 420 constant pool: [ |
417 InstanceType::FIXED_ARRAY_TYPE, | 421 InstanceType::FIXED_ARRAY_TYPE, |
418 InstanceType::SYMBOL_TYPE, | 422 InstanceType::SYMBOL_TYPE, |
419 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 423 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
420 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 424 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
421 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 425 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
422 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 426 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 427 InstanceType::FIXED_ARRAY_TYPE, |
423 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 428 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
424 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 429 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
425 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 430 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 431 InstanceType::FIXED_ARRAY_TYPE, |
426 ] | 432 ] |
427 handlers: [ | 433 handlers: [ |
428 [7, 133, 139], | 434 [7, 134, 140], |
429 [10, 98, 100], | 435 [10, 98, 100], |
430 [216, 226, 228], | 436 [217, 227, 229], |
431 ] | 437 ] |
432 | 438 |
433 --- | 439 --- |
434 snippet: " | 440 snippet: " |
435 var x = { 'a': 1, 'b': 2 }; | 441 var x = { 'a': 1, 'b': 2 }; |
436 for (x['a'] of [1,2,3]) { return x['a']; } | 442 for (x['a'] of [1,2,3]) { return x['a']; } |
437 " | 443 " |
438 frame size: 14 | 444 frame size: 14 |
439 parameter count: 1 | 445 parameter count: 1 |
440 bytecode array length: 300 | 446 bytecode array length: 302 |
441 bytecodes: [ | 447 bytecodes: [ |
442 /* 30 E> */ B(StackCheck), | 448 /* 30 E> */ B(StackCheck), |
443 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8), | 449 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8), |
444 B(Mov), R(8), R(0), | 450 B(Mov), R(8), R(0), |
445 B(LdaZero), | 451 B(LdaZero), |
446 B(Star), R(3), | 452 B(Star), R(3), |
447 B(Mov), R(context), R(10), | 453 B(Mov), R(context), R(10), |
448 B(Mov), R(context), R(11), | 454 B(Mov), R(context), R(11), |
449 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3), | 455 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3), |
450 B(Star), R(13), | 456 B(Star), R(13), |
(...skipping 13 matching lines...) Expand all Loading... |
464 /* 67 E> */ B(LdrNamedProperty), R(2), U8(5), U8(11), R(4), | 470 /* 67 E> */ B(LdrNamedProperty), R(2), U8(5), U8(11), R(4), |
465 B(LdaSmi), U8(2), | 471 B(LdaSmi), U8(2), |
466 B(Star), R(3), | 472 B(Star), R(3), |
467 B(Ldar), R(4), | 473 B(Ldar), R(4), |
468 B(StaNamedPropertySloppy), R(0), U8(6), U8(13), | 474 B(StaNamedPropertySloppy), R(0), U8(6), U8(13), |
469 /* 62 E> */ B(StackCheck), | 475 /* 62 E> */ B(StackCheck), |
470 /* 88 S> */ B(Nop), | 476 /* 88 S> */ B(Nop), |
471 /* 96 E> */ B(LdrNamedProperty), R(0), U8(6), U8(15), R(9), | 477 /* 96 E> */ B(LdrNamedProperty), R(0), U8(6), U8(15), R(9), |
472 B(LdaZero), | 478 B(LdaZero), |
473 B(Star), R(8), | 479 B(Star), R(8), |
474 B(Jump), U8(49), | 480 B(Jump), U8(50), |
475 B(Jump), U8(35), | 481 B(Jump), U8(36), |
476 B(Star), R(12), | 482 B(Star), R(12), |
477 B(Ldar), R(closure), | 483 B(Ldar), R(closure), |
478 B(CreateCatchContext), R(12), U8(7), | 484 B(CreateCatchContext), R(12), U8(7), U8(8), |
479 B(Star), R(11), | 485 B(Star), R(11), |
480 B(PushContext), R(7), | 486 B(PushContext), R(7), |
481 B(LdaSmi), U8(2), | 487 B(LdaSmi), U8(2), |
482 B(TestEqualStrict), R(3), U8(17), | 488 B(TestEqualStrict), R(3), U8(17), |
483 B(JumpIfFalse), U8(6), | 489 B(JumpIfFalse), U8(6), |
484 B(LdaSmi), U8(1), | 490 B(LdaSmi), U8(1), |
485 B(Star), R(3), | 491 B(Star), R(3), |
486 B(LdrContextSlot), R(context), U8(4), R(12), | 492 B(LdrContextSlot), R(context), U8(4), R(12), |
487 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), | 493 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), |
488 B(PopContext), R(7), | 494 B(PopContext), R(7), |
489 B(LdaSmi), U8(-1), | 495 B(LdaSmi), U8(-1), |
490 B(Star), R(8), | 496 B(Star), R(8), |
491 B(Jump), U8(8), | 497 B(Jump), U8(8), |
492 B(Star), R(9), | 498 B(Star), R(9), |
493 B(LdaSmi), U8(1), | 499 B(LdaSmi), U8(1), |
494 B(Star), R(8), | 500 B(Star), R(8), |
495 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 501 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
496 B(Star), R(10), | 502 B(Star), R(10), |
497 B(LdaZero), | 503 B(LdaZero), |
498 B(TestEqualStrict), R(3), U8(18), | 504 B(TestEqualStrict), R(3), U8(18), |
499 B(JumpIfTrue), U8(120), | 505 B(JumpIfTrue), U8(121), |
500 B(LdaUndefined), | 506 B(LdaUndefined), |
501 B(TestEqualStrict), R(1), U8(19), | 507 B(TestEqualStrict), R(1), U8(19), |
502 B(JumpIfTrue), U8(114), | 508 B(JumpIfTrue), U8(115), |
503 B(LdrNamedProperty), R(1), U8(8), U8(20), R(5), | 509 B(LdrNamedProperty), R(1), U8(9), U8(20), R(5), |
504 B(LdaNull), | 510 B(LdaNull), |
505 B(TestEqual), R(5), U8(22), | 511 B(TestEqual), R(5), U8(22), |
506 B(JumpIfFalse), U8(4), | 512 B(JumpIfFalse), U8(4), |
507 B(Jump), U8(101), | 513 B(Jump), U8(102), |
508 B(LdaSmi), U8(1), | 514 B(LdaSmi), U8(1), |
509 B(TestEqualStrict), R(3), U8(23), | 515 B(TestEqualStrict), R(3), U8(23), |
510 B(JumpIfFalse), U8(69), | 516 B(JumpIfFalse), U8(70), |
511 B(Ldar), R(5), | 517 B(Ldar), R(5), |
512 B(TypeOf), | 518 B(TypeOf), |
513 B(Star), R(11), | 519 B(Star), R(11), |
514 B(LdaConstant), U8(9), | 520 B(LdaConstant), U8(10), |
515 B(TestEqualStrict), R(11), U8(24), | 521 B(TestEqualStrict), R(11), U8(24), |
516 B(JumpIfFalse), U8(4), | 522 B(JumpIfFalse), U8(4), |
517 B(Jump), U8(18), | 523 B(Jump), U8(18), |
518 B(Wide), B(LdaSmi), U16(128), | 524 B(Wide), B(LdaSmi), U16(128), |
519 B(Star), R(11), | 525 B(Star), R(11), |
520 B(LdaConstant), U8(10), | 526 B(LdaConstant), U8(11), |
521 B(Star), R(12), | 527 B(Star), R(12), |
522 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), | 528 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), |
523 B(Throw), | 529 B(Throw), |
524 B(Mov), R(context), R(11), | 530 B(Mov), R(context), R(11), |
525 B(Mov), R(5), R(12), | 531 B(Mov), R(5), R(12), |
526 B(Mov), R(1), R(13), | 532 B(Mov), R(1), R(13), |
527 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), | 533 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
528 B(Jump), U8(22), | 534 B(Jump), U8(23), |
529 B(Star), R(12), | 535 B(Star), R(12), |
530 B(Ldar), R(closure), | 536 B(Ldar), R(closure), |
531 B(CreateCatchContext), R(12), U8(7), | 537 B(CreateCatchContext), R(12), U8(7), U8(12), |
532 B(Star), R(11), | 538 B(Star), R(11), |
533 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 539 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
534 B(Ldar), R(11), | 540 B(Ldar), R(11), |
535 B(PushContext), R(7), | 541 B(PushContext), R(7), |
536 B(PopContext), R(7), | 542 B(PopContext), R(7), |
537 B(Jump), U8(27), | 543 B(Jump), U8(27), |
538 B(Mov), R(5), R(11), | 544 B(Mov), R(5), R(11), |
539 B(Mov), R(1), R(12), | 545 B(Mov), R(1), R(12), |
540 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), | 546 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), |
541 B(Star), R(6), | 547 B(Star), R(6), |
(...skipping 18 matching lines...) Expand all Loading... |
560 ] | 566 ] |
561 constant pool: [ | 567 constant pool: [ |
562 InstanceType::FIXED_ARRAY_TYPE, | 568 InstanceType::FIXED_ARRAY_TYPE, |
563 InstanceType::FIXED_ARRAY_TYPE, | 569 InstanceType::FIXED_ARRAY_TYPE, |
564 InstanceType::SYMBOL_TYPE, | 570 InstanceType::SYMBOL_TYPE, |
565 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 571 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
566 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 572 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
567 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 573 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
568 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 574 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
569 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 575 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 576 InstanceType::FIXED_ARRAY_TYPE, |
570 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 577 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
571 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 578 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
572 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 579 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
| 580 InstanceType::FIXED_ARRAY_TYPE, |
573 ] | 581 ] |
574 handlers: [ | 582 handlers: [ |
575 [15, 129, 135], | 583 [15, 130, 136], |
576 [18, 94, 96], | 584 [18, 94, 96], |
577 [213, 223, 225], | 585 [214, 224, 226], |
578 ] | 586 ] |
579 | 587 |
OLD | NEW |