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: 16 | 14 frame size: 16 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 345 | 16 bytecode array length: 344 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(StackCheck), | 18 B(StackCheck), |
| 19 B(LdaUndefined), |
| 20 B(Star), R(4), |
19 B(LdaZero), | 21 B(LdaZero), |
20 B(Star), R(3), | 22 B(Star), R(3), |
21 B(LdaUndefined), | |
22 B(Star), R(4), | |
23 B(Mov), R(context), R(11), | 23 B(Mov), R(context), R(11), |
24 B(Mov), R(context), R(12), | 24 B(Mov), R(context), R(12), |
25 B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 25 B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
26 B(Star), R(14), | 26 B(Star), R(14), |
27 B(LdaConstant), U8(1), | 27 B(LdaConstant), U8(1), |
28 B(KeyedLoadIC), R(14), U8(3), | 28 B(KeyedLoadIC), R(14), U8(3), |
29 B(Star), R(13), | 29 B(Star), R(13), |
30 B(Call), R(13), R(14), U8(1), U8(1), | 30 B(Call), R(13), R(14), U8(1), U8(1), |
31 B(Star), R(1), | 31 B(Star), R(1), |
32 B(Ldar), R(1), | 32 B(Ldar), R(1), |
33 B(Star), R(15), | 33 B(Star), R(15), |
34 B(LoadIC), R(15), U8(2), U8(7), | 34 B(LoadIC), R(15), U8(2), U8(7), |
35 B(Star), R(14), | 35 B(Star), R(14), |
36 B(Call), R(14), R(15), U8(1), U8(5), | 36 B(Call), R(14), R(15), U8(1), U8(5), |
37 B(Star), R(2), | 37 B(Star), R(2), |
38 B(Star), R(13), | 38 B(Star), R(13), |
39 B(CallRuntime), U16(Runtime::k_IsJSReceiver), R(13), U8(1), | 39 B(CallRuntime), U16(Runtime::k_IsJSReceiver), R(13), U8(1), |
40 B(LogicalNot), | 40 B(LogicalNot), |
41 B(JumpIfFalse), U8(11), | 41 B(JumpIfFalse), U8(11), |
42 B(Ldar), R(2), | 42 B(Ldar), R(2), |
43 B(Star), R(13), | 43 B(Star), R(13), |
44 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1), | 44 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1), |
45 B(Ldar), R(2), | 45 B(Ldar), R(2), |
46 B(Star), R(13), | 46 B(Star), R(13), |
47 B(LoadIC), R(13), U8(3), U8(9), | 47 B(LoadIC), R(13), U8(3), U8(9), |
48 B(JumpIfToBooleanTrue), U8(28), | 48 B(JumpIfToBooleanTrue), U8(28), |
49 B(LdaSmi8), U8(1), | 49 B(LdaSmi8), U8(2), |
50 B(Star), R(3), | 50 B(Star), R(3), |
51 B(Ldar), R(2), | 51 B(Ldar), R(2), |
52 B(Star), R(13), | 52 B(Star), R(13), |
53 B(LoadIC), R(13), U8(4), U8(11), | 53 B(LoadIC), R(13), U8(4), U8(11), |
54 B(Star), R(0), | 54 B(Star), R(0), |
55 B(Ldar), R(4), | 55 B(Ldar), R(4), |
56 B(StackCheck), | 56 B(StackCheck), |
57 B(Ldar), R(0), | 57 B(Ldar), R(0), |
58 B(Star), R(7), | 58 B(Star), R(7), |
59 B(LdaZero), | 59 B(LdaZero), |
60 B(Star), R(3), | 60 B(Star), R(3), |
61 B(Jump), U8(-70), | 61 B(Jump), U8(-70), |
62 B(Jump), U8(46), | 62 B(Jump), U8(46), |
63 B(Star), R(14), | 63 B(Star), R(14), |
64 B(LdaConstant), U8(5), | 64 B(LdaConstant), U8(5), |
65 B(Star), R(13), | 65 B(Star), R(13), |
66 B(Ldar), R(closure), | 66 B(Ldar), R(closure), |
67 B(Star), R(15), | 67 B(Star), R(15), |
68 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), | 68 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), |
69 B(Star), R(12), | 69 B(Star), R(12), |
70 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 70 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
71 B(Ldar), R(12), | 71 B(Ldar), R(12), |
72 B(PushContext), R(8), | 72 B(PushContext), R(8), |
73 B(Ldar), R(3), | 73 B(Ldar), R(3), |
74 B(Star), R(13), | 74 B(Star), R(13), |
75 B(LdaSmi8), U8(1), | 75 B(LdaSmi8), U8(2), |
76 B(TestEqualStrict), R(13), | 76 B(TestEqualStrict), R(13), |
77 B(JumpIfFalse), U8(6), | 77 B(JumpIfFalse), U8(6), |
78 B(LdaSmi8), U8(2), | 78 B(LdaSmi8), U8(1), |
79 B(Star), R(3), | 79 B(Star), R(3), |
80 B(LdaContextSlot), R(context), U8(4), | 80 B(LdaContextSlot), R(context), U8(4), |
81 B(Throw), | 81 B(Throw), |
82 B(LdaSmi8), U8(-1), | 82 B(LdaSmi8), U8(-1), |
83 B(Star), R(9), | 83 B(Star), R(9), |
84 B(Jump), U8(7), | 84 B(Jump), U8(7), |
85 B(Star), R(10), | 85 B(Star), R(10), |
86 B(LdaZero), | 86 B(LdaZero), |
87 B(Star), R(9), | 87 B(Star), R(9), |
88 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 88 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
89 B(Star), R(11), | 89 B(Star), R(11), |
90 B(Ldar), R(3), | 90 B(Ldar), R(3), |
91 B(Star), R(12), | 91 B(Star), R(12), |
92 B(LdaZero), | 92 B(LdaZero), |
93 B(TestEqualStrict), R(12), | 93 B(TestEqualStrict), R(12), |
94 B(JumpIfTrue), U8(9), | 94 B(JumpIfTrue), U8(9), |
95 B(Ldar), R(1), | 95 B(Ldar), R(1), |
96 B(Star), R(12), | 96 B(Star), R(12), |
97 B(LdaUndefined), | 97 B(LdaUndefined), |
98 B(TestEqualStrict), R(12), | 98 B(TestEqualStrict), R(12), |
99 B(JumpIfToBooleanFalse), U8(4), | 99 B(LogicalNot), |
100 B(JumpConstant), U8(10), | 100 B(JumpIfFalseConstant), U8(10), |
101 B(Ldar), R(1), | 101 B(Ldar), R(1), |
102 B(Star), R(12), | 102 B(Star), R(12), |
103 B(LoadIC), R(12), U8(6), U8(13), | 103 B(LoadIC), R(12), U8(6), U8(13), |
104 B(Star), R(5), | 104 B(Star), R(5), |
105 B(Star), R(12), | 105 B(Star), R(12), |
106 B(LdaNull), | 106 B(LdaNull), |
107 B(TestEqual), R(12), | 107 B(TestEqual), R(12), |
108 B(JumpIfFalse), U8(4), | 108 B(JumpIfFalse), U8(4), |
109 B(Jump), U8(122), | 109 B(Jump), U8(122), |
110 B(Ldar), R(3), | 110 B(Ldar), R(3), |
111 B(Star), R(12), | 111 B(Star), R(12), |
112 B(LdaSmi8), U8(2), | 112 B(LdaSmi8), U8(1), |
113 B(TestEqualStrict), R(12), | 113 B(TestEqualStrict), R(12), |
114 B(JumpIfFalse), U8(77), | 114 B(JumpIfFalse), U8(77), |
115 B(Ldar), R(5), | 115 B(Ldar), R(5), |
116 B(TypeOf), | 116 B(TypeOf), |
117 B(Star), R(12), | 117 B(Star), R(12), |
118 B(LdaConstant), U8(7), | 118 B(LdaConstant), U8(7), |
119 B(TestEqualStrict), R(12), | 119 B(TestEqualStrict), R(12), |
120 B(JumpIfFalse), U8(4), | 120 B(JumpIfFalse), U8(4), |
121 B(Jump), U8(16), | 121 B(Jump), U8(16), |
122 B(LdaConstant), U8(8), | 122 B(LdaConstant), U8(8), |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 176 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
177 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 177 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
178 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 178 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
179 kInstanceTypeDontCare, | 179 kInstanceTypeDontCare, |
180 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 180 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
181 kInstanceTypeDontCare, | 181 kInstanceTypeDontCare, |
182 ] | 182 ] |
183 handlers: [ | 183 handlers: [ |
184 [10, 151, 157], | 184 [10, 151, 157], |
185 [13, 105, 107], | 185 [13, 105, 107], |
186 [248, 261, 263], | 186 [247, 260, 262], |
187 ] | 187 ] |
188 | 188 |
189 --- | 189 --- |
190 snippet: " | 190 snippet: " |
191 var x = 'potatoes'; | 191 var x = 'potatoes'; |
192 for (var p of x) { return p; } | 192 for (var p of x) { return p; } |
193 " | 193 " |
194 frame size: 17 | 194 frame size: 17 |
195 parameter count: 1 | 195 parameter count: 1 |
196 bytecode array length: 361 | 196 bytecode array length: 360 |
197 bytecodes: [ | 197 bytecodes: [ |
198 B(StackCheck), | 198 B(StackCheck), |
199 B(LdaConstant), U8(0), | 199 B(LdaConstant), U8(0), |
200 B(Star), R(7), | 200 B(Star), R(7), |
| 201 B(LdaUndefined), |
| 202 B(Star), R(4), |
201 B(LdaZero), | 203 B(LdaZero), |
202 B(Star), R(3), | 204 B(Star), R(3), |
203 B(LdaUndefined), | |
204 B(Star), R(4), | |
205 B(Mov), R(context), R(12), | 205 B(Mov), R(context), R(12), |
206 B(Mov), R(context), R(13), | 206 B(Mov), R(context), R(13), |
207 B(Ldar), R(7), | 207 B(Ldar), R(7), |
208 B(Star), R(15), | 208 B(Star), R(15), |
209 B(LdaConstant), U8(1), | 209 B(LdaConstant), U8(1), |
210 B(KeyedLoadIC), R(15), U8(3), | 210 B(KeyedLoadIC), R(15), U8(3), |
211 B(Star), R(14), | 211 B(Star), R(14), |
212 B(Call), R(14), R(15), U8(1), U8(1), | 212 B(Call), R(14), R(15), U8(1), U8(1), |
213 B(Star), R(1), | 213 B(Star), R(1), |
214 B(Ldar), R(1), | 214 B(Ldar), R(1), |
215 B(Star), R(16), | 215 B(Star), R(16), |
216 B(LoadIC), R(16), U8(2), U8(7), | 216 B(LoadIC), R(16), U8(2), U8(7), |
217 B(Star), R(15), | 217 B(Star), R(15), |
218 B(Call), R(15), R(16), U8(1), U8(5), | 218 B(Call), R(15), R(16), U8(1), U8(5), |
219 B(Star), R(2), | 219 B(Star), R(2), |
220 B(Star), R(14), | 220 B(Star), R(14), |
221 B(CallRuntime), U16(Runtime::k_IsJSReceiver), R(14), U8(1), | 221 B(CallRuntime), U16(Runtime::k_IsJSReceiver), R(14), U8(1), |
222 B(LogicalNot), | 222 B(LogicalNot), |
223 B(JumpIfFalse), U8(11), | 223 B(JumpIfFalse), U8(11), |
224 B(Ldar), R(2), | 224 B(Ldar), R(2), |
225 B(Star), R(14), | 225 B(Star), R(14), |
226 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(14), U8(1), | 226 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(14), U8(1), |
227 B(Ldar), R(2), | 227 B(Ldar), R(2), |
228 B(Star), R(14), | 228 B(Star), R(14), |
229 B(LoadIC), R(14), U8(3), U8(9), | 229 B(LoadIC), R(14), U8(3), U8(9), |
230 B(JumpIfToBooleanTrue), U8(32), | 230 B(JumpIfToBooleanTrue), U8(32), |
231 B(LdaSmi8), U8(1), | 231 B(LdaSmi8), U8(2), |
232 B(Star), R(3), | 232 B(Star), R(3), |
233 B(Ldar), R(2), | 233 B(Ldar), R(2), |
234 B(Star), R(14), | 234 B(Star), R(14), |
235 B(LoadIC), R(14), U8(4), U8(11), | 235 B(LoadIC), R(14), U8(4), U8(11), |
236 B(Star), R(0), | 236 B(Star), R(0), |
237 B(Ldar), R(4), | 237 B(Ldar), R(4), |
238 B(StackCheck), | 238 B(StackCheck), |
239 B(Ldar), R(0), | 239 B(Ldar), R(0), |
240 B(Star), R(8), | 240 B(Star), R(8), |
241 B(Star), R(11), | 241 B(Star), R(11), |
242 B(LdaZero), | 242 B(LdaZero), |
243 B(Star), R(10), | 243 B(Star), R(10), |
244 B(Jump), U8(62), | 244 B(Jump), U8(62), |
245 B(Jump), U8(-74), | 245 B(Jump), U8(-74), |
246 B(Jump), U8(46), | 246 B(Jump), U8(46), |
247 B(Star), R(15), | 247 B(Star), R(15), |
248 B(LdaConstant), U8(5), | 248 B(LdaConstant), U8(5), |
249 B(Star), R(14), | 249 B(Star), R(14), |
250 B(Ldar), R(closure), | 250 B(Ldar), R(closure), |
251 B(Star), R(16), | 251 B(Star), R(16), |
252 B(CallRuntime), U16(Runtime::kPushCatchContext), R(14), U8(3), | 252 B(CallRuntime), U16(Runtime::kPushCatchContext), R(14), U8(3), |
253 B(Star), R(13), | 253 B(Star), R(13), |
254 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 254 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
255 B(Ldar), R(13), | 255 B(Ldar), R(13), |
256 B(PushContext), R(9), | 256 B(PushContext), R(9), |
257 B(Ldar), R(3), | 257 B(Ldar), R(3), |
258 B(Star), R(14), | 258 B(Star), R(14), |
259 B(LdaSmi8), U8(1), | 259 B(LdaSmi8), U8(2), |
260 B(TestEqualStrict), R(14), | 260 B(TestEqualStrict), R(14), |
261 B(JumpIfFalse), U8(6), | 261 B(JumpIfFalse), U8(6), |
262 B(LdaSmi8), U8(2), | 262 B(LdaSmi8), U8(1), |
263 B(Star), R(3), | 263 B(Star), R(3), |
264 B(LdaContextSlot), R(context), U8(4), | 264 B(LdaContextSlot), R(context), U8(4), |
265 B(Throw), | 265 B(Throw), |
266 B(LdaSmi8), U8(-1), | 266 B(LdaSmi8), U8(-1), |
267 B(Star), R(10), | 267 B(Star), R(10), |
268 B(Jump), U8(8), | 268 B(Jump), U8(8), |
269 B(Star), R(11), | 269 B(Star), R(11), |
270 B(LdaSmi8), U8(1), | 270 B(LdaSmi8), U8(1), |
271 B(Star), R(10), | 271 B(Star), R(10), |
272 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 272 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
273 B(Star), R(12), | 273 B(Star), R(12), |
274 B(Ldar), R(3), | 274 B(Ldar), R(3), |
275 B(Star), R(13), | 275 B(Star), R(13), |
276 B(LdaZero), | 276 B(LdaZero), |
277 B(TestEqualStrict), R(13), | 277 B(TestEqualStrict), R(13), |
278 B(JumpIfTrue), U8(9), | 278 B(JumpIfTrue), U8(9), |
279 B(Ldar), R(1), | 279 B(Ldar), R(1), |
280 B(Star), R(13), | 280 B(Star), R(13), |
281 B(LdaUndefined), | 281 B(LdaUndefined), |
282 B(TestEqualStrict), R(13), | 282 B(TestEqualStrict), R(13), |
283 B(JumpIfToBooleanFalse), U8(4), | 283 B(LogicalNot), |
284 B(JumpConstant), U8(10), | 284 B(JumpIfFalseConstant), U8(10), |
285 B(Ldar), R(1), | 285 B(Ldar), R(1), |
286 B(Star), R(13), | 286 B(Star), R(13), |
287 B(LoadIC), R(13), U8(6), U8(13), | 287 B(LoadIC), R(13), U8(6), U8(13), |
288 B(Star), R(5), | 288 B(Star), R(5), |
289 B(Star), R(13), | 289 B(Star), R(13), |
290 B(LdaNull), | 290 B(LdaNull), |
291 B(TestEqual), R(13), | 291 B(TestEqual), R(13), |
292 B(JumpIfFalse), U8(4), | 292 B(JumpIfFalse), U8(4), |
293 B(Jump), U8(122), | 293 B(Jump), U8(122), |
294 B(Ldar), R(3), | 294 B(Ldar), R(3), |
295 B(Star), R(13), | 295 B(Star), R(13), |
296 B(LdaSmi8), U8(2), | 296 B(LdaSmi8), U8(1), |
297 B(TestEqualStrict), R(13), | 297 B(TestEqualStrict), R(13), |
298 B(JumpIfFalse), U8(77), | 298 B(JumpIfFalse), U8(77), |
299 B(Ldar), R(5), | 299 B(Ldar), R(5), |
300 B(TypeOf), | 300 B(TypeOf), |
301 B(Star), R(13), | 301 B(Star), R(13), |
302 B(LdaConstant), U8(7), | 302 B(LdaConstant), U8(7), |
303 B(TestEqualStrict), R(13), | 303 B(TestEqualStrict), R(13), |
304 B(JumpIfFalse), U8(4), | 304 B(JumpIfFalse), U8(4), |
305 B(Jump), U8(16), | 305 B(Jump), U8(16), |
306 B(LdaConstant), U8(8), | 306 B(LdaConstant), U8(8), |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 365 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
366 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 366 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
367 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 367 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
368 kInstanceTypeDontCare, | 368 kInstanceTypeDontCare, |
369 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 369 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
370 kInstanceTypeDontCare, | 370 kInstanceTypeDontCare, |
371 ] | 371 ] |
372 handlers: [ | 372 handlers: [ |
373 [14, 157, 163], | 373 [14, 157, 163], |
374 [17, 111, 113], | 374 [17, 111, 113], |
375 [255, 268, 270], | 375 [254, 267, 269], |
376 ] | 376 ] |
377 | 377 |
378 --- | 378 --- |
379 snippet: " | 379 snippet: " |
380 for (var x of [10, 20, 30]) { | 380 for (var x of [10, 20, 30]) { |
381 if (x == 10) continue; | 381 if (x == 10) continue; |
382 if (x == 20) break; | 382 if (x == 20) break; |
383 } | 383 } |
384 " | 384 " |
385 frame size: 16 | 385 frame size: 16 |
386 parameter count: 1 | 386 parameter count: 1 |
387 bytecode array length: 367 | 387 bytecode array length: 366 |
388 bytecodes: [ | 388 bytecodes: [ |
389 B(StackCheck), | 389 B(StackCheck), |
| 390 B(LdaUndefined), |
| 391 B(Star), R(4), |
390 B(LdaZero), | 392 B(LdaZero), |
391 B(Star), R(3), | 393 B(Star), R(3), |
392 B(LdaUndefined), | |
393 B(Star), R(4), | |
394 B(Mov), R(context), R(11), | 394 B(Mov), R(context), R(11), |
395 B(Mov), R(context), R(12), | 395 B(Mov), R(context), R(12), |
396 B(CreateArrayLiteral), U8(0), U8(0), U8(3), | 396 B(CreateArrayLiteral), U8(0), U8(0), U8(3), |
397 B(Star), R(14), | 397 B(Star), R(14), |
398 B(LdaConstant), U8(1), | 398 B(LdaConstant), U8(1), |
399 B(KeyedLoadIC), R(14), U8(3), | 399 B(KeyedLoadIC), R(14), U8(3), |
400 B(Star), R(13), | 400 B(Star), R(13), |
401 B(Call), R(13), R(14), U8(1), U8(1), | 401 B(Call), R(13), R(14), U8(1), U8(1), |
402 B(Star), R(1), | 402 B(Star), R(1), |
403 B(Ldar), R(1), | 403 B(Ldar), R(1), |
404 B(Star), R(15), | 404 B(Star), R(15), |
405 B(LoadIC), R(15), U8(2), U8(7), | 405 B(LoadIC), R(15), U8(2), U8(7), |
406 B(Star), R(14), | 406 B(Star), R(14), |
407 B(Call), R(14), R(15), U8(1), U8(5), | 407 B(Call), R(14), R(15), U8(1), U8(5), |
408 B(Star), R(2), | 408 B(Star), R(2), |
409 B(Star), R(13), | 409 B(Star), R(13), |
410 B(CallRuntime), U16(Runtime::k_IsJSReceiver), R(13), U8(1), | 410 B(CallRuntime), U16(Runtime::k_IsJSReceiver), R(13), U8(1), |
411 B(LogicalNot), | 411 B(LogicalNot), |
412 B(JumpIfFalse), U8(11), | 412 B(JumpIfFalse), U8(11), |
413 B(Ldar), R(2), | 413 B(Ldar), R(2), |
414 B(Star), R(13), | 414 B(Star), R(13), |
415 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1), | 415 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(13), U8(1), |
416 B(Ldar), R(2), | 416 B(Ldar), R(2), |
417 B(Star), R(13), | 417 B(Star), R(13), |
418 B(LoadIC), R(13), U8(3), U8(9), | 418 B(LoadIC), R(13), U8(3), U8(9), |
419 B(JumpIfToBooleanTrue), U8(50), | 419 B(JumpIfToBooleanTrue), U8(50), |
420 B(LdaSmi8), U8(1), | 420 B(LdaSmi8), U8(2), |
421 B(Star), R(3), | 421 B(Star), R(3), |
422 B(Ldar), R(2), | 422 B(Ldar), R(2), |
423 B(Star), R(13), | 423 B(Star), R(13), |
424 B(LoadIC), R(13), U8(4), U8(11), | 424 B(LoadIC), R(13), U8(4), U8(11), |
425 B(Star), R(0), | 425 B(Star), R(0), |
426 B(Ldar), R(4), | 426 B(Ldar), R(4), |
427 B(StackCheck), | 427 B(StackCheck), |
428 B(Ldar), R(0), | 428 B(Ldar), R(0), |
429 B(Star), R(7), | 429 B(Star), R(7), |
430 B(Star), R(13), | 430 B(Star), R(13), |
(...skipping 16 matching lines...) Expand all Loading... |
447 B(Star), R(13), | 447 B(Star), R(13), |
448 B(Ldar), R(closure), | 448 B(Ldar), R(closure), |
449 B(Star), R(15), | 449 B(Star), R(15), |
450 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), | 450 B(CallRuntime), U16(Runtime::kPushCatchContext), R(13), U8(3), |
451 B(Star), R(12), | 451 B(Star), R(12), |
452 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 452 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
453 B(Ldar), R(12), | 453 B(Ldar), R(12), |
454 B(PushContext), R(8), | 454 B(PushContext), R(8), |
455 B(Ldar), R(3), | 455 B(Ldar), R(3), |
456 B(Star), R(13), | 456 B(Star), R(13), |
457 B(LdaSmi8), U8(1), | 457 B(LdaSmi8), U8(2), |
458 B(TestEqualStrict), R(13), | 458 B(TestEqualStrict), R(13), |
459 B(JumpIfFalse), U8(6), | 459 B(JumpIfFalse), U8(6), |
460 B(LdaSmi8), U8(2), | 460 B(LdaSmi8), U8(1), |
461 B(Star), R(3), | 461 B(Star), R(3), |
462 B(LdaContextSlot), R(context), U8(4), | 462 B(LdaContextSlot), R(context), U8(4), |
463 B(Throw), | 463 B(Throw), |
464 B(LdaSmi8), U8(-1), | 464 B(LdaSmi8), U8(-1), |
465 B(Star), R(9), | 465 B(Star), R(9), |
466 B(Jump), U8(7), | 466 B(Jump), U8(7), |
467 B(Star), R(10), | 467 B(Star), R(10), |
468 B(LdaZero), | 468 B(LdaZero), |
469 B(Star), R(9), | 469 B(Star), R(9), |
470 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 470 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
471 B(Star), R(11), | 471 B(Star), R(11), |
472 B(Ldar), R(3), | 472 B(Ldar), R(3), |
473 B(Star), R(12), | 473 B(Star), R(12), |
474 B(LdaZero), | 474 B(LdaZero), |
475 B(TestEqualStrict), R(12), | 475 B(TestEqualStrict), R(12), |
476 B(JumpIfTrue), U8(9), | 476 B(JumpIfTrue), U8(9), |
477 B(Ldar), R(1), | 477 B(Ldar), R(1), |
478 B(Star), R(12), | 478 B(Star), R(12), |
479 B(LdaUndefined), | 479 B(LdaUndefined), |
480 B(TestEqualStrict), R(12), | 480 B(TestEqualStrict), R(12), |
481 B(JumpIfToBooleanFalse), U8(4), | 481 B(LogicalNot), |
482 B(JumpConstant), U8(10), | 482 B(JumpIfFalseConstant), U8(10), |
483 B(Ldar), R(1), | 483 B(Ldar), R(1), |
484 B(Star), R(12), | 484 B(Star), R(12), |
485 B(LoadIC), R(12), U8(6), U8(13), | 485 B(LoadIC), R(12), U8(6), U8(13), |
486 B(Star), R(5), | 486 B(Star), R(5), |
487 B(Star), R(12), | 487 B(Star), R(12), |
488 B(LdaNull), | 488 B(LdaNull), |
489 B(TestEqual), R(12), | 489 B(TestEqual), R(12), |
490 B(JumpIfFalse), U8(4), | 490 B(JumpIfFalse), U8(4), |
491 B(Jump), U8(122), | 491 B(Jump), U8(122), |
492 B(Ldar), R(3), | 492 B(Ldar), R(3), |
493 B(Star), R(12), | 493 B(Star), R(12), |
494 B(LdaSmi8), U8(2), | 494 B(LdaSmi8), U8(1), |
495 B(TestEqualStrict), R(12), | 495 B(TestEqualStrict), R(12), |
496 B(JumpIfFalse), U8(77), | 496 B(JumpIfFalse), U8(77), |
497 B(Ldar), R(5), | 497 B(Ldar), R(5), |
498 B(TypeOf), | 498 B(TypeOf), |
499 B(Star), R(12), | 499 B(Star), R(12), |
500 B(LdaConstant), U8(7), | 500 B(LdaConstant), U8(7), |
501 B(TestEqualStrict), R(12), | 501 B(TestEqualStrict), R(12), |
502 B(JumpIfFalse), U8(4), | 502 B(JumpIfFalse), U8(4), |
503 B(Jump), U8(16), | 503 B(Jump), U8(16), |
504 B(LdaConstant), U8(8), | 504 B(LdaConstant), U8(8), |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 558 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
559 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 559 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
560 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 560 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
561 kInstanceTypeDontCare, | 561 kInstanceTypeDontCare, |
562 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 562 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
563 kInstanceTypeDontCare, | 563 kInstanceTypeDontCare, |
564 ] | 564 ] |
565 handlers: [ | 565 handlers: [ |
566 [10, 173, 179], | 566 [10, 173, 179], |
567 [13, 127, 129], | 567 [13, 127, 129], |
568 [270, 283, 285], | 568 [269, 282, 284], |
569 ] | 569 ] |
570 | 570 |
571 --- | 571 --- |
572 snippet: " | 572 snippet: " |
573 var x = { 'a': 1, 'b': 2 }; | 573 var x = { 'a': 1, 'b': 2 }; |
574 for (x['a'] of [1,2,3]) { return x['a']; } | 574 for (x['a'] of [1,2,3]) { return x['a']; } |
575 " | 575 " |
576 frame size: 15 | 576 frame size: 15 |
577 parameter count: 1 | 577 parameter count: 1 |
578 bytecode array length: 377 | 578 bytecode array length: 376 |
579 bytecodes: [ | 579 bytecodes: [ |
580 B(StackCheck), | 580 B(StackCheck), |
581 B(CreateObjectLiteral), U8(0), U8(0), U8(5), | 581 B(CreateObjectLiteral), U8(0), U8(0), U8(5), |
582 B(Star), R(8), | 582 B(Star), R(8), |
583 B(Star), R(6), | 583 B(Star), R(6), |
| 584 B(LdaUndefined), |
| 585 B(Star), R(3), |
584 B(LdaZero), | 586 B(LdaZero), |
585 B(Star), R(2), | 587 B(Star), R(2), |
586 B(LdaUndefined), | |
587 B(Star), R(3), | |
588 B(Mov), R(context), R(10), | 588 B(Mov), R(context), R(10), |
589 B(Mov), R(context), R(11), | 589 B(Mov), R(context), R(11), |
590 B(CreateArrayLiteral), U8(1), U8(1), U8(3), | 590 B(CreateArrayLiteral), U8(1), U8(1), U8(3), |
591 B(Star), R(13), | 591 B(Star), R(13), |
592 B(LdaConstant), U8(2), | 592 B(LdaConstant), U8(2), |
593 B(KeyedLoadIC), R(13), U8(3), | 593 B(KeyedLoadIC), R(13), U8(3), |
594 B(Star), R(12), | 594 B(Star), R(12), |
595 B(Call), R(12), R(13), U8(1), U8(1), | 595 B(Call), R(12), R(13), U8(1), U8(1), |
596 B(Star), R(0), | 596 B(Star), R(0), |
597 B(Ldar), R(0), | 597 B(Ldar), R(0), |
598 B(Star), R(14), | 598 B(Star), R(14), |
599 B(LoadIC), R(14), U8(3), U8(7), | 599 B(LoadIC), R(14), U8(3), U8(7), |
600 B(Star), R(13), | 600 B(Star), R(13), |
601 B(Call), R(13), R(14), U8(1), U8(5), | 601 B(Call), R(13), R(14), U8(1), U8(5), |
602 B(Star), R(1), | 602 B(Star), R(1), |
603 B(Star), R(12), | 603 B(Star), R(12), |
604 B(CallRuntime), U16(Runtime::k_IsJSReceiver), R(12), U8(1), | 604 B(CallRuntime), U16(Runtime::k_IsJSReceiver), R(12), U8(1), |
605 B(LogicalNot), | 605 B(LogicalNot), |
606 B(JumpIfFalse), U8(11), | 606 B(JumpIfFalse), U8(11), |
607 B(Ldar), R(1), | 607 B(Ldar), R(1), |
608 B(Star), R(12), | 608 B(Star), R(12), |
609 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1), | 609 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R(12), U8(1), |
610 B(Ldar), R(1), | 610 B(Ldar), R(1), |
611 B(Star), R(12), | 611 B(Star), R(12), |
612 B(LoadIC), R(12), U8(4), U8(9), | 612 B(LoadIC), R(12), U8(4), U8(9), |
613 B(JumpIfToBooleanTrue), U8(42), | 613 B(JumpIfToBooleanTrue), U8(42), |
614 B(LdaSmi8), U8(1), | 614 B(LdaSmi8), U8(2), |
615 B(Star), R(2), | 615 B(Star), R(2), |
616 B(Ldar), R(6), | 616 B(Ldar), R(6), |
617 B(Star), R(12), | 617 B(Star), R(12), |
618 B(Ldar), R(1), | 618 B(Ldar), R(1), |
619 B(Star), R(13), | 619 B(Star), R(13), |
620 B(LoadIC), R(13), U8(5), U8(11), | 620 B(LoadIC), R(13), U8(5), U8(11), |
621 B(StoreICSloppy), R(12), U8(6), U8(13), | 621 B(StoreICSloppy), R(12), U8(6), U8(13), |
622 B(Ldar), R(3), | 622 B(Ldar), R(3), |
623 B(StackCheck), | 623 B(StackCheck), |
624 B(Ldar), R(6), | 624 B(Ldar), R(6), |
(...skipping 10 matching lines...) Expand all Loading... |
635 B(Star), R(12), | 635 B(Star), R(12), |
636 B(Ldar), R(closure), | 636 B(Ldar), R(closure), |
637 B(Star), R(14), | 637 B(Star), R(14), |
638 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), | 638 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), |
639 B(Star), R(11), | 639 B(Star), R(11), |
640 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 640 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
641 B(Ldar), R(11), | 641 B(Ldar), R(11), |
642 B(PushContext), R(7), | 642 B(PushContext), R(7), |
643 B(Ldar), R(2), | 643 B(Ldar), R(2), |
644 B(Star), R(12), | 644 B(Star), R(12), |
645 B(LdaSmi8), U8(1), | 645 B(LdaSmi8), U8(2), |
646 B(TestEqualStrict), R(12), | 646 B(TestEqualStrict), R(12), |
647 B(JumpIfFalse), U8(6), | 647 B(JumpIfFalse), U8(6), |
648 B(LdaSmi8), U8(2), | 648 B(LdaSmi8), U8(1), |
649 B(Star), R(2), | 649 B(Star), R(2), |
650 B(LdaContextSlot), R(context), U8(4), | 650 B(LdaContextSlot), R(context), U8(4), |
651 B(Throw), | 651 B(Throw), |
652 B(LdaSmi8), U8(-1), | 652 B(LdaSmi8), U8(-1), |
653 B(Star), R(8), | 653 B(Star), R(8), |
654 B(Jump), U8(8), | 654 B(Jump), U8(8), |
655 B(Star), R(9), | 655 B(Star), R(9), |
656 B(LdaSmi8), U8(1), | 656 B(LdaSmi8), U8(1), |
657 B(Star), R(8), | 657 B(Star), R(8), |
658 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), | 658 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), |
659 B(Star), R(10), | 659 B(Star), R(10), |
660 B(Ldar), R(2), | 660 B(Ldar), R(2), |
661 B(Star), R(11), | 661 B(Star), R(11), |
662 B(LdaZero), | 662 B(LdaZero), |
663 B(TestEqualStrict), R(11), | 663 B(TestEqualStrict), R(11), |
664 B(JumpIfTrue), U8(9), | 664 B(JumpIfTrue), U8(9), |
665 B(Ldar), R(0), | 665 B(Ldar), R(0), |
666 B(Star), R(11), | 666 B(Star), R(11), |
667 B(LdaUndefined), | 667 B(LdaUndefined), |
668 B(TestEqualStrict), R(11), | 668 B(TestEqualStrict), R(11), |
669 B(JumpIfToBooleanFalse), U8(4), | 669 B(LogicalNot), |
670 B(JumpConstant), U8(12), | 670 B(JumpIfFalseConstant), U8(12), |
671 B(Ldar), R(0), | 671 B(Ldar), R(0), |
672 B(Star), R(11), | 672 B(Star), R(11), |
673 B(LoadIC), R(11), U8(8), U8(17), | 673 B(LoadIC), R(11), U8(8), U8(17), |
674 B(Star), R(4), | 674 B(Star), R(4), |
675 B(Star), R(11), | 675 B(Star), R(11), |
676 B(LdaNull), | 676 B(LdaNull), |
677 B(TestEqual), R(11), | 677 B(TestEqual), R(11), |
678 B(JumpIfFalse), U8(4), | 678 B(JumpIfFalse), U8(4), |
679 B(Jump), U8(122), | 679 B(Jump), U8(122), |
680 B(Ldar), R(2), | 680 B(Ldar), R(2), |
681 B(Star), R(11), | 681 B(Star), R(11), |
682 B(LdaSmi8), U8(2), | 682 B(LdaSmi8), U8(1), |
683 B(TestEqualStrict), R(11), | 683 B(TestEqualStrict), R(11), |
684 B(JumpIfFalse), U8(77), | 684 B(JumpIfFalse), U8(77), |
685 B(Ldar), R(4), | 685 B(Ldar), R(4), |
686 B(TypeOf), | 686 B(TypeOf), |
687 B(Star), R(11), | 687 B(Star), R(11), |
688 B(LdaConstant), U8(9), | 688 B(LdaConstant), U8(9), |
689 B(TestEqualStrict), R(11), | 689 B(TestEqualStrict), R(11), |
690 B(JumpIfFalse), U8(4), | 690 B(JumpIfFalse), U8(4), |
691 B(Jump), U8(16), | 691 B(Jump), U8(16), |
692 B(LdaConstant), U8(10), | 692 B(LdaConstant), U8(10), |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 753 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
754 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 754 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
755 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 755 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
756 kInstanceTypeDontCare, | 756 kInstanceTypeDontCare, |
757 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 757 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
758 kInstanceTypeDontCare, | 758 kInstanceTypeDontCare, |
759 ] | 759 ] |
760 handlers: [ | 760 handlers: [ |
761 [18, 173, 179], | 761 [18, 173, 179], |
762 [21, 127, 129], | 762 [21, 127, 129], |
763 [271, 284, 286], | 763 [270, 283, 285], |
764 ] | 764 ] |
765 | 765 |
OLD | NEW |