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: no | 8 wrap: no |
9 test function name: f | 9 test function name: f |
10 ignition generators: yes | 10 ignition generators: yes |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 ] | 256 ] |
257 handlers: [ | 257 handlers: [ |
258 [44, 221, 227], | 258 [44, 221, 227], |
259 ] | 259 ] |
260 | 260 |
261 --- | 261 --- |
262 snippet: " | 262 snippet: " |
263 function* f() { for (let x of [42]) yield x } | 263 function* f() { for (let x of [42]) yield x } |
264 f(); | 264 f(); |
265 " | 265 " |
266 frame size: 17 | 266 frame size: 18 |
267 parameter count: 1 | 267 parameter count: 1 |
268 bytecode array length: 775 | 268 bytecode array length: 774 |
269 bytecodes: [ | 269 bytecodes: [ |
270 B(Ldar), R(new_target), | 270 B(Ldar), R(new_target), |
271 B(JumpIfUndefined), U8(26), | 271 B(JumpIfUndefined), U8(26), |
272 B(ResumeGenerator), R(new_target), | 272 B(ResumeGenerator), R(new_target), |
273 B(Star), R(3), | 273 B(Star), R(4), |
274 B(LdaZero), | 274 B(LdaZero), |
275 B(TestEqualStrict), R(3), | 275 B(TestEqualStrict), R(4), |
276 B(JumpIfTrue), U8(62), | 276 B(JumpIfTrue), U8(62), |
277 B(LdaSmi), U8(1), | 277 B(LdaSmi), U8(1), |
278 B(TestEqualStrict), R(3), | 278 B(TestEqualStrict), R(4), |
279 B(JumpIfTrueConstant), U8(3), | 279 B(JumpIfTrueConstant), U8(3), |
280 B(LdaSmi), U8(75), | 280 B(LdaSmi), U8(75), |
281 B(Star), R(4), | 281 B(Star), R(5), |
282 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), | 282 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), |
283 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), | 283 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U
8(1), |
284 B(PushContext), R(0), | 284 B(PushContext), R(0), |
285 B(Ldar), R(this), | 285 B(Ldar), R(this), |
286 B(StaContextSlot), R(context), U8(4), | 286 B(StaContextSlot), R(context), U8(4), |
287 /* 11 E> */ B(StackCheck), | 287 /* 11 E> */ B(StackCheck), |
288 B(Mov), R(context), R(6), | 288 B(Mov), R(context), R(7), |
289 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(8), | 289 /* 11 E> */ B(LdrContextSlot), R(context), U8(4), R(9), |
| 290 B(Ldar), R(9), |
| 291 B(Mov), R(closure), R(8), |
| 292 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8
(2), |
| 293 B(StaContextSlot), R(context), U8(5), |
| 294 B(Star), R(8), |
| 295 B(LdrContextSlot), R(context), U8(5), R(9), |
| 296 B(LdaZero), |
| 297 B(SuspendGenerator), R(9), |
290 B(Ldar), R(8), | 298 B(Ldar), R(8), |
291 B(Mov), R(closure), R(7), | |
292 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8
(2), | |
293 B(StaContextSlot), R(context), U8(5), | |
294 B(Star), R(7), | |
295 B(LdrContextSlot), R(context), U8(5), R(8), | |
296 B(LdaZero), | |
297 B(SuspendGenerator), R(8), | |
298 B(Ldar), R(7), | |
299 /* 44 S> */ B(Return), | 299 /* 44 S> */ B(Return), |
300 B(LdaSmi), U8(-2), | 300 B(LdaSmi), U8(-2), |
301 B(Star), R(3), | 301 B(Star), R(4), |
302 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(8
), U8(1), | 302 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9
), U8(1), |
303 B(Star), R(9), | |
304 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(8), U8
(1), | |
305 B(Star), R(10), | 303 B(Star), R(10), |
| 304 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8
(1), |
| 305 B(Star), R(11), |
306 B(LdaZero), | 306 B(LdaZero), |
307 B(TestEqualStrict), R(10), | 307 B(TestEqualStrict), R(11), |
308 B(JumpIfTrue), U8(31), | 308 B(JumpIfTrue), U8(31), |
309 B(LdaSmi), U8(2), | 309 B(LdaSmi), U8(2), |
310 B(TestEqualStrict), R(10), | 310 B(TestEqualStrict), R(11), |
311 B(JumpIfTrue), U8(22), | 311 B(JumpIfTrue), U8(22), |
312 B(Jump), U8(2), | 312 B(Jump), U8(2), |
313 B(LdaTrue), | 313 B(LdaTrue), |
314 B(Star), R(12), | 314 B(Star), R(13), |
315 B(Mov), R(9), R(11), | 315 B(Mov), R(10), R(12), |
316 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U
8(2), | 316 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U
8(2), |
| 317 B(Star), R(6), |
| 318 B(LdaZero), |
317 B(Star), R(5), | 319 B(Star), R(5), |
318 B(LdaZero), | |
319 B(Star), R(4), | |
320 B(JumpConstant), U8(16), | 320 B(JumpConstant), U8(16), |
321 B(Ldar), R(9), | 321 B(Ldar), R(10), |
322 /* 11 E> */ B(Throw), | 322 /* 11 E> */ B(Throw), |
323 B(LdaConstant), U8(0), | 323 B(LdaConstant), U8(0), |
324 B(Star), R(7), | 324 B(Star), R(8), |
325 B(Mov), R(closure), R(8), | 325 B(Mov), R(closure), R(9), |
326 B(CallRuntime), U16(Runtime::kPushBlockContext), R(7), U8(2), | 326 B(CallRuntime), U16(Runtime::kPushBlockContext), R(8), U8(2), |
327 B(PushContext), R(1), | 327 B(PushContext), R(1), |
328 B(LdaTheHole), | 328 B(LdaTheHole), |
329 B(StaContextSlot), R(context), U8(4), | 329 B(StaContextSlot), R(context), U8(4), |
330 B(LdaUndefined), | |
331 B(StaContextSlot), R(1), U8(10), | |
332 B(LdaZero), | 330 B(LdaZero), |
333 B(StaContextSlot), R(1), U8(9), | 331 B(StaContextSlot), R(1), U8(9), |
334 B(Mov), R(context), R(9), | |
335 B(Mov), R(context), R(10), | 332 B(Mov), R(context), R(10), |
| 333 B(Mov), R(context), R(11), |
336 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(3), | 334 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(3), |
337 B(Star), R(12), | 335 B(Star), R(13), |
338 B(LdaConstant), U8(2), | 336 B(LdaConstant), U8(2), |
339 /* 30 E> */ B(LdrKeyedProperty), R(12), U8(3), R(11), | 337 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12), |
340 /* 30 E> */ B(Call), R(11), R(12), U8(1), U8(1), | 338 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(1), |
341 /* 30 E> */ B(StaContextSlot), R(1), U8(7), | 339 /* 30 E> */ B(StaContextSlot), R(1), U8(7), |
342 B(LdaSmi), U8(-2), | 340 B(LdaSmi), U8(-2), |
343 B(TestEqual), R(3), | 341 B(TestEqual), R(4), |
344 B(JumpIfTrue), U8(17), | 342 B(JumpIfTrue), U8(17), |
345 B(LdaSmi), U8(1), | 343 B(LdaSmi), U8(1), |
346 B(TestEqualStrict), R(3), | 344 B(TestEqualStrict), R(4), |
347 B(JumpIfTrueConstant), U8(9), | 345 B(JumpIfTrueConstant), U8(9), |
348 B(LdaSmi), U8(75), | 346 B(LdaSmi), U8(75), |
349 B(Star), R(11), | 347 B(Star), R(12), |
350 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), | 348 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), |
351 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(13), | 349 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(14), |
352 B(LdrNamedProperty), R(13), U8(4), U8(7), R(12), | 350 B(LdrNamedProperty), R(14), U8(4), U8(7), R(13), |
353 /* 27 E> */ B(Call), R(12), R(13), U8(1), U8(5), | 351 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(5), |
354 /* 27 E> */ B(StaContextSlot), R(1), U8(8), | 352 /* 27 E> */ B(StaContextSlot), R(1), U8(8), |
355 B(Star), R(11), | 353 B(Star), R(12), |
356 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), | 354 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), |
357 B(ToBooleanLogicalNot), | 355 B(ToBooleanLogicalNot), |
358 B(JumpIfFalse), U8(11), | 356 B(JumpIfFalse), U8(11), |
359 B(LdrContextSlot), R(1), U8(8), R(11), | 357 B(LdrContextSlot), R(1), U8(8), R(12), |
360 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(11), U8(1), | 358 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(12), U8(1), |
361 B(LdrContextSlot), R(1), U8(8), R(11), | 359 B(LdrContextSlot), R(1), U8(8), R(12), |
362 B(LdaNamedProperty), R(11), U8(5), U8(9), | 360 B(LdaNamedProperty), R(12), U8(5), U8(9), |
363 B(JumpIfToBooleanTrueConstant), U8(10), | 361 B(JumpIfToBooleanTrueConstant), U8(10), |
| 362 B(LdrContextSlot), R(1), U8(8), R(12), |
| 363 B(LdaNamedProperty), R(12), U8(6), U8(11), |
| 364 B(StaContextSlot), R(1), U8(10), |
364 B(LdaSmi), U8(2), | 365 B(LdaSmi), U8(2), |
365 B(StaContextSlot), R(1), U8(9), | 366 B(StaContextSlot), R(1), U8(9), |
366 B(LdrContextSlot), R(1), U8(8), R(11), | 367 B(LdaContextSlot), R(1), U8(10), |
367 B(LdaNamedProperty), R(11), U8(6), U8(11), | |
368 B(StaContextSlot), R(1), U8(6), | 368 B(StaContextSlot), R(1), U8(6), |
369 B(LdaContextSlot), R(1), U8(10), | |
370 /* 16 E> */ B(StackCheck), | 369 /* 16 E> */ B(StackCheck), |
371 B(LdaConstant), U8(7), | 370 B(LdaConstant), U8(7), |
372 B(Star), R(11), | 371 B(Star), R(12), |
373 B(Mov), R(closure), R(12), | 372 B(Mov), R(closure), R(13), |
374 B(CallRuntime), U16(Runtime::kPushBlockContext), R(11), U8(2), | 373 B(CallRuntime), U16(Runtime::kPushBlockContext), R(12), U8(2), |
375 B(PushContext), R(2), | 374 B(PushContext), R(2), |
376 B(LdaTheHole), | 375 B(LdaTheHole), |
377 B(StaContextSlot), R(context), U8(4), | 376 B(StaContextSlot), R(context), U8(4), |
378 B(LdaContextSlot), R(1), U8(6), | 377 B(LdaContextSlot), R(1), U8(6), |
379 B(StaContextSlot), R(context), U8(4), | 378 B(StaContextSlot), R(context), U8(4), |
380 /* 36 S> */ B(LdaContextSlot), R(context), U8(4), | 379 /* 36 S> */ B(LdaContextSlot), R(context), U8(4), |
381 B(JumpIfNotHole), U8(11), | 380 B(JumpIfNotHole), U8(11), |
382 B(LdaConstant), U8(8), | 381 B(LdaConstant), U8(8), |
| 382 B(Star), R(13), |
| 383 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(13), U8(1)
, |
383 B(Star), R(12), | 384 B(Star), R(12), |
384 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(12), U8(1)
, | |
385 B(Star), R(11), | |
386 B(LdaFalse), | 385 B(LdaFalse), |
387 B(Star), R(12), | |
388 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U
8(2), | |
389 B(Star), R(13), | 386 B(Star), R(13), |
390 B(LdrContextSlot), R(1), U8(5), R(11), | 387 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U
8(2), |
| 388 B(Star), R(14), |
| 389 B(LdrContextSlot), R(1), U8(5), R(12), |
391 B(LdaSmi), U8(1), | 390 B(LdaSmi), U8(1), |
392 B(SuspendGenerator), R(11), | 391 B(SuspendGenerator), R(12), |
393 B(Ldar), R(13), | 392 B(Ldar), R(14), |
394 /* 44 S> */ B(Return), | 393 /* 44 S> */ B(Return), |
395 B(LdaSmi), U8(-2), | 394 B(LdaSmi), U8(-2), |
396 B(Star), R(3), | 395 B(Star), R(4), |
397 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1
1), U8(1), | 396 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1
2), U8(1), |
398 B(Star), R(12), | 397 B(Star), R(13), |
399 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(11), U
8(1), | 398 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U
8(1), |
400 B(Star), R(14), | 399 B(Star), R(15), |
401 B(LdaZero), | 400 B(LdaZero), |
402 B(TestEqualStrict), R(14), | 401 B(TestEqualStrict), R(15), |
403 B(JumpIfTrue), U8(45), | 402 B(JumpIfTrue), U8(45), |
404 B(LdaSmi), U8(2), | 403 B(LdaSmi), U8(2), |
405 B(TestEqualStrict), R(14), | 404 B(TestEqualStrict), R(15), |
406 B(JumpIfTrue), U8(36), | 405 B(JumpIfTrue), U8(36), |
407 B(Jump), U8(2), | 406 B(Jump), U8(2), |
408 B(LdaTrue), | 407 B(LdaTrue), |
409 B(Star), R(16), | 408 B(Star), R(17), |
410 B(Mov), R(12), R(15), | 409 B(Mov), R(13), R(16), |
411 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(15), U
8(2), | 410 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U
8(2), |
412 B(PopContext), R(2), | 411 B(PopContext), R(2), |
413 B(PopContext), R(2), | 412 B(PopContext), R(2), |
414 B(PopContext), R(2), | 413 B(PopContext), R(2), |
415 B(PopContext), R(2), | 414 B(PopContext), R(2), |
416 B(PopContext), R(2), | 415 B(PopContext), R(2), |
417 B(PopContext), R(2), | 416 B(PopContext), R(2), |
418 B(PopContext), R(2), | 417 B(PopContext), R(2), |
| 418 B(Star), R(9), |
| 419 B(LdaZero), |
419 B(Star), R(8), | 420 B(Star), R(8), |
420 B(LdaZero), | |
421 B(Star), R(7), | |
422 B(Jump), U8(75), | 421 B(Jump), U8(75), |
423 B(Ldar), R(12), | 422 B(Ldar), R(13), |
424 /* 36 E> */ B(Throw), | 423 /* 36 E> */ B(Throw), |
425 B(Ldar), R(12), | 424 B(Ldar), R(13), |
426 B(PopContext), R(2), | 425 B(PopContext), R(2), |
427 B(LdaZero), | 426 B(LdaZero), |
428 B(StaContextSlot), R(1), U8(9), | 427 B(StaContextSlot), R(1), U8(9), |
429 B(Wide), B(Jump), U16(-222), | 428 B(Wide), B(Jump), U16(-225), |
430 B(Jump), U8(46), | 429 B(Jump), U8(46), |
| 430 B(Star), R(13), |
| 431 B(LdaConstant), U8(11), |
431 B(Star), R(12), | 432 B(Star), R(12), |
432 B(LdaConstant), U8(11), | 433 B(Mov), R(closure), R(14), |
| 434 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), |
433 B(Star), R(11), | 435 B(Star), R(11), |
434 B(Mov), R(closure), R(13), | |
435 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3), | |
436 B(Star), R(10), | |
437 B(PushContext), R(2), | 436 B(PushContext), R(2), |
438 B(LdrContextSlot), R(1), U8(9), R(11), | 437 B(LdrContextSlot), R(0), U8(9), R(12), |
439 B(LdaSmi), U8(2), | 438 B(LdaSmi), U8(2), |
440 B(TestEqualStrict), R(11), | 439 B(TestEqualStrict), R(12), |
441 B(JumpIfFalse), U8(7), | 440 B(JumpIfFalse), U8(7), |
442 B(LdaSmi), U8(1), | 441 B(LdaSmi), U8(1), |
443 B(StaContextSlot), R(1), U8(9), | 442 B(StaContextSlot), R(0), U8(9), |
444 B(LdrContextSlot), R(context), U8(4), R(11), | 443 B(LdrContextSlot), R(context), U8(4), R(12), |
445 B(CallRuntime), U16(Runtime::kReThrow), R(11), U8(1), | 444 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), |
446 B(PopContext), R(2), | 445 B(PopContext), R(2), |
447 B(LdaSmi), U8(-1), | 446 B(LdaSmi), U8(-1), |
448 B(Star), R(7), | 447 B(Star), R(8), |
449 B(Jump), U8(8), | 448 B(Jump), U8(8), |
| 449 B(Star), R(9), |
| 450 B(LdaSmi), U8(1), |
450 B(Star), R(8), | 451 B(Star), R(8), |
451 B(LdaSmi), U8(1), | |
452 B(Star), R(7), | |
453 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 452 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
454 B(Star), R(9), | 453 B(Star), R(10), |
455 B(LdrContextSlot), R(1), U8(9), R(10), | 454 B(LdrContextSlot), R(1), U8(9), R(11), |
456 B(LdaZero), | 455 B(LdaZero), |
457 B(TestEqualStrict), R(10), | 456 B(TestEqualStrict), R(11), |
458 B(JumpIfTrue), U8(9), | 457 B(JumpIfTrue), U8(9), |
459 B(LdrContextSlot), R(1), U8(7), R(10), | 458 B(LdrContextSlot), R(1), U8(7), R(11), |
460 B(LdaUndefined), | 459 B(LdaUndefined), |
461 B(TestEqualStrict), R(10), | 460 B(TestEqualStrict), R(11), |
462 B(ToBooleanLogicalNot), | 461 B(ToBooleanLogicalNot), |
463 B(JumpIfFalseConstant), U8(15), | 462 B(JumpIfFalseConstant), U8(15), |
464 B(LdrContextSlot), R(1), U8(7), R(10), | 463 B(LdrContextSlot), R(1), U8(7), R(11), |
465 B(LdaNamedProperty), R(10), U8(12), U8(13), | 464 B(LdaNamedProperty), R(11), U8(12), U8(13), |
466 B(StaContextSlot), R(1), U8(11), | 465 B(StaContextSlot), R(1), U8(11), |
467 B(LdrContextSlot), R(1), U8(11), R(10), | 466 B(LdrContextSlot), R(1), U8(11), R(11), |
468 B(LdaNull), | 467 B(LdaNull), |
469 B(TestEqual), R(10), | 468 B(TestEqual), R(11), |
470 B(JumpIfFalse), U8(4), | 469 B(JumpIfFalse), U8(4), |
471 B(Jump), U8(124), | 470 B(Jump), U8(124), |
472 B(LdrContextSlot), R(1), U8(9), R(10), | 471 B(LdrContextSlot), R(1), U8(9), R(11), |
473 B(LdaSmi), U8(1), | 472 B(LdaSmi), U8(1), |
474 B(TestEqualStrict), R(10), | 473 B(TestEqualStrict), R(11), |
475 B(JumpIfFalse), U8(78), | 474 B(JumpIfFalse), U8(78), |
476 B(LdaContextSlot), R(1), U8(11), | 475 B(LdaContextSlot), R(1), U8(11), |
477 B(TypeOf), | 476 B(TypeOf), |
478 B(Star), R(10), | 477 B(Star), R(11), |
479 B(LdaConstant), U8(13), | 478 B(LdaConstant), U8(13), |
480 B(TestEqualStrict), R(10), | 479 B(TestEqualStrict), R(11), |
481 B(JumpIfFalse), U8(4), | 480 B(JumpIfFalse), U8(4), |
482 B(Jump), U8(18), | 481 B(Jump), U8(18), |
483 B(Wide), B(LdaSmi), U16(129), | 482 B(Wide), B(LdaSmi), U16(129), |
484 B(Star), R(10), | 483 B(Star), R(11), |
485 B(LdaConstant), U8(14), | 484 B(LdaConstant), U8(14), |
| 485 B(Star), R(12), |
| 486 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), |
| 487 B(Throw), |
| 488 B(Mov), R(context), R(11), |
| 489 B(LdrContextSlot), R(1), U8(11), R(12), |
| 490 B(LdrContextSlot), R(1), U8(7), R(13), |
| 491 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
| 492 B(Jump), U8(29), |
| 493 B(Star), R(13), |
| 494 B(LdaConstant), U8(11), |
| 495 B(Star), R(12), |
| 496 B(Mov), R(closure), R(14), |
| 497 B(CallRuntime), U16(Runtime::kPushCatchContext), R(12), U8(3), |
486 B(Star), R(11), | 498 B(Star), R(11), |
487 B(CallRuntime), U16(Runtime::kNewTypeError), R(10), U8(2), | 499 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
488 B(Throw), | 500 B(Ldar), R(11), |
489 B(Mov), R(context), R(10), | 501 B(PushContext), R(2), |
| 502 B(PopContext), R(2), |
| 503 B(Jump), U8(38), |
490 B(LdrContextSlot), R(1), U8(11), R(11), | 504 B(LdrContextSlot), R(1), U8(11), R(11), |
491 B(LdrContextSlot), R(1), U8(7), R(12), | 505 B(LdrContextSlot), R(1), U8(7), R(12), |
492 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), | 506 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), |
493 B(Jump), U8(29), | |
494 B(Star), R(12), | |
495 B(LdaConstant), U8(11), | |
496 B(Star), R(11), | |
497 B(Mov), R(closure), R(13), | |
498 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3), | |
499 B(Star), R(10), | |
500 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | |
501 B(Ldar), R(10), | |
502 B(PushContext), R(2), | |
503 B(PopContext), R(2), | |
504 B(Jump), U8(38), | |
505 B(LdrContextSlot), R(1), U8(11), R(10), | |
506 B(LdrContextSlot), R(1), U8(7), R(11), | |
507 B(InvokeIntrinsic), U8(Runtime::k_Call), R(10), U8(2), | |
508 B(StaContextSlot), R(1), U8(12), | 507 B(StaContextSlot), R(1), U8(12), |
509 B(LdrContextSlot), R(1), U8(12), R(10), | 508 B(LdrContextSlot), R(1), U8(12), R(11), |
510 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), | 509 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), |
511 B(JumpIfToBooleanFalse), U8(4), | 510 B(JumpIfToBooleanFalse), U8(4), |
512 B(Jump), U8(11), | 511 B(Jump), U8(11), |
513 B(LdrContextSlot), R(1), U8(12), R(10), | 512 B(LdrContextSlot), R(1), U8(12), R(11), |
514 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(10), U8(1), | 513 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(11), U8(1), |
515 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(9
), U8(1), | 514 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(1
0), U8(1), |
516 B(LdaZero), | 515 B(LdaZero), |
517 B(TestEqualStrict), R(7), | 516 B(TestEqualStrict), R(8), |
518 B(JumpIfTrue), U8(10), | 517 B(JumpIfTrue), U8(10), |
519 B(LdaSmi), U8(1), | 518 B(LdaSmi), U8(1), |
520 B(TestEqualStrict), R(7), | 519 B(TestEqualStrict), R(8), |
521 B(JumpIfTrue), U8(17), | 520 B(JumpIfTrue), U8(17), |
522 B(Jump), U8(28), | 521 B(Jump), U8(28), |
523 B(PopContext), R(1), | 522 B(PopContext), R(1), |
524 B(PopContext), R(1), | 523 B(PopContext), R(1), |
525 B(LdaSmi), U8(1), | 524 B(LdaSmi), U8(1), |
526 B(Star), R(4), | 525 B(Star), R(5), |
527 B(Mov), R(8), R(5), | 526 B(Mov), R(9), R(6), |
528 B(Jump), U8(47), | 527 B(Jump), U8(47), |
529 B(PopContext), R(1), | 528 B(PopContext), R(1), |
530 B(PopContext), R(1), | 529 B(PopContext), R(1), |
531 B(LdaSmi), U8(2), | 530 B(LdaSmi), U8(2), |
532 B(Star), R(4), | 531 B(Star), R(5), |
533 B(Mov), R(8), R(5), | 532 B(Mov), R(9), R(6), |
534 B(Jump), U8(34), | 533 B(Jump), U8(34), |
535 B(PopContext), R(1), | 534 B(PopContext), R(1), |
536 B(LdrUndefined), R(7), | 535 B(LdrUndefined), R(8), |
537 B(LdaTrue), | 536 B(LdaTrue), |
538 B(Star), R(8), | 537 B(Star), R(9), |
539 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8
(2), | 538 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(8), U8
(2), |
| 539 B(Star), R(6), |
| 540 B(LdaSmi), U8(3), |
540 B(Star), R(5), | 541 B(Star), R(5), |
541 B(LdaSmi), U8(3), | |
542 B(Star), R(4), | |
543 B(Jump), U8(14), | 542 B(Jump), U8(14), |
544 B(LdaSmi), U8(-1), | 543 B(LdaSmi), U8(-1), |
545 B(Star), R(4), | 544 B(Star), R(5), |
546 B(Jump), U8(8), | 545 B(Jump), U8(8), |
| 546 B(Star), R(6), |
| 547 B(LdaSmi), U8(4), |
547 B(Star), R(5), | 548 B(Star), R(5), |
548 B(LdaSmi), U8(4), | |
549 B(Star), R(4), | |
550 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), | 549 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R
(0), U8(0), |
551 B(Star), R(6), | 550 B(Star), R(7), |
552 B(LdrContextSlot), R(context), U8(5), R(7), | 551 B(LdrContextSlot), R(context), U8(5), R(8), |
553 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(7), U8(1), | 552 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1), |
554 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(6
), U8(1), | 553 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(7
), U8(1), |
555 B(LdaZero), | 554 B(LdaZero), |
556 B(TestEqualStrict), R(4), | 555 B(TestEqualStrict), R(5), |
557 B(JumpIfTrue), U8(28), | 556 B(JumpIfTrue), U8(28), |
558 B(LdaSmi), U8(1), | 557 B(LdaSmi), U8(1), |
559 B(TestEqualStrict), R(4), | 558 B(TestEqualStrict), R(5), |
560 B(JumpIfTrue), U8(25), | 559 B(JumpIfTrue), U8(25), |
561 B(LdaSmi), U8(2), | 560 B(LdaSmi), U8(2), |
562 B(TestEqualStrict), R(4), | 561 B(TestEqualStrict), R(5), |
563 B(JumpIfTrue), U8(22), | 562 B(JumpIfTrue), U8(22), |
564 B(LdaSmi), U8(3), | 563 B(LdaSmi), U8(3), |
565 B(TestEqualStrict), R(4), | 564 B(TestEqualStrict), R(5), |
566 B(JumpIfTrue), U8(19), | 565 B(JumpIfTrue), U8(19), |
567 B(LdaSmi), U8(4), | 566 B(LdaSmi), U8(4), |
568 B(TestEqualStrict), R(4), | 567 B(TestEqualStrict), R(5), |
569 B(JumpIfTrue), U8(16), | 568 B(JumpIfTrue), U8(16), |
570 B(Jump), U8(17), | 569 B(Jump), U8(17), |
571 B(Ldar), R(5), | 570 B(Ldar), R(6), |
572 /* 44 S> */ B(Return), | 571 /* 44 S> */ B(Return), |
573 B(Ldar), R(5), | 572 B(Ldar), R(6), |
574 /* 44 S> */ B(Return), | 573 /* 44 S> */ B(Return), |
575 B(Ldar), R(5), | 574 B(Ldar), R(6), |
576 B(ReThrow), | 575 B(ReThrow), |
577 B(Ldar), R(5), | 576 B(Ldar), R(6), |
578 /* 44 S> */ B(Return), | 577 /* 44 S> */ B(Return), |
579 B(Ldar), R(5), | 578 B(Ldar), R(6), |
580 B(ReThrow), | 579 B(ReThrow), |
581 B(LdaUndefined), | 580 B(LdaUndefined), |
582 /* 44 S> */ B(Return), | 581 /* 44 S> */ B(Return), |
583 ] | 582 ] |
584 constant pool: [ | 583 constant pool: [ |
585 InstanceType::FIXED_ARRAY_TYPE, | 584 InstanceType::FIXED_ARRAY_TYPE, |
586 InstanceType::FIXED_ARRAY_TYPE, | 585 InstanceType::FIXED_ARRAY_TYPE, |
587 InstanceType::SYMBOL_TYPE, | 586 InstanceType::SYMBOL_TYPE, |
588 kInstanceTypeDontCare, | 587 kInstanceTypeDontCare, |
589 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 588 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
590 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 589 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
591 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 590 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
592 InstanceType::FIXED_ARRAY_TYPE, | 591 InstanceType::FIXED_ARRAY_TYPE, |
593 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 592 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
594 kInstanceTypeDontCare, | 593 kInstanceTypeDontCare, |
595 kInstanceTypeDontCare, | 594 kInstanceTypeDontCare, |
596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 595 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
597 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
598 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 597 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
599 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, | 598 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
600 kInstanceTypeDontCare, | 599 kInstanceTypeDontCare, |
601 kInstanceTypeDontCare, | 600 kInstanceTypeDontCare, |
602 ] | 601 ] |
603 handlers: [ | 602 handlers: [ |
604 [44, 694, 700], | 603 [44, 693, 699], |
605 [154, 448, 454], | 604 [150, 447, 453], |
606 [157, 402, 404], | 605 [153, 401, 403], |
607 [551, 563, 565], | 606 [550, 562, 564], |
608 ] | 607 ] |
609 | 608 |
OLD | NEW |