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 | |
7 execute: yes | 6 execute: yes |
8 wrap: yes | 7 wrap: yes |
9 | 8 |
10 --- | 9 --- |
11 snippet: " | 10 snippet: " |
12 var a = 1; | 11 var a = 1; |
13 switch(a) { | 12 switch(a) { |
14 case 1: return 2; | 13 case 1: return 2; |
15 case 2: return 3; | 14 case 2: return 3; |
16 } | 15 } |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 /* 635 S> */ B(LdaSmi), U8(2), | 453 /* 635 S> */ B(LdaSmi), U8(2), |
455 B(Star), R(0), | 454 B(Star), R(0), |
456 /* 644 S> */ B(Jump), U8(8), | 455 /* 644 S> */ B(Jump), U8(8), |
457 /* 662 S> */ B(LdaSmi), U8(3), | 456 /* 662 S> */ B(LdaSmi), U8(3), |
458 B(Star), R(0), | 457 B(Star), R(0), |
459 /* 671 S> */ B(Jump), U8(2), | 458 /* 671 S> */ B(Jump), U8(2), |
460 B(LdaUndefined), | 459 B(LdaUndefined), |
461 /* 680 S> */ B(Return), | 460 /* 680 S> */ B(Return), |
462 ] | 461 ] |
463 constant pool: [ | 462 constant pool: [ |
464 262, | 463 Smi [262], |
465 266, | 464 Smi [266], |
466 ] | 465 ] |
467 handlers: [ | 466 handlers: [ |
468 ] | 467 ] |
469 | 468 |
470 --- | 469 --- |
471 snippet: " | 470 snippet: " |
472 var a = 1; | 471 var a = 1; |
473 switch(a) { | 472 switch(a) { |
474 case 1: | 473 case 1: |
475 switch(a + 1) { | 474 switch(a + 1) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 /* 176 S> */ B(LdaSmi), U8(3), | 510 /* 176 S> */ B(LdaSmi), U8(3), |
512 B(Star), R(0), | 511 B(Star), R(0), |
513 B(LdaUndefined), | 512 B(LdaUndefined), |
514 /* 185 S> */ B(Return), | 513 /* 185 S> */ B(Return), |
515 ] | 514 ] |
516 constant pool: [ | 515 constant pool: [ |
517 ] | 516 ] |
518 handlers: [ | 517 handlers: [ |
519 ] | 518 ] |
520 | 519 |
OLD | NEW |