| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 wrap: yes | 6 wrap: yes |
| 7 | 7 |
| 8 --- | 8 --- |
| 9 snippet: " | 9 snippet: " |
| 10 var x = 0; | 10 var x = 0; |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 { | 672 { |
| 673 let z = 1; | 673 let z = 1; |
| 674 function f() { z = 2; } | 674 function f() { z = 2; } |
| 675 if (z) continue; | 675 if (z) continue; |
| 676 z++; | 676 z++; |
| 677 } | 677 } |
| 678 } | 678 } |
| 679 " | 679 " |
| 680 frame size: 4 | 680 frame size: 4 |
| 681 parameter count: 1 | 681 parameter count: 1 |
| 682 bytecode array length: 63 | 682 bytecode array length: 53 |
| 683 bytecodes: [ | 683 bytecodes: [ |
| 684 /* 30 E> */ B(StackCheck), | 684 /* 30 E> */ B(StackCheck), |
| 685 /* 42 S> */ B(LdaZero), | 685 /* 42 S> */ B(LdaZero), |
| 686 B(Star), R(1), | 686 B(Star), R(1), |
| 687 /* 52 S> */ B(Ldar), R(1), | 687 /* 52 S> */ B(Ldar), R(1), |
| 688 B(JumpIfToBooleanFalse), U8(55), | 688 B(JumpIfToBooleanFalse), U8(45), |
| 689 /* 45 E> */ B(StackCheck), | 689 /* 45 E> */ B(StackCheck), |
| 690 B(Ldar), R(closure), | 690 B(Ldar), R(closure), |
| 691 B(CreateBlockContext), U8(0), | 691 B(CreateBlockContext), U8(0), |
| 692 B(PushContext), R(3), | 692 B(PushContext), R(3), |
| 693 B(LdaTheHole), | 693 B(LdaTheHole), |
| 694 B(StaContextSlot), R(context), U8(4), U8(0), | 694 B(StaCurrentContextSlot), U8(4), |
| 695 B(CreateClosure), U8(1), U8(2), | 695 B(CreateClosure), U8(1), U8(2), |
| 696 B(Star), R(0), | 696 B(Star), R(0), |
| 697 /* 73 S> */ B(LdaSmi), U8(1), | 697 /* 73 S> */ B(LdaSmi), U8(1), |
| 698 /* 73 E> */ B(StaContextSlot), R(context), U8(4), U8(0), | 698 /* 73 E> */ B(StaCurrentContextSlot), U8(4), |
| 699 B(Mov), R(0), R(2), | 699 B(Mov), R(0), R(2), |
| 700 /* 106 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), | 700 /* 106 S> */ B(LdaCurrentContextSlot), U8(4), |
| 701 B(JumpIfToBooleanFalse), U8(8), | 701 B(JumpIfToBooleanFalse), U8(8), |
| 702 /* 113 S> */ B(PopContext), R(3), | 702 /* 113 S> */ B(PopContext), R(3), |
| 703 B(PopContext), R(3), | 703 B(PopContext), R(3), |
| 704 B(Jump), U8(14), | 704 B(Jump), U8(10), |
| 705 /* 126 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), | 705 /* 126 S> */ B(LdaCurrentContextSlot), U8(4), |
| 706 B(Inc), U8(2), | 706 B(Inc), U8(2), |
| 707 /* 127 E> */ B(StaContextSlot), R(context), U8(4), U8(0), | 707 /* 127 E> */ B(StaCurrentContextSlot), U8(4), |
| 708 B(PopContext), R(3), | 708 B(PopContext), R(3), |
| 709 B(JumpLoop), U8(-54), U8(0), | 709 B(JumpLoop), U8(-44), U8(0), |
| 710 B(LdaUndefined), | 710 B(LdaUndefined), |
| 711 /* 137 S> */ B(Return), | 711 /* 137 S> */ B(Return), |
| 712 ] | 712 ] |
| 713 constant pool: [ | 713 constant pool: [ |
| 714 FIXED_ARRAY_TYPE, | 714 FIXED_ARRAY_TYPE, |
| 715 SHARED_FUNCTION_INFO_TYPE, | 715 SHARED_FUNCTION_INFO_TYPE, |
| 716 ] | 716 ] |
| 717 handlers: [ | 717 handlers: [ |
| 718 ] | 718 ] |
| 719 | 719 |
| OLD | NEW |