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: 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 Loading... |
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: 59 | 484 bytecode array length: 58 |
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(33), | 496 B(JumpIfTrue), U8(32), |
497 B(Jump), U8(35), | 497 B(Jump), U8(34), |
498 B(LdaSmi), U8(1), | 498 /* 77 E> */ B(AddSmi), U8(1), R(2), |
499 /* 77 E> */ B(Add), R(2), | |
500 B(Star), R(1), | 499 B(Star), R(1), |
501 /* 70 S> */ B(LdaSmi), U8(2), | 500 /* 70 S> */ B(LdaSmi), U8(2), |
502 B(TestEqualStrict), R(1), | 501 B(TestEqualStrict), R(1), |
503 B(Mov), R(1), R(4), | 502 B(Mov), R(1), R(4), |
504 B(JumpIfToBooleanTrue), U8(4), | 503 B(JumpIfToBooleanTrue), U8(4), |
505 B(Jump), U8(8), | 504 B(Jump), U8(8), |
506 /* 101 S> */ B(LdaSmi), U8(1), | 505 /* 101 S> */ B(LdaSmi), U8(1), |
507 B(Star), R(2), | 506 B(Star), R(2), |
508 /* 108 S> */ B(Jump), U8(8), | 507 /* 108 S> */ B(Jump), U8(8), |
509 /* 131 S> */ B(LdaSmi), U8(2), | 508 /* 131 S> */ B(LdaSmi), U8(2), |
510 B(Star), R(2), | 509 B(Star), R(2), |
511 /* 138 S> */ B(Jump), U8(2), | 510 /* 138 S> */ B(Jump), U8(2), |
512 /* 176 S> */ B(LdaSmi), U8(3), | 511 /* 176 S> */ B(LdaSmi), U8(3), |
513 B(Star), R(2), | 512 B(Star), R(2), |
514 B(LdaUndefined), | 513 B(LdaUndefined), |
515 /* 185 S> */ B(Return), | 514 /* 185 S> */ B(Return), |
516 ] | 515 ] |
517 constant pool: [ | 516 constant pool: [ |
518 ] | 517 ] |
519 handlers: [ | 518 handlers: [ |
520 ] | 519 ] |
521 | 520 |
OLD | NEW |