Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/Generators.golden

Issue 2519333005: Revert of [parser] Fix scopes in rewriting of for-of and destructuring assignments. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | test/mjsunit/regress/regress-5648.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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: "
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 ] 268 ]
269 handlers: [ 269 handlers: [
270 [46, 225, 231], 270 [46, 225, 231],
271 ] 271 ]
272 272
273 --- 273 ---
274 snippet: " 274 snippet: "
275 function* f() { for (let x of [42]) yield x } 275 function* f() { for (let x of [42]) yield x }
276 f(); 276 f();
277 " 277 "
278 frame size: 17 278 frame size: 18
279 parameter count: 1 279 parameter count: 1
280 bytecode array length: 783 280 bytecode array length: 783
281 bytecodes: [ 281 bytecodes: [
282 B(Ldar), R(new_target), 282 B(Ldar), R(new_target),
283 B(JumpIfUndefined), U8(28), 283 B(JumpIfUndefined), U8(28),
284 B(ResumeGenerator), R(new_target), 284 B(ResumeGenerator), R(new_target),
285 B(Star), R(3), 285 B(Star), R(4),
286 B(LdaZero), 286 B(LdaZero),
287 B(TestEqualStrict), R(3), U8(0), 287 B(TestEqualStrict), R(4), U8(0),
288 B(JumpIfTrue), U8(60), 288 B(JumpIfTrue), U8(60),
289 B(LdaSmi), U8(1), 289 B(LdaSmi), U8(1),
290 B(TestEqualStrict), R(3), U8(0), 290 B(TestEqualStrict), R(4), U8(0),
291 B(JumpIfTrueConstant), U8(3), 291 B(JumpIfTrueConstant), U8(3),
292 B(LdaSmi), U8(77), 292 B(LdaSmi), U8(77),
293 B(Star), R(5),
294 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
295 B(LdaSmi), U8(-2),
293 B(Star), R(4), 296 B(Star), R(4),
294 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
295 B(LdaSmi), U8(-2),
296 B(Star), R(3),
297 B(CreateFunctionContext), U8(9), 297 B(CreateFunctionContext), U8(9),
298 B(PushContext), R(0), 298 B(PushContext), R(0),
299 B(Ldar), R(this), 299 B(Ldar), R(this),
300 B(StaCurrentContextSlot), U8(4), 300 B(StaCurrentContextSlot), U8(4),
301 /* 11 E> */ B(StackCheck), 301 /* 11 E> */ B(StackCheck),
302 B(Mov), R(context), R(6), 302 B(Mov), R(context), R(7),
303 B(LdaCurrentContextSlot), U8(4), 303 B(LdaCurrentContextSlot), U8(4),
304 B(Star), R(9),
305 B(Mov), R(closure), R(8),
306 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8 (2),
307 B(StaCurrentContextSlot), U8(5),
304 B(Star), R(8), 308 B(Star), R(8),
305 B(Mov), R(closure), R(7),
306 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8 (2),
307 B(StaCurrentContextSlot), U8(5),
308 B(Star), R(7),
309 B(LdaCurrentContextSlot), U8(5), 309 B(LdaCurrentContextSlot), U8(5),
310 B(Star), R(8), 310 B(Star), R(9),
311 B(LdaZero), 311 B(LdaZero),
312 B(SuspendGenerator), R(8), 312 B(SuspendGenerator), R(9),
313 B(Ldar), R(7), 313 B(Ldar), R(8),
314 /* 44 S> */ B(Return), 314 /* 44 S> */ B(Return),
315 B(LdaSmi), U8(-2), 315 B(LdaSmi), U8(-2),
316 B(Star), R(3), 316 B(Star), R(4),
317 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(8 ), U8(1), 317 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9 ), U8(1),
318 B(Star), R(9),
319 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(8), U8 (1),
320 B(Star), R(10), 318 B(Star), R(10),
319 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8 (1),
320 B(Star), R(11),
321 B(LdaZero), 321 B(LdaZero),
322 B(TestEqualStrict), R(10), U8(0), 322 B(TestEqualStrict), R(11), U8(0),
323 B(JumpIfTrue), U8(32), 323 B(JumpIfTrue), U8(32),
324 B(LdaSmi), U8(2), 324 B(LdaSmi), U8(2),
325 B(TestEqualStrict), R(10), U8(0), 325 B(TestEqualStrict), R(11), U8(0),
326 B(JumpIfTrue), U8(22), 326 B(JumpIfTrue), U8(22),
327 B(Jump), U8(2), 327 B(Jump), U8(2),
328 B(LdaTrue), 328 B(LdaTrue),
329 B(Star), R(12), 329 B(Star), R(13),
330 B(Mov), R(9), R(11), 330 B(Mov), R(10), R(12),
331 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U 8(2), 331 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U 8(2),
332 B(Star), R(6),
333 B(LdaZero),
332 B(Star), R(5), 334 B(Star), R(5),
333 B(LdaZero),
334 B(Star), R(4),
335 B(JumpConstant), U8(19), 335 B(JumpConstant), U8(19),
336 B(Ldar), R(9), 336 B(Ldar), R(10),
337 /* 11 E> */ B(Throw), 337 /* 11 E> */ B(Throw),
338 B(Ldar), R(closure), 338 B(Ldar), R(closure),
339 B(CreateBlockContext), U8(0), 339 B(CreateBlockContext), U8(0),
340 B(PushContext), R(1), 340 B(PushContext), R(1),
341 B(LdaTheHole), 341 B(LdaTheHole),
342 B(StaCurrentContextSlot), U8(4), 342 B(StaCurrentContextSlot), U8(4),
343 B(LdaZero), 343 B(LdaZero),
344 B(StaContextSlot), R(1), U8(9), U8(0), 344 B(StaContextSlot), R(1), U8(9), U8(0),
345 B(Mov), R(context), R(9),
346 B(Mov), R(context), R(10), 345 B(Mov), R(context), R(10),
346 B(Mov), R(context), R(11),
347 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(9), 347 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(9),
348 B(Star), R(13),
349 B(LdaConstant), U8(2),
350 /* 30 E> */ B(LdaKeyedProperty), R(13), U8(4),
348 B(Star), R(12), 351 B(Star), R(12),
349 B(LdaConstant), U8(2), 352 /* 30 E> */ B(CallProperty), R(12), R(13), U8(1), U8(2),
350 /* 30 E> */ B(LdaKeyedProperty), R(12), U8(4),
351 B(Star), R(11),
352 /* 30 E> */ B(CallProperty), R(11), R(12), U8(1), U8(2),
353 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), 353 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
354 B(LdaSmi), U8(-2), 354 B(LdaSmi), U8(-2),
355 B(TestEqual), R(3), U8(0), 355 B(TestEqual), R(4), U8(0),
356 B(JumpIfTrue), U8(18), 356 B(JumpIfTrue), U8(18),
357 B(LdaSmi), U8(1), 357 B(LdaSmi), U8(1),
358 B(TestEqualStrict), R(3), U8(0), 358 B(TestEqualStrict), R(4), U8(0),
359 B(JumpIfTrueConstant), U8(8), 359 B(JumpIfTrueConstant), U8(8),
360 B(LdaSmi), U8(77), 360 B(LdaSmi), U8(77),
361 B(Star), R(11), 361 B(Star), R(12),
362 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), 362 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
363 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), 363 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0),
364 B(Star), R(14),
365 B(LdaNamedProperty), R(14), U8(4), U8(8),
364 B(Star), R(13), 366 B(Star), R(13),
365 B(LdaNamedProperty), R(13), U8(4), U8(8), 367 /* 27 E> */ B(CallProperty), R(13), R(14), U8(1), U8(6),
368 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0),
366 B(Star), R(12), 369 B(Star), R(12),
367 /* 27 E> */ B(CallProperty), R(12), R(13), U8(1), U8(6), 370 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
368 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0),
369 B(Star), R(11),
370 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1),
371 B(ToBooleanLogicalNot), 371 B(ToBooleanLogicalNot),
372 B(JumpIfFalse), U8(13), 372 B(JumpIfFalse), U8(13),
373 B(LdaContextSlot), R(1), U8(8), U8(0), 373 B(LdaContextSlot), R(1), U8(8), U8(0),
374 B(Star), R(11), 374 B(Star), R(12),
375 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1), 375 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1),
376 B(LdaContextSlot), R(1), U8(8), U8(0), 376 B(LdaContextSlot), R(1), U8(8), U8(0),
377 B(Star), R(11), 377 B(Star), R(12),
378 B(LdaNamedProperty), R(11), U8(5), U8(10), 378 B(LdaNamedProperty), R(12), U8(5), U8(10),
379 B(JumpIfToBooleanTrueConstant), U8(9), 379 B(JumpIfToBooleanTrueConstant), U8(9),
380 B(LdaContextSlot), R(1), U8(8), U8(0), 380 B(LdaContextSlot), R(1), U8(8), U8(0),
381 B(Star), R(11), 381 B(Star), R(12),
382 B(LdaNamedProperty), R(11), U8(6), U8(12), 382 B(LdaNamedProperty), R(12), U8(6), U8(12),
383 B(StaContextSlot), R(1), U8(10), U8(0), 383 B(StaContextSlot), R(1), U8(10), U8(0),
384 B(LdaSmi), U8(2), 384 B(LdaSmi), U8(2),
385 B(StaContextSlot), R(1), U8(9), U8(0), 385 B(StaContextSlot), R(1), U8(9), U8(0),
386 B(LdaContextSlot), R(1), U8(10), U8(0), 386 B(LdaContextSlot), R(1), U8(10), U8(0),
387 B(StaContextSlot), R(1), U8(6), U8(0), 387 B(StaContextSlot), R(1), U8(6), U8(0),
388 /* 16 E> */ B(StackCheck), 388 /* 16 E> */ B(StackCheck),
389 B(Ldar), R(closure), 389 B(Ldar), R(closure),
390 B(CreateBlockContext), U8(7), 390 B(CreateBlockContext), U8(7),
391 B(PushContext), R(2), 391 B(PushContext), R(2),
392 B(LdaTheHole), 392 B(LdaTheHole),
393 B(StaCurrentContextSlot), U8(4), 393 B(StaCurrentContextSlot), U8(4),
394 B(LdaContextSlot), R(1), U8(6), U8(0), 394 B(LdaContextSlot), R(1), U8(6), U8(0),
395 B(StaCurrentContextSlot), U8(4), 395 B(StaCurrentContextSlot), U8(4),
396 /* 36 S> */ B(LdaCurrentContextSlot), U8(4), 396 /* 36 S> */ B(LdaCurrentContextSlot), U8(4),
397 B(Star), R(11), 397 B(Star), R(12),
398 B(LdaFalse), 398 B(LdaFalse),
399 B(Star), R(12), 399 B(Star), R(13),
400 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U 8(2), 400 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U 8(2),
401 B(Star), R(11), 401 B(Star), R(12),
402 B(LdaContextSlot), R(1), U8(5), U8(0), 402 B(LdaContextSlot), R(1), U8(5), U8(0),
403 B(Star), R(12), 403 B(Star), R(13),
404 B(LdaSmi), U8(1), 404 B(LdaSmi), U8(1),
405 B(SuspendGenerator), R(12), 405 B(SuspendGenerator), R(13),
406 B(Ldar), R(11), 406 B(Ldar), R(12),
407 /* 44 S> */ B(Return), 407 /* 44 S> */ B(Return),
408 B(LdaSmi), U8(-2), 408 B(LdaSmi), U8(-2),
409 B(Star), R(3), 409 B(Star), R(4),
410 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 2), U8(1), 410 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 3), U8(1),
411 B(Star), R(13),
412 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U 8(1),
413 B(Star), R(14), 411 B(Star), R(14),
414 B(LdaZero), 412 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U 8(1),
415 B(TestEqualStrict), R(14), U8(0), 413 B(Star), R(15),
414 B(LdaZero),
415 B(TestEqualStrict), R(15), U8(0),
416 B(JumpIfTrue), U8(44), 416 B(JumpIfTrue), U8(44),
417 B(LdaSmi), U8(2), 417 B(LdaSmi), U8(2),
418 B(TestEqualStrict), R(14), U8(0), 418 B(TestEqualStrict), R(15), U8(0),
419 B(JumpIfTrue), U8(34), 419 B(JumpIfTrue), U8(34),
420 B(Jump), U8(2), 420 B(Jump), U8(2),
421 B(LdaTrue), 421 B(LdaTrue),
422 B(Star), R(16), 422 B(Star), R(17),
423 B(Mov), R(13), R(15), 423 B(Mov), R(14), R(16),
424 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(15), U 8(2), 424 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U 8(2),
425 B(PopContext), R(2), 425 B(PopContext), R(2),
426 B(PopContext), R(2), 426 B(PopContext), R(2),
427 B(PopContext), R(2), 427 B(PopContext), R(2),
428 B(PopContext), R(2), 428 B(PopContext), R(2),
429 B(PopContext), R(2), 429 B(PopContext), R(2),
430 B(PopContext), R(2), 430 B(PopContext), R(2),
431 B(Star), R(8), 431 B(Star), R(9),
432 B(LdaZero), 432 B(LdaZero),
433 B(Star), R(7), 433 B(Star), R(8),
434 B(Jump), U8(74), 434 B(Jump), U8(74),
435 B(Ldar), R(13), 435 B(Ldar), R(14),
436 /* 36 E> */ B(Throw), 436 /* 36 E> */ B(Throw),
437 B(PopContext), R(2), 437 B(PopContext), R(2),
438 B(LdaZero), 438 B(LdaZero),
439 B(StaContextSlot), R(1), U8(9), U8(0), 439 B(StaContextSlot), R(1), U8(9), U8(0),
440 B(Wide), B(JumpLoop), U16(-221), U16(0), 440 B(Wide), B(JumpLoop), U16(-221), U16(0),
441 B(Jump), U8(44), 441 B(Jump), U8(44),
442 B(Star), R(11), 442 B(Star), R(12),
443 B(Ldar), R(closure), 443 B(Ldar), R(closure),
444 B(CreateCatchContext), R(11), U8(10), U8(11), 444 B(CreateCatchContext), R(12), U8(10), U8(11),
445 B(Star), R(11),
446 B(PushContext), R(2),
447 B(LdaContextSlot), R(0), U8(9), U8(0),
448 B(Star), R(12),
449 B(LdaSmi), U8(2),
450 B(TestEqualStrict), R(12), U8(14),
451 B(JumpIfFalse), U8(8),
452 B(LdaSmi), U8(1),
453 B(StaContextSlot), R(0), U8(9), U8(0),
454 B(LdaCurrentContextSlot), U8(4),
455 B(Star), R(12),
456 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1),
457 B(PopContext), R(2),
458 B(LdaSmi), U8(-1),
459 B(Star), R(8),
460 B(Jump), U8(8),
461 B(Star), R(9),
462 B(LdaSmi), U8(1),
463 B(Star), R(8),
464 B(LdaTheHole),
465 B(SetPendingMessage),
445 B(Star), R(10), 466 B(Star), R(10),
446 B(PushContext), R(2),
447 B(LdaContextSlot), R(1), U8(9), U8(0), 467 B(LdaContextSlot), R(1), U8(9), U8(0),
448 B(Star), R(11), 468 B(Star), R(11),
449 B(LdaSmi), U8(2), 469 B(LdaZero),
450 B(TestEqualStrict), R(11), U8(14), 470 B(TestEqualStrict), R(11), U8(15),
451 B(JumpIfFalse), U8(8),
452 B(LdaSmi), U8(1),
453 B(StaContextSlot), R(1), U8(9), U8(0),
454 B(LdaCurrentContextSlot), U8(4),
455 B(Star), R(11),
456 B(CallRuntime), U16(Runtime::kReThrow), R(11), U8(1),
457 B(PopContext), R(2),
458 B(LdaSmi), U8(-1),
459 B(Star), R(7),
460 B(Jump), U8(8),
461 B(Star), R(8),
462 B(LdaSmi), U8(1),
463 B(Star), R(7),
464 B(LdaTheHole),
465 B(SetPendingMessage),
466 B(Star), R(9),
467 B(LdaContextSlot), R(1), U8(9), U8(0),
468 B(Star), R(10),
469 B(LdaZero),
470 B(TestEqualStrict), R(10), U8(15),
471 B(JumpIfTrueConstant), U8(17), 471 B(JumpIfTrueConstant), U8(17),
472 B(LdaContextSlot), R(1), U8(7), U8(0), 472 B(LdaContextSlot), R(1), U8(7), U8(0),
473 B(Star), R(10), 473 B(Star), R(11),
474 B(LdaUndefined), 474 B(LdaUndefined),
475 B(TestEqualStrict), R(10), U8(16), 475 B(TestEqualStrict), R(11), U8(16),
476 B(JumpIfTrueConstant), U8(18), 476 B(JumpIfTrueConstant), U8(18),
477 B(LdaContextSlot), R(1), U8(7), U8(0), 477 B(LdaContextSlot), R(1), U8(7), U8(0),
478 B(Star), R(10), 478 B(Star), R(11),
479 B(LdaNamedProperty), R(10), U8(12), U8(17), 479 B(LdaNamedProperty), R(11), U8(12), U8(17),
480 B(StaContextSlot), R(1), U8(11), U8(0), 480 B(StaContextSlot), R(1), U8(11), U8(0),
481 B(LdaContextSlot), R(1), U8(11), U8(0), 481 B(LdaContextSlot), R(1), U8(11), U8(0),
482 B(Star), R(10), 482 B(Star), R(11),
483 B(LdaNull), 483 B(LdaNull),
484 B(TestEqual), R(10), U8(19), 484 B(TestEqual), R(11), U8(19),
485 B(JumpIfFalse), U8(4), 485 B(JumpIfFalse), U8(4),
486 B(JumpConstant), U8(16), 486 B(JumpConstant), U8(16),
487 B(LdaContextSlot), R(1), U8(9), U8(0), 487 B(LdaContextSlot), R(1), U8(9), U8(0),
488 B(Star), R(10), 488 B(Star), R(11),
489 B(LdaSmi), U8(1), 489 B(LdaSmi), U8(1),
490 B(TestEqualStrict), R(10), U8(20), 490 B(TestEqualStrict), R(11), U8(20),
491 B(JumpIfFalse), U8(75), 491 B(JumpIfFalse), U8(75),
492 B(LdaContextSlot), R(1), U8(11), U8(0), 492 B(LdaContextSlot), R(1), U8(11), U8(0),
493 B(TypeOf), 493 B(TypeOf),
494 B(Star), R(10), 494 B(Star), R(11),
495 B(LdaConstant), U8(13), 495 B(LdaConstant), U8(13),
496 B(TestEqualStrict), R(10), U8(21), 496 B(TestEqualStrict), R(11), U8(21),
497 B(JumpIfFalse), U8(4), 497 B(JumpIfFalse), U8(4),
498 B(Jump), U8(18), 498 B(Jump), U8(18),
499 B(Wide), B(LdaSmi), U16(130), 499 B(Wide), B(LdaSmi), U16(130),
500 B(Star), R(10), 500 B(Star), R(11),
501 B(LdaConstant), U8(14), 501 B(LdaConstant), U8(14),
502 B(Star), R(11), 502 B(Star), R(12),
503 B(CallRuntime), U16(Runtime::kNewTypeError), R(10), U8(2), 503 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
504 B(Throw), 504 B(Throw),
505 B(Mov), R(context), R(10), 505 B(Mov), R(context), R(11),
506 B(LdaContextSlot), R(1), U8(11), U8(0),
507 B(Star), R(12),
508 B(LdaContextSlot), R(1), U8(7), U8(0),
509 B(Star), R(13),
510 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2),
511 B(Jump), U8(20),
512 B(Star), R(12),
513 B(Ldar), R(closure),
514 B(CreateCatchContext), R(12), U8(10), U8(15),
515 B(Star), R(11),
516 B(LdaTheHole),
517 B(SetPendingMessage),
518 B(Ldar), R(11),
519 B(PushContext), R(2),
520 B(PopContext), R(2),
521 B(Jump), U8(47),
506 B(LdaContextSlot), R(1), U8(11), U8(0), 522 B(LdaContextSlot), R(1), U8(11), U8(0),
507 B(Star), R(11), 523 B(Star), R(11),
508 B(LdaContextSlot), R(1), U8(7), U8(0), 524 B(LdaContextSlot), R(1), U8(7), U8(0),
509 B(Star), R(12), 525 B(Star), R(12),
510 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), 526 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2),
511 B(Jump), U8(20),
512 B(Star), R(11),
513 B(Ldar), R(closure),
514 B(CreateCatchContext), R(11), U8(10), U8(15),
515 B(Star), R(10),
516 B(LdaTheHole),
517 B(SetPendingMessage),
518 B(Ldar), R(10),
519 B(PushContext), R(2),
520 B(PopContext), R(2),
521 B(Jump), U8(47),
522 B(LdaContextSlot), R(1), U8(11), U8(0),
523 B(Star), R(10),
524 B(LdaContextSlot), R(1), U8(7), U8(0),
525 B(Star), R(11),
526 B(InvokeIntrinsic), U8(Runtime::k_Call), R(10), U8(2),
527 B(StaContextSlot), R(1), U8(12), U8(0), 527 B(StaContextSlot), R(1), U8(12), U8(0),
528 B(LdaContextSlot), R(1), U8(12), U8(0), 528 B(LdaContextSlot), R(1), U8(12), U8(0),
529 B(Star), R(10), 529 B(Star), R(11),
530 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(10), U8(1), 530 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1),
531 B(JumpIfToBooleanFalse), U8(4), 531 B(JumpIfToBooleanFalse), U8(4),
532 B(Jump), U8(13), 532 B(Jump), U8(13),
533 B(LdaContextSlot), R(1), U8(12), U8(0), 533 B(LdaContextSlot), R(1), U8(12), U8(0),
534 B(Star), R(10), 534 B(Star), R(11),
535 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1), 535 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1),
536 B(Ldar), R(9), 536 B(Ldar), R(10),
537 B(SetPendingMessage), 537 B(SetPendingMessage),
538 B(LdaZero), 538 B(LdaZero),
539 B(TestEqualStrict), R(7), U8(0), 539 B(TestEqualStrict), R(8), U8(0),
540 B(JumpIfTrue), U8(11), 540 B(JumpIfTrue), U8(11),
541 B(LdaSmi), U8(1), 541 B(LdaSmi), U8(1),
542 B(TestEqualStrict), R(7), U8(0), 542 B(TestEqualStrict), R(8), U8(0),
543 B(JumpIfTrue), U8(17), 543 B(JumpIfTrue), U8(17),
544 B(Jump), U8(28), 544 B(Jump), U8(28),
545 B(PopContext), R(1), 545 B(PopContext), R(1),
546 B(PopContext), R(1), 546 B(PopContext), R(1),
547 B(LdaSmi), U8(1), 547 B(LdaSmi), U8(1),
548 B(Star), R(4), 548 B(Star), R(5),
549 B(Mov), R(8), R(5), 549 B(Mov), R(9), R(6),
550 B(Jump), U8(48), 550 B(Jump), U8(48),
551 B(PopContext), R(1), 551 B(PopContext), R(1),
552 B(PopContext), R(1), 552 B(PopContext), R(1),
553 B(LdaSmi), U8(2), 553 B(LdaSmi), U8(2),
554 B(Star), R(4), 554 B(Star), R(5),
555 B(Mov), R(8), R(5), 555 B(Mov), R(9), R(6),
556 B(Jump), U8(35), 556 B(Jump), U8(35),
557 B(PopContext), R(1), 557 B(PopContext), R(1),
558 B(LdaUndefined), 558 B(LdaUndefined),
559 B(Star), R(7), 559 B(Star), R(8),
560 B(LdaTrue), 560 B(LdaTrue),
561 B(Star), R(8), 561 B(Star), R(9),
562 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8 (2), 562 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(8), U8 (2),
563 B(Star), R(5), 563 B(Star), R(6),
564 B(LdaSmi), U8(3), 564 B(LdaSmi), U8(3),
565 B(Star), R(4), 565 B(Star), R(5),
566 B(Jump), U8(14), 566 B(Jump), U8(14),
567 B(LdaSmi), U8(-1), 567 B(LdaSmi), U8(-1),
568 B(Star), R(4), 568 B(Star), R(5),
569 B(Jump), U8(8), 569 B(Jump), U8(8),
570 B(Star), R(5), 570 B(Star), R(6),
571 B(LdaSmi), U8(4), 571 B(LdaSmi), U8(4),
572 B(Star), R(4), 572 B(Star), R(5),
573 B(LdaTheHole), 573 B(LdaTheHole),
574 B(SetPendingMessage), 574 B(SetPendingMessage),
575 B(Star), R(6), 575 B(Star), R(7),
576 B(LdaCurrentContextSlot), U8(5), 576 B(LdaCurrentContextSlot), U8(5),
577 B(Star), R(7), 577 B(Star), R(8),
578 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(7), U8(1), 578 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1),
579 B(Ldar), R(6), 579 B(Ldar), R(7),
580 B(SetPendingMessage), 580 B(SetPendingMessage),
581 B(LdaZero), 581 B(LdaZero),
582 B(TestEqualStrict), R(4), U8(0), 582 B(TestEqualStrict), R(5), U8(0),
583 B(JumpIfTrue), U8(32), 583 B(JumpIfTrue), U8(32),
584 B(LdaSmi), U8(1), 584 B(LdaSmi), U8(1),
585 B(TestEqualStrict), R(4), U8(0), 585 B(TestEqualStrict), R(5), U8(0),
586 B(JumpIfTrue), U8(28), 586 B(JumpIfTrue), U8(28),
587 B(LdaSmi), U8(2), 587 B(LdaSmi), U8(2),
588 B(TestEqualStrict), R(4), U8(0), 588 B(TestEqualStrict), R(5), U8(0),
589 B(JumpIfTrue), U8(24), 589 B(JumpIfTrue), U8(24),
590 B(LdaSmi), U8(3), 590 B(LdaSmi), U8(3),
591 B(TestEqualStrict), R(4), U8(0), 591 B(TestEqualStrict), R(5), U8(0),
592 B(JumpIfTrue), U8(20), 592 B(JumpIfTrue), U8(20),
593 B(LdaSmi), U8(4), 593 B(LdaSmi), U8(4),
594 B(TestEqualStrict), R(4), U8(0), 594 B(TestEqualStrict), R(5), U8(0),
595 B(JumpIfTrue), U8(16), 595 B(JumpIfTrue), U8(16),
596 B(Jump), U8(17), 596 B(Jump), U8(17),
597 B(Ldar), R(5), 597 B(Ldar), R(6),
598 /* 44 S> */ B(Return), 598 /* 44 S> */ B(Return),
599 B(Ldar), R(5), 599 B(Ldar), R(6),
600 /* 44 S> */ B(Return), 600 /* 44 S> */ B(Return),
601 B(Ldar), R(5), 601 B(Ldar), R(6),
602 B(ReThrow), 602 B(ReThrow),
603 B(Ldar), R(5), 603 B(Ldar), R(6),
604 /* 44 S> */ B(Return), 604 /* 44 S> */ B(Return),
605 B(Ldar), R(5), 605 B(Ldar), R(6),
606 B(ReThrow), 606 B(ReThrow),
607 B(LdaUndefined), 607 B(LdaUndefined),
608 /* 44 S> */ B(Return), 608 /* 44 S> */ B(Return),
609 ] 609 ]
610 constant pool: [ 610 constant pool: [
611 FIXED_ARRAY_TYPE, 611 FIXED_ARRAY_TYPE,
612 FIXED_ARRAY_TYPE, 612 FIXED_ARRAY_TYPE,
613 SYMBOL_TYPE, 613 SYMBOL_TYPE,
614 Smi [149], 614 Smi [149],
615 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 615 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
(...skipping 13 matching lines...) Expand all
629 Smi [161], 629 Smi [161],
630 Smi [593], 630 Smi [593],
631 ] 631 ]
632 handlers: [ 632 handlers: [
633 [46, 702, 708], 633 [46, 702, 708],
634 [143, 438, 444], 634 [143, 438, 444],
635 [146, 394, 396], 635 [146, 394, 396],
636 [554, 570, 572], 636 [554, 570, 572],
637 ] 637 ]
638 638
OLDNEW
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | test/mjsunit/regress/regress-5648.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698