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

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

Issue 2891353002: [ignition] Use an intrinsic for GeneratorClose. (Closed)
Patch Set: Created 3 years, 7 months 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
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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 --- 267 ---
268 snippet: " 268 snippet: "
269 function* f() { 269 function* f() {
270 for (let x = 0; x < 10; ++x) { let y = x; } 270 for (let x = 0; x < 10; ++x) { let y = x; }
271 } 271 }
272 f(); 272 f();
273 " 273 "
274 frame size: 14 274 frame size: 14
275 parameter count: 1 275 parameter count: 1
276 bytecode array length: 332 276 bytecode array length: 331
277 bytecodes: [ 277 bytecodes: [
278 B(Ldar), R(new_target), 278 B(Ldar), R(new_target),
279 B(JumpIfUndefined), U8(25), 279 B(JumpIfUndefined), U8(25),
280 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1), 280 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
281 B(PushContext), R(5), 281 B(PushContext), R(5),
282 B(ResumeGenerator), R(new_target), 282 B(ResumeGenerator), R(new_target),
283 B(Star), R(4), 283 B(Star), R(4),
284 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), 284 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0),
285 B(LdaSmi), I8(79), 285 B(LdaSmi), I8(79),
286 B(Star), R(6), 286 B(Star), R(6),
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 B(Star), R(6), 407 B(Star), R(6),
408 B(Jump), U8(8), 408 B(Jump), U8(8),
409 B(Star), R(7), 409 B(Star), R(7),
410 B(LdaSmi), I8(1), 410 B(LdaSmi), I8(1),
411 B(Star), R(6), 411 B(Star), R(6),
412 B(LdaTheHole), 412 B(LdaTheHole),
413 B(SetPendingMessage), 413 B(SetPendingMessage),
414 B(Star), R(8), 414 B(Star), R(8),
415 B(LdaImmutableCurrentContextSlot), U8(4), 415 B(LdaImmutableCurrentContextSlot), U8(4),
416 B(Star), R(9), 416 B(Star), R(9),
417 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(9), U8(1), 417 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(9), U8(1),
418 B(Ldar), R(8), 418 B(Ldar), R(8),
419 B(SetPendingMessage), 419 B(SetPendingMessage),
420 B(Ldar), R(6), 420 B(Ldar), R(6),
421 B(SwitchOnSmiNoFeedback), U8(4), U8(2), I8(0), 421 B(SwitchOnSmiNoFeedback), U8(4), U8(2), I8(0),
422 B(Jump), U8(8), 422 B(Jump), U8(8),
423 B(Ldar), R(7), 423 B(Ldar), R(7),
424 /* 62 S> */ B(Return), 424 /* 62 S> */ B(Return),
425 B(Ldar), R(7), 425 B(Ldar), R(7),
426 B(ReThrow), 426 B(ReThrow),
427 B(LdaUndefined), 427 B(LdaUndefined),
(...skipping 13 matching lines...) Expand all
441 441
442 --- 442 ---
443 snippet: " 443 snippet: "
444 function* f() { 444 function* f() {
445 for (let x = 0; x < 10; ++x) yield x; 445 for (let x = 0; x < 10; ++x) yield x;
446 } 446 }
447 f(); 447 f();
448 " 448 "
449 frame size: 13 449 frame size: 13
450 parameter count: 1 450 parameter count: 1
451 bytecode array length: 439 451 bytecode array length: 438
452 bytecodes: [ 452 bytecodes: [
453 B(Ldar), R(new_target), 453 B(Ldar), R(new_target),
454 B(JumpIfUndefined), U8(25), 454 B(JumpIfUndefined), U8(25),
455 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1), 455 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta rget), U8(1),
456 B(PushContext), R(4), 456 B(PushContext), R(4),
457 B(ResumeGenerator), R(new_target), 457 B(ResumeGenerator), R(new_target),
458 B(Star), R(3), 458 B(Star), R(3),
459 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), 459 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0),
460 B(LdaSmi), I8(79), 460 B(LdaSmi), I8(79),
461 B(Star), R(5), 461 B(Star), R(5),
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 B(Star), R(5), 628 B(Star), R(5),
629 B(Jump), U8(8), 629 B(Jump), U8(8),
630 B(Star), R(6), 630 B(Star), R(6),
631 B(LdaSmi), I8(1), 631 B(LdaSmi), I8(1),
632 B(Star), R(5), 632 B(Star), R(5),
633 B(LdaTheHole), 633 B(LdaTheHole),
634 B(SetPendingMessage), 634 B(SetPendingMessage),
635 B(Star), R(7), 635 B(Star), R(7),
636 B(LdaImmutableCurrentContextSlot), U8(4), 636 B(LdaImmutableCurrentContextSlot), U8(4),
637 B(Star), R(8), 637 B(Star), R(8),
638 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1), 638 B(InvokeIntrinsic), U8(Runtime::k_GeneratorClose), R(8), U8(1),
639 B(Ldar), R(7), 639 B(Ldar), R(7),
640 B(SetPendingMessage), 640 B(SetPendingMessage),
641 B(Ldar), R(5), 641 B(Ldar), R(5),
642 B(SwitchOnSmiNoFeedback), U8(7), U8(2), I8(0), 642 B(SwitchOnSmiNoFeedback), U8(7), U8(2), I8(0),
643 B(Jump), U8(8), 643 B(Jump), U8(8),
644 B(Ldar), R(6), 644 B(Ldar), R(6),
645 /* 56 S> */ B(Return), 645 /* 56 S> */ B(Return),
646 B(Ldar), R(6), 646 B(Ldar), R(6),
647 B(ReThrow), 647 B(ReThrow),
648 B(LdaUndefined), 648 B(LdaUndefined),
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 1061 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
1062 FIXED_ARRAY_TYPE, 1062 FIXED_ARRAY_TYPE,
1063 Smi [6], 1063 Smi [6],
1064 Smi [9], 1064 Smi [9],
1065 ] 1065 ]
1066 handlers: [ 1066 handlers: [
1067 [60, 434, 440], 1067 [60, 434, 440],
1068 [63, 381, 383], 1068 [63, 381, 383],
1069 ] 1069 ]
1070 1070
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698