OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: no | 6 wrap: no |
7 test function name: f | 7 test function name: f |
8 | 8 |
9 --- | 9 --- |
10 snippet: " | 10 snippet: " |
11 function* f() { } | 11 function* f() { } |
12 f(); | 12 f(); |
13 " | 13 " |
14 frame size: 12 | 14 frame size: 12 |
15 parameter count: 1 | 15 parameter count: 1 |
16 bytecode array length: 204 | 16 bytecode array length: 208 |
17 bytecodes: [ | 17 bytecodes: [ |
18 B(Ldar), R(new_target), | 18 B(Ldar), R(new_target), |
19 B(JumpIfUndefined), U8(28), | 19 B(JumpIfUndefined), U8(28), |
20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
21 B(PushContext), R(2), | 21 B(PushContext), R(2), |
22 B(ResumeGenerator), R(new_target), | 22 B(ResumeGenerator), R(new_target), |
23 B(Star), R(1), | 23 B(Star), R(1), |
24 B(LdaZero), | 24 B(LdaZero), |
25 B(TestEqualStrict), R(1), U8(0), | 25 B(TestEqualStrict), R(1), U8(0), |
26 B(JumpIfTrue), U8(53), | 26 B(JumpIfTrue), U8(57), |
27 B(LdaSmi), I8(78), | 27 B(LdaSmi), I8(78), |
28 B(Star), R(3), | 28 B(Star), R(3), |
29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
30 B(LdaSmi), I8(-2), | 30 B(LdaSmi), I8(-2), |
31 B(Star), R(1), | 31 B(Star), R(1), |
32 B(CreateFunctionContext), U8(2), | 32 B(CreateFunctionContext), U8(2), |
33 B(PushContext), R(0), | 33 B(PushContext), R(0), |
34 B(Ldar), R(this), | 34 B(Ldar), R(this), |
35 B(StaCurrentContextSlot), U8(4), | 35 B(StaCurrentContextSlot), U8(4), |
36 /* 11 E> */ B(StackCheck), | 36 /* 11 E> */ B(StackCheck), |
37 B(Mov), R(context), R(5), | 37 B(Mov), R(context), R(5), |
| 38 B(LdaConstant), U8(0), |
| 39 B(Star), R(6), |
38 B(LdaImmutableCurrentContextSlot), U8(4), | 40 B(LdaImmutableCurrentContextSlot), U8(4), |
39 B(Star), R(7), | 41 B(Star), R(8), |
40 B(Mov), R(closure), R(6), | 42 B(Mov), R(closure), R(7), |
41 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8
(2), | 43 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8
(2), |
42 B(StaCurrentContextSlot), U8(5), | 44 B(StaCurrentContextSlot), U8(5), |
43 B(Star), R(6), | 45 B(Star), R(6), |
44 B(LdaImmutableCurrentContextSlot), U8(5), | 46 B(LdaImmutableCurrentContextSlot), U8(5), |
45 B(Star), R(7), | 47 B(Star), R(7), |
46 B(LdaZero), | 48 B(LdaZero), |
47 B(SuspendGenerator), R(7), | 49 B(SuspendGenerator), R(7), |
48 B(Ldar), R(6), | 50 B(Ldar), R(6), |
49 /* 16 S> */ B(Return), | 51 /* 16 S> */ B(Return), |
50 B(LdaSmi), I8(-2), | 52 B(LdaSmi), I8(-2), |
51 B(Star), R(1), | 53 B(Star), R(1), |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 B(Ldar), R(4), | 108 B(Ldar), R(4), |
107 /* 16 S> */ B(Return), | 109 /* 16 S> */ B(Return), |
108 B(Ldar), R(4), | 110 B(Ldar), R(4), |
109 /* 16 S> */ B(Return), | 111 /* 16 S> */ B(Return), |
110 B(Ldar), R(4), | 112 B(Ldar), R(4), |
111 B(ReThrow), | 113 B(ReThrow), |
112 B(LdaUndefined), | 114 B(LdaUndefined), |
113 /* 16 S> */ B(Return), | 115 /* 16 S> */ B(Return), |
114 ] | 116 ] |
115 constant pool: [ | 117 constant pool: [ |
| 118 ONE_BYTE_INTERNALIZED_STRING_TYPE [".generator_object"], |
116 ] | 119 ] |
117 handlers: [ | 120 handlers: [ |
118 [46, 143, 149], | 121 [46, 147, 153], |
119 ] | 122 ] |
120 | 123 |
121 --- | 124 --- |
122 snippet: " | 125 snippet: " |
123 function* f() { yield 42 } | 126 function* f() { yield 42 } |
124 f(); | 127 f(); |
125 " | 128 " |
126 frame size: 12 | 129 frame size: 12 |
127 parameter count: 1 | 130 parameter count: 1 |
128 bytecode array length: 299 | 131 bytecode array length: 303 |
129 bytecodes: [ | 132 bytecodes: [ |
130 B(Ldar), R(new_target), | 133 B(Ldar), R(new_target), |
131 B(JumpIfUndefined), U8(35), | 134 B(JumpIfUndefined), U8(35), |
132 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 135 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
133 B(PushContext), R(2), | 136 B(PushContext), R(2), |
134 B(ResumeGenerator), R(new_target), | 137 B(ResumeGenerator), R(new_target), |
135 B(Star), R(1), | 138 B(Star), R(1), |
136 B(LdaZero), | 139 B(LdaZero), |
137 B(TestEqualStrict), R(1), U8(0), | 140 B(TestEqualStrict), R(1), U8(0), |
138 B(JumpIfTrue), U8(60), | 141 B(JumpIfTrue), U8(64), |
139 B(LdaSmi), I8(1), | 142 B(LdaSmi), I8(1), |
140 B(TestEqualStrict), R(1), U8(0), | 143 B(TestEqualStrict), R(1), U8(0), |
141 B(JumpIfTrue), U8(130), | 144 B(JumpIfTrue), U8(134), |
142 B(LdaSmi), I8(78), | 145 B(LdaSmi), I8(78), |
143 B(Star), R(3), | 146 B(Star), R(3), |
144 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), | 147 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), |
145 B(LdaSmi), I8(-2), | 148 B(LdaSmi), I8(-2), |
146 B(Star), R(1), | 149 B(Star), R(1), |
147 B(CreateFunctionContext), U8(2), | 150 B(CreateFunctionContext), U8(2), |
148 B(PushContext), R(0), | 151 B(PushContext), R(0), |
149 B(Ldar), R(this), | 152 B(Ldar), R(this), |
150 B(StaCurrentContextSlot), U8(4), | 153 B(StaCurrentContextSlot), U8(4), |
151 /* 11 E> */ B(StackCheck), | 154 /* 11 E> */ B(StackCheck), |
152 B(Mov), R(context), R(5), | 155 B(Mov), R(context), R(5), |
| 156 B(LdaConstant), U8(0), |
| 157 B(Star), R(6), |
153 B(LdaImmutableCurrentContextSlot), U8(4), | 158 B(LdaImmutableCurrentContextSlot), U8(4), |
154 B(Star), R(7), | 159 B(Star), R(8), |
155 B(Mov), R(closure), R(6), | 160 B(Mov), R(closure), R(7), |
156 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8
(2), | 161 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8
(2), |
157 B(StaCurrentContextSlot), U8(5), | 162 B(StaCurrentContextSlot), U8(5), |
158 B(Star), R(6), | 163 B(Star), R(6), |
159 B(LdaImmutableCurrentContextSlot), U8(5), | 164 B(LdaImmutableCurrentContextSlot), U8(5), |
160 B(Star), R(7), | 165 B(Star), R(7), |
161 B(LdaZero), | 166 B(LdaZero), |
162 B(SuspendGenerator), R(7), | 167 B(SuspendGenerator), R(7), |
163 B(Ldar), R(6), | 168 B(Ldar), R(6), |
164 /* 25 S> */ B(Return), | 169 /* 25 S> */ B(Return), |
165 B(LdaSmi), I8(-2), | 170 B(LdaSmi), I8(-2), |
166 B(Star), R(1), | 171 B(Star), R(1), |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 B(Ldar), R(4), | 266 B(Ldar), R(4), |
262 /* 25 S> */ B(Return), | 267 /* 25 S> */ B(Return), |
263 B(Ldar), R(4), | 268 B(Ldar), R(4), |
264 /* 25 S> */ B(Return), | 269 /* 25 S> */ B(Return), |
265 B(Ldar), R(4), | 270 B(Ldar), R(4), |
266 B(ReThrow), | 271 B(ReThrow), |
267 B(LdaUndefined), | 272 B(LdaUndefined), |
268 /* 25 S> */ B(Return), | 273 /* 25 S> */ B(Return), |
269 ] | 274 ] |
270 constant pool: [ | 275 constant pool: [ |
| 276 ONE_BYTE_INTERNALIZED_STRING_TYPE [".generator_object"], |
271 ] | 277 ] |
272 handlers: [ | 278 handlers: [ |
273 [53, 228, 234], | 279 [53, 232, 238], |
274 ] | 280 ] |
275 | 281 |
276 --- | 282 --- |
277 snippet: " | 283 snippet: " |
278 function* f() { for (let x of [42]) yield x } | 284 function* f() { for (let x of [42]) yield x } |
279 f(); | 285 f(); |
280 " | 286 " |
281 frame size: 18 | 287 frame size: 18 |
282 parameter count: 1 | 288 parameter count: 1 |
283 bytecode array length: 775 | 289 bytecode array length: 823 |
284 bytecodes: [ | 290 bytecodes: [ |
285 B(Ldar), R(new_target), | 291 B(Ldar), R(new_target), |
286 B(JumpIfUndefined), U8(35), | 292 B(JumpIfUndefined), U8(35), |
287 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 293 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), |
288 B(PushContext), R(4), | 294 B(PushContext), R(4), |
289 B(ResumeGenerator), R(new_target), | 295 B(ResumeGenerator), R(new_target), |
290 B(Star), R(3), | 296 B(Star), R(3), |
291 B(LdaZero), | 297 B(LdaZero), |
292 B(TestEqualStrict), R(3), U8(0), | 298 B(TestEqualStrict), R(3), U8(0), |
293 B(JumpIfTrue), U8(60), | 299 B(JumpIfTrue), U8(64), |
294 B(LdaSmi), I8(1), | 300 B(LdaSmi), I8(1), |
295 B(TestEqualStrict), R(3), U8(0), | 301 B(TestEqualStrict), R(3), U8(0), |
296 B(JumpIfTrue), U8(154), | 302 B(JumpIfTrue), U8(166), |
297 B(LdaSmi), I8(78), | 303 B(LdaSmi), I8(78), |
298 B(Star), R(5), | 304 B(Star), R(5), |
299 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | 305 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), |
300 B(LdaSmi), I8(-2), | 306 B(LdaSmi), I8(-2), |
301 B(Star), R(3), | 307 B(Star), R(3), |
302 B(CreateFunctionContext), U8(9), | 308 B(CreateFunctionContext), U8(9), |
303 B(PushContext), R(0), | 309 B(PushContext), R(0), |
304 B(Ldar), R(this), | 310 B(Ldar), R(this), |
305 B(StaCurrentContextSlot), U8(4), | 311 B(StaCurrentContextSlot), U8(4), |
306 /* 11 E> */ B(StackCheck), | 312 /* 11 E> */ B(StackCheck), |
307 B(Mov), R(context), R(7), | 313 B(Mov), R(context), R(7), |
| 314 B(LdaConstant), U8(0), |
| 315 B(Star), R(8), |
308 B(LdaImmutableCurrentContextSlot), U8(4), | 316 B(LdaImmutableCurrentContextSlot), U8(4), |
309 B(Star), R(9), | 317 B(Star), R(10), |
310 B(Mov), R(closure), R(8), | 318 B(Mov), R(closure), R(9), |
311 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8
(2), | 319 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(9), U8
(2), |
312 B(StaCurrentContextSlot), U8(5), | 320 B(StaCurrentContextSlot), U8(5), |
313 B(Star), R(8), | 321 B(Star), R(8), |
314 B(LdaImmutableCurrentContextSlot), U8(5), | 322 B(LdaImmutableCurrentContextSlot), U8(5), |
315 B(Star), R(9), | 323 B(Star), R(9), |
316 B(LdaZero), | 324 B(LdaZero), |
317 B(SuspendGenerator), R(9), | 325 B(SuspendGenerator), R(9), |
318 B(Ldar), R(8), | 326 B(Ldar), R(8), |
319 /* 44 S> */ B(Return), | 327 /* 44 S> */ B(Return), |
320 B(LdaSmi), I8(-2), | 328 B(LdaSmi), I8(-2), |
321 B(Star), R(3), | 329 B(Star), R(3), |
322 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9
), U8(1), | 330 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9
), U8(1), |
323 B(Star), R(10), | 331 B(Star), R(10), |
324 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8
(1), | 332 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8
(1), |
325 B(Star), R(11), | 333 B(Star), R(11), |
326 B(LdaZero), | 334 B(LdaZero), |
327 B(TestEqualStrict), R(11), U8(0), | 335 B(TestEqualStrict), R(11), U8(0), |
328 B(JumpIfTrue), U8(31), | 336 B(JumpIfTrue), U8(31), |
329 B(LdaSmi), I8(2), | 337 B(LdaSmi), I8(2), |
330 B(TestEqualStrict), R(11), U8(0), | 338 B(TestEqualStrict), R(11), U8(0), |
331 B(JumpIfTrue), U8(21), | 339 B(JumpIfTrue), U8(21), |
332 B(Jump), U8(2), | 340 B(Jump), U8(2), |
333 B(LdaTrue), | 341 B(LdaTrue), |
334 B(Star), R(13), | 342 B(Star), R(13), |
335 B(Mov), R(10), R(12), | 343 B(Mov), R(10), R(12), |
336 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12)
, U8(2), | 344 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12)
, U8(2), |
337 B(Star), R(6), | 345 B(Star), R(6), |
338 B(LdaZero), | 346 B(LdaZero), |
339 B(Star), R(5), | 347 B(Star), R(5), |
340 B(JumpConstant), U8(13), | 348 B(JumpConstant), U8(18), |
341 B(Ldar), R(10), | 349 B(Ldar), R(10), |
342 /* 11 E> */ B(Throw), | 350 /* 11 E> */ B(Throw), |
343 B(Ldar), R(closure), | 351 B(Ldar), R(closure), |
344 B(CreateBlockContext), U8(0), | 352 B(CreateBlockContext), U8(1), |
345 B(PushContext), R(1), | 353 B(PushContext), R(1), |
346 B(LdaTheHole), | 354 B(LdaTheHole), |
347 B(StaCurrentContextSlot), U8(4), | 355 B(StaCurrentContextSlot), U8(4), |
| 356 B(LdaConstant), U8(2), |
| 357 B(Star), R(8), |
348 B(LdaZero), | 358 B(LdaZero), |
349 B(StaContextSlot), R(1), U8(9), U8(0), | 359 B(StaContextSlot), R(1), U8(9), U8(0), |
350 B(Mov), R(context), R(10), | 360 B(Mov), R(context), R(10), |
351 B(Mov), R(context), R(11), | 361 B(Mov), R(context), R(11), |
352 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(2), U8(9), | 362 /* 30 S> */ B(LdaConstant), U8(3), |
353 B(Star), R(12), | 363 B(Star), R(12), |
354 B(LdaNamedProperty), R(12), U8(2), U8(3), | 364 B(CreateArrayLiteral), U8(4), U8(6), U8(9), |
355 B(Star), R(13), | 365 B(Star), R(13), |
356 B(CallProperty), R(13), R(12), U8(1), U8(5), | 366 B(LdaNamedProperty), R(13), U8(5), U8(7), |
| 367 B(Star), R(14), |
| 368 B(CallProperty), R(14), R(13), U8(1), U8(9), |
357 B(JumpIfJSReceiver), U8(7), | 369 B(JumpIfJSReceiver), U8(7), |
358 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 370 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
359 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), | 371 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), |
360 B(LdaSmi), I8(-2), | 372 B(LdaSmi), I8(-2), |
361 B(TestEqual), R(3), U8(0), | 373 B(TestEqual), R(3), U8(0), |
362 B(JumpIfTrue), U8(18), | 374 B(JumpIfTrue), U8(18), |
363 B(LdaSmi), I8(1), | 375 B(LdaSmi), I8(1), |
364 B(TestEqualStrict), R(3), U8(0), | 376 B(TestEqualStrict), R(3), U8(0), |
365 B(JumpIfTrue), U8(134), | 377 B(JumpIfTrue), U8(154), |
366 B(LdaSmi), I8(78), | 378 B(LdaSmi), I8(78), |
367 B(Star), R(12), | 379 B(Star), R(12), |
368 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), | 380 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), |
369 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), | 381 /* 27 S> */ B(LdaConstant), U8(6), |
| 382 B(Star), R(12), |
| 383 B(LdaContextSlot), R(1), U8(7), U8(0), |
| 384 B(Star), R(14), |
| 385 B(LdaNamedProperty), R(14), U8(7), U8(15), |
370 B(Star), R(13), | 386 B(Star), R(13), |
371 B(LdaNamedProperty), R(13), U8(3), U8(9), | 387 /* 27 E> */ B(CallProperty), R(13), R(14), U8(1), U8(13), |
372 B(Star), R(12), | |
373 /* 27 E> */ B(CallProperty), R(12), R(13), U8(1), U8(7), | |
374 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), | 388 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), |
375 B(Star), R(12), | 389 B(Star), R(12), |
376 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), | 390 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), |
377 B(ToBooleanLogicalNot), | 391 B(ToBooleanLogicalNot), |
378 B(JumpIfFalse), U8(13), | 392 B(JumpIfFalse), U8(13), |
379 B(LdaContextSlot), R(1), U8(8), U8(0), | 393 B(LdaContextSlot), R(1), U8(8), U8(0), |
380 B(Star), R(12), | 394 B(Star), R(12), |
381 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(12), U8(1), | 395 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(12), U8(1), |
382 B(LdaContextSlot), R(1), U8(8), U8(0), | 396 B(LdaContextSlot), R(1), U8(8), U8(0), |
383 B(Star), R(12), | 397 B(Star), R(12), |
384 B(LdaNamedProperty), R(12), U8(4), U8(11), | 398 B(LdaNamedProperty), R(12), U8(8), U8(19), |
385 B(JumpIfToBooleanTrue), U8(147), | 399 B(JumpIfToBooleanTrue), U8(167), |
| 400 B(LdaConstant), U8(9), |
| 401 B(Star), R(12), |
| 402 B(LdaConstant), U8(2), |
| 403 B(Star), R(13), |
386 B(LdaContextSlot), R(1), U8(8), U8(0), | 404 B(LdaContextSlot), R(1), U8(8), U8(0), |
387 B(Star), R(12), | 405 B(Star), R(14), |
388 B(LdaNamedProperty), R(12), U8(5), U8(13), | 406 B(LdaNamedProperty), R(14), U8(10), U8(21), |
389 B(StaContextSlot), R(1), U8(10), U8(0), | 407 B(StaContextSlot), R(1), U8(10), U8(0), |
| 408 B(LdaConstant), U8(2), |
| 409 B(Star), R(13), |
390 B(LdaSmi), I8(2), | 410 B(LdaSmi), I8(2), |
391 B(StaContextSlot), R(1), U8(9), U8(0), | 411 B(StaContextSlot), R(1), U8(9), U8(0), |
392 B(LdaContextSlot), R(1), U8(10), U8(0), | 412 B(LdaContextSlot), R(1), U8(10), U8(0), |
393 B(StaContextSlot), R(1), U8(6), U8(0), | 413 B(StaContextSlot), R(1), U8(6), U8(0), |
394 /* 16 E> */ B(StackCheck), | 414 /* 16 E> */ B(StackCheck), |
395 B(Ldar), R(closure), | 415 B(Ldar), R(closure), |
396 B(CreateBlockContext), U8(6), | 416 B(CreateBlockContext), U8(11), |
397 B(PushContext), R(2), | 417 B(PushContext), R(2), |
398 B(LdaTheHole), | 418 B(LdaTheHole), |
399 B(StaCurrentContextSlot), U8(4), | 419 B(StaCurrentContextSlot), U8(4), |
| 420 B(LdaConstant), U8(12), |
| 421 B(Star), R(12), |
400 B(LdaContextSlot), R(1), U8(6), U8(0), | 422 B(LdaContextSlot), R(1), U8(6), U8(0), |
401 B(StaCurrentContextSlot), U8(4), | 423 B(StaCurrentContextSlot), U8(4), |
402 /* 36 S> */ B(LdaImmutableCurrentContextSlot), U8(4), | 424 /* 36 S> */ B(LdaImmutableCurrentContextSlot), U8(4), |
403 B(Star), R(12), | 425 B(Star), R(12), |
404 B(LdaFalse), | 426 B(LdaFalse), |
405 B(Star), R(13), | 427 B(Star), R(13), |
406 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12)
, U8(2), | 428 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12)
, U8(2), |
407 B(Star), R(12), | 429 B(Star), R(12), |
408 B(LdaImmutableContextSlot), R(1), U8(5), U8(0), | 430 B(LdaImmutableContextSlot), R(1), U8(5), U8(0), |
409 B(Star), R(13), | 431 B(Star), R(13), |
(...skipping 20 matching lines...) Expand all Loading... |
430 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16)
, U8(2), | 452 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16)
, U8(2), |
431 B(PopContext), R(2), | 453 B(PopContext), R(2), |
432 B(PopContext), R(2), | 454 B(PopContext), R(2), |
433 B(PopContext), R(2), | 455 B(PopContext), R(2), |
434 B(PopContext), R(2), | 456 B(PopContext), R(2), |
435 B(PopContext), R(2), | 457 B(PopContext), R(2), |
436 B(PopContext), R(2), | 458 B(PopContext), R(2), |
437 B(Star), R(9), | 459 B(Star), R(9), |
438 B(LdaZero), | 460 B(LdaZero), |
439 B(Star), R(8), | 461 B(Star), R(8), |
440 B(Jump), U8(71), | 462 B(Jump), U8(79), |
441 B(Ldar), R(14), | 463 B(Ldar), R(14), |
442 /* 36 E> */ B(Throw), | 464 /* 36 E> */ B(Throw), |
443 B(PopContext), R(2), | 465 B(PopContext), R(2), |
| 466 B(LdaConstant), U8(2), |
| 467 B(Star), R(12), |
444 B(LdaZero), | 468 B(LdaZero), |
445 B(StaContextSlot), R(1), U8(9), U8(0), | 469 B(StaContextSlot), R(1), U8(9), U8(0), |
446 B(JumpLoop), U8(218), I8(0), | 470 B(JumpLoop), U8(242), I8(0), |
447 B(Jump), U8(44), | 471 B(Jump), U8(48), |
448 B(Star), R(12), | 472 B(Star), R(12), |
449 B(Ldar), R(closure), | 473 B(Ldar), R(closure), |
450 B(CreateCatchContext), R(12), U8(7), U8(8), | 474 B(CreateCatchContext), R(12), U8(13), U8(14), |
451 B(Star), R(11), | 475 B(Star), R(11), |
452 B(PushContext), R(2), | 476 B(PushContext), R(2), |
453 B(LdaContextSlot), R(1), U8(9), U8(0), | 477 B(LdaContextSlot), R(1), U8(9), U8(0), |
454 B(Star), R(12), | 478 B(Star), R(12), |
455 B(LdaSmi), I8(2), | 479 B(LdaSmi), I8(2), |
456 B(TestEqualStrict), R(12), U8(15), | 480 B(TestEqualStrict), R(12), U8(33), |
457 B(JumpIfFalse), U8(8), | 481 B(JumpIfFalse), U8(12), |
| 482 B(LdaConstant), U8(2), |
| 483 B(Star), R(12), |
458 B(LdaSmi), I8(1), | 484 B(LdaSmi), I8(1), |
459 B(StaContextSlot), R(1), U8(9), U8(0), | 485 B(StaContextSlot), R(1), U8(9), U8(0), |
460 B(LdaImmutableCurrentContextSlot), U8(4), | 486 B(LdaImmutableCurrentContextSlot), U8(4), |
461 B(Star), R(12), | 487 B(Star), R(12), |
462 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), | 488 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), |
463 B(PopContext), R(2), | 489 B(PopContext), R(2), |
464 B(LdaSmi), I8(-1), | 490 B(LdaSmi), I8(-1), |
465 B(Star), R(8), | 491 B(Star), R(8), |
466 B(Jump), U8(8), | 492 B(Jump), U8(8), |
467 B(Star), R(9), | 493 B(Star), R(9), |
468 B(LdaSmi), I8(1), | 494 B(LdaSmi), I8(1), |
469 B(Star), R(8), | 495 B(Star), R(8), |
470 B(LdaTheHole), | 496 B(LdaTheHole), |
471 B(SetPendingMessage), | 497 B(SetPendingMessage), |
472 B(Star), R(10), | 498 B(Star), R(10), |
473 B(LdaContextSlot), R(1), U8(9), U8(0), | 499 B(LdaContextSlot), R(1), U8(9), U8(0), |
474 B(Star), R(11), | 500 B(Star), R(11), |
475 B(LdaZero), | 501 B(LdaZero), |
476 B(TestEqualStrict), R(11), U8(16), | 502 B(TestEqualStrict), R(11), U8(36), |
477 B(JumpIfTrue), U8(159), | 503 B(JumpIfTrue), U8(167), |
| 504 B(LdaConstant), U8(2), |
| 505 B(Star), R(11), |
478 B(LdaContextSlot), R(1), U8(7), U8(0), | 506 B(LdaContextSlot), R(1), U8(7), U8(0), |
479 B(Star), R(11), | 507 B(Star), R(12), |
480 B(LdaNamedProperty), R(11), U8(9), U8(17), | 508 B(LdaNamedProperty), R(12), U8(15), U8(37), |
481 B(StaContextSlot), R(1), U8(11), U8(0), | 509 B(StaContextSlot), R(1), U8(11), U8(0), |
482 B(LdaContextSlot), R(1), U8(11), U8(0), | 510 B(LdaContextSlot), R(1), U8(11), U8(0), |
483 B(Star), R(11), | 511 B(Star), R(11), |
484 B(TestUndetectable), R(11), | 512 B(TestUndetectable), R(11), |
485 B(JumpIfFalse), U8(4), | 513 B(JumpIfFalse), U8(4), |
486 B(Jump), U8(133), | 514 B(Jump), U8(137), |
487 B(LdaContextSlot), R(1), U8(9), U8(0), | 515 B(LdaContextSlot), R(1), U8(9), U8(0), |
488 B(Star), R(11), | 516 B(Star), R(11), |
489 B(LdaSmi), I8(1), | 517 B(LdaSmi), I8(1), |
490 B(TestEqualStrict), R(11), U8(20), | 518 B(TestEqualStrict), R(11), U8(42), |
491 B(JumpIfFalse), U8(75), | 519 B(JumpIfFalse), U8(75), |
492 B(LdaContextSlot), R(1), U8(11), U8(0), | 520 B(LdaContextSlot), R(1), U8(11), U8(0), |
493 B(TypeOf), | 521 B(TypeOf), |
494 B(Star), R(11), | 522 B(Star), R(11), |
495 B(LdaConstant), U8(10), | 523 B(LdaConstant), U8(16), |
496 B(TestEqualStrict), R(11), U8(21), | 524 B(TestEqualStrict), R(11), U8(43), |
497 B(JumpIfFalse), U8(4), | 525 B(JumpIfFalse), U8(4), |
498 B(Jump), U8(18), | 526 B(Jump), U8(18), |
499 B(Wide), B(LdaSmi), I16(130), | 527 B(Wide), B(LdaSmi), I16(130), |
500 B(Star), R(11), | 528 B(Star), R(11), |
501 B(LdaConstant), U8(11), | 529 B(LdaConstant), U8(2), |
502 B(Star), R(12), | 530 B(Star), R(12), |
503 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), | 531 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), |
504 B(Throw), | 532 B(Throw), |
505 B(Mov), R(context), R(11), | 533 B(Mov), R(context), R(11), |
506 B(LdaContextSlot), R(1), U8(11), U8(0), | 534 B(LdaContextSlot), R(1), U8(11), U8(0), |
507 B(Star), R(12), | 535 B(Star), R(12), |
508 B(LdaContextSlot), R(1), U8(7), U8(0), | 536 B(LdaContextSlot), R(1), U8(7), U8(0), |
509 B(Star), R(13), | 537 B(Star), R(13), |
510 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), | 538 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
511 B(Jump), U8(20), | 539 B(Jump), U8(20), |
512 B(Star), R(12), | 540 B(Star), R(12), |
513 B(Ldar), R(closure), | 541 B(Ldar), R(closure), |
514 B(CreateCatchContext), R(12), U8(7), U8(12), | 542 B(CreateCatchContext), R(12), U8(13), U8(17), |
515 B(Star), R(11), | 543 B(Star), R(11), |
516 B(LdaTheHole), | 544 B(LdaTheHole), |
517 B(SetPendingMessage), | 545 B(SetPendingMessage), |
518 B(Ldar), R(11), | 546 B(Ldar), R(11), |
519 B(PushContext), R(2), | 547 B(PushContext), R(2), |
520 B(PopContext), R(2), | 548 B(PopContext), R(2), |
521 B(Jump), U8(47), | 549 B(Jump), U8(51), |
| 550 B(LdaConstant), U8(2), |
| 551 B(Star), R(11), |
522 B(LdaContextSlot), R(1), U8(11), U8(0), | 552 B(LdaContextSlot), R(1), U8(11), U8(0), |
523 B(Star), R(11), | 553 B(Star), R(12), |
524 B(LdaContextSlot), R(1), U8(7), U8(0), | 554 B(LdaContextSlot), R(1), U8(7), U8(0), |
525 B(Star), R(12), | 555 B(Star), R(13), |
526 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), | 556 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
527 B(StaContextSlot), R(1), U8(12), U8(0), | 557 B(StaContextSlot), R(1), U8(12), U8(0), |
528 B(LdaContextSlot), R(1), U8(12), U8(0), | 558 B(LdaContextSlot), R(1), U8(12), U8(0), |
529 B(Star), R(11), | 559 B(Star), R(11), |
530 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), | 560 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), |
531 B(JumpIfToBooleanFalse), U8(4), | 561 B(JumpIfToBooleanFalse), U8(4), |
532 B(Jump), U8(13), | 562 B(Jump), U8(13), |
533 B(LdaContextSlot), R(1), U8(12), U8(0), | 563 B(LdaContextSlot), R(1), U8(12), U8(0), |
534 B(Star), R(11), | 564 B(Star), R(11), |
535 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(11), U8(1), | 565 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(11), U8(1), |
536 B(Ldar), R(10), | 566 B(Ldar), R(10), |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 B(Ldar), R(6), | 631 B(Ldar), R(6), |
602 B(ReThrow), | 632 B(ReThrow), |
603 B(Ldar), R(6), | 633 B(Ldar), R(6), |
604 /* 44 S> */ B(Return), | 634 /* 44 S> */ B(Return), |
605 B(Ldar), R(6), | 635 B(Ldar), R(6), |
606 B(ReThrow), | 636 B(ReThrow), |
607 B(LdaUndefined), | 637 B(LdaUndefined), |
608 /* 44 S> */ B(Return), | 638 /* 44 S> */ B(Return), |
609 ] | 639 ] |
610 constant pool: [ | 640 constant pool: [ |
| 641 ONE_BYTE_INTERNALIZED_STRING_TYPE [".generator_object"], |
611 FIXED_ARRAY_TYPE, | 642 FIXED_ARRAY_TYPE, |
| 643 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 644 ONE_BYTE_INTERNALIZED_STRING_TYPE [".iterator"], |
612 CONSTANT_ELEMENTS_PAIR_TYPE, | 645 CONSTANT_ELEMENTS_PAIR_TYPE, |
613 SYMBOL_TYPE, | 646 SYMBOL_TYPE, |
| 647 ONE_BYTE_INTERNALIZED_STRING_TYPE [".result"], |
614 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 648 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
615 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 649 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
| 650 ONE_BYTE_INTERNALIZED_STRING_TYPE [".for"], |
616 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 651 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
617 FIXED_ARRAY_TYPE, | 652 FIXED_ARRAY_TYPE, |
| 653 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
618 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 654 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
619 FIXED_ARRAY_TYPE, | 655 FIXED_ARRAY_TYPE, |
620 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 656 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
621 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 657 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
622 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | |
623 FIXED_ARRAY_TYPE, | 658 FIXED_ARRAY_TYPE, |
624 Smi [579], | 659 Smi [623], |
625 ] | 660 ] |
626 handlers: [ | 661 handlers: [ |
627 [53, 694, 700], | 662 [53, 742, 748], |
628 [149, 445, 451], | 663 [157, 485, 491], |
629 [152, 401, 403], | 664 [160, 437, 439], |
630 [547, 563, 565], | 665 [591, 607, 609], |
631 ] | 666 ] |
632 | 667 |
OLD | NEW |