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

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

Issue 2263253002: [interpreter] Make the binary op with Smi bytecode handlers collect type feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. Created 4 years, 4 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 pool type: number 6 pool type: number
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 case 1: 474 case 1:
475 switch(a + 1) { 475 switch(a + 1) {
476 case 2 : a = 1; break; 476 case 2 : a = 1; break;
477 default : a = 2; break; 477 default : a = 2; break;
478 } // fall-through 478 } // fall-through
479 case 2: a = 3; 479 case 2: a = 3;
480 } 480 }
481 " 481 "
482 frame size: 5 482 frame size: 5
483 parameter count: 1 483 parameter count: 1
484 bytecode array length: 58 484 bytecode array length: 59
485 bytecodes: [ 485 bytecodes: [
486 /* 30 E> */ B(StackCheck), 486 /* 30 E> */ B(StackCheck),
487 /* 42 S> */ B(LdaSmi), U8(1), 487 /* 42 S> */ B(LdaSmi), U8(1),
488 B(Star), R(2), 488 B(Star), R(2),
489 B(Star), R(0), 489 B(Star), R(0),
490 /* 45 S> */ B(LdaSmi), U8(1), 490 /* 45 S> */ B(LdaSmi), U8(1),
491 B(TestEqualStrict), R(0), 491 B(TestEqualStrict), R(0),
492 B(Mov), R(0), R(3), 492 B(Mov), R(0), R(3),
493 B(JumpIfToBooleanTrue), U8(10), 493 B(JumpIfToBooleanTrue), U8(10),
494 B(LdaSmi), U8(2), 494 B(LdaSmi), U8(2),
495 B(TestEqualStrict), R(3), 495 B(TestEqualStrict), R(3),
496 B(JumpIfTrue), U8(32), 496 B(JumpIfTrue), U8(33),
497 B(Jump), U8(34), 497 B(Jump), U8(35),
498 /* 77 E> */ B(AddSmi), U8(1), R(2), 498 /* 77 E> */ B(AddSmi), U8(1), R(2), U8(1),
499 B(Star), R(1), 499 B(Star), R(1),
500 /* 70 S> */ B(LdaSmi), U8(2), 500 /* 70 S> */ B(LdaSmi), U8(2),
501 B(TestEqualStrict), R(1), 501 B(TestEqualStrict), R(1),
502 B(Mov), R(1), R(4), 502 B(Mov), R(1), R(4),
503 B(JumpIfToBooleanTrue), U8(4), 503 B(JumpIfToBooleanTrue), U8(4),
504 B(Jump), U8(8), 504 B(Jump), U8(8),
505 /* 101 S> */ B(LdaSmi), U8(1), 505 /* 101 S> */ B(LdaSmi), U8(1),
506 B(Star), R(2), 506 B(Star), R(2),
507 /* 108 S> */ B(Jump), U8(8), 507 /* 108 S> */ B(Jump), U8(8),
508 /* 131 S> */ B(LdaSmi), U8(2), 508 /* 131 S> */ B(LdaSmi), U8(2),
509 B(Star), R(2), 509 B(Star), R(2),
510 /* 138 S> */ B(Jump), U8(2), 510 /* 138 S> */ B(Jump), U8(2),
511 /* 176 S> */ B(LdaSmi), U8(3), 511 /* 176 S> */ B(LdaSmi), U8(3),
512 B(Star), R(2), 512 B(Star), R(2),
513 B(LdaUndefined), 513 B(LdaUndefined),
514 /* 185 S> */ B(Return), 514 /* 185 S> */ B(Return),
515 ] 515 ]
516 constant pool: [ 516 constant pool: [
517 ] 517 ]
518 handlers: [ 518 handlers: [
519 ] 519 ]
520 520
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698