| 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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 { | 688 { |
| 689 let z = 1; | 689 let z = 1; |
| 690 function f() { z = 2; } | 690 function f() { z = 2; } |
| 691 if (z) continue; | 691 if (z) continue; |
| 692 z++; | 692 z++; |
| 693 } | 693 } |
| 694 } | 694 } |
| 695 " | 695 " |
| 696 frame size: 4 | 696 frame size: 4 |
| 697 parameter count: 1 | 697 parameter count: 1 |
| 698 bytecode array length: 54 | 698 bytecode array length: 53 |
| 699 bytecodes: [ | 699 bytecodes: [ |
| 700 /* 30 E> */ B(StackCheck), | 700 /* 30 E> */ B(StackCheck), |
| 701 /* 42 S> */ B(LdaZero), | 701 /* 42 S> */ B(LdaZero), |
| 702 B(Star), R(1), | 702 B(Star), R(1), |
| 703 /* 52 S> */ B(Ldar), R(1), | 703 /* 52 S> */ B(Ldar), R(1), |
| 704 B(JumpIfToBooleanFalse), U8(46), | 704 B(JumpIfToBooleanFalse), U8(45), |
| 705 /* 45 E> */ B(StackCheck), | 705 /* 45 E> */ B(StackCheck), |
| 706 B(Ldar), R(closure), | 706 B(Ldar), R(closure), |
| 707 B(CreateBlockContext), U8(0), | 707 B(CreateBlockContext), U8(0), |
| 708 B(PushContext), R(3), | 708 B(PushContext), R(3), |
| 709 B(LdaTheHole), | 709 B(LdaTheHole), |
| 710 B(StaCurrentContextSlot), U8(4), | 710 B(StaCurrentContextSlot), U8(4), |
| 711 B(CreateClosure), U8(1), U8(2), U8(2), | 711 B(CreateClosure), U8(1), U8(2), |
| 712 B(Star), R(0), | 712 B(Star), R(0), |
| 713 /* 73 S> */ B(LdaSmi), U8(1), | 713 /* 73 S> */ B(LdaSmi), U8(1), |
| 714 /* 73 E> */ B(StaCurrentContextSlot), U8(4), | 714 /* 73 E> */ B(StaCurrentContextSlot), U8(4), |
| 715 B(Mov), R(0), R(2), | 715 B(Mov), R(0), R(2), |
| 716 /* 106 S> */ B(LdaCurrentContextSlot), U8(4), | 716 /* 106 S> */ B(LdaCurrentContextSlot), U8(4), |
| 717 B(JumpIfToBooleanFalse), U8(8), | 717 B(JumpIfToBooleanFalse), U8(8), |
| 718 /* 113 S> */ B(PopContext), R(3), | 718 /* 113 S> */ B(PopContext), R(3), |
| 719 B(PopContext), R(3), | 719 B(PopContext), R(3), |
| 720 B(Jump), U8(10), | 720 B(Jump), U8(10), |
| 721 /* 126 S> */ B(LdaCurrentContextSlot), U8(4), | 721 /* 126 S> */ B(LdaCurrentContextSlot), U8(4), |
| 722 B(Inc), U8(3), | 722 B(Inc), U8(2), |
| 723 /* 127 E> */ B(StaCurrentContextSlot), U8(4), | 723 /* 127 E> */ B(StaCurrentContextSlot), U8(4), |
| 724 B(PopContext), R(3), | 724 B(PopContext), R(3), |
| 725 B(JumpLoop), U8(-45), U8(0), | 725 B(JumpLoop), U8(-44), U8(0), |
| 726 B(LdaUndefined), | 726 B(LdaUndefined), |
| 727 /* 137 S> */ B(Return), | 727 /* 137 S> */ B(Return), |
| 728 ] | 728 ] |
| 729 constant pool: [ | 729 constant pool: [ |
| 730 FIXED_ARRAY_TYPE, | 730 FIXED_ARRAY_TYPE, |
| 731 SHARED_FUNCTION_INFO_TYPE, | 731 SHARED_FUNCTION_INFO_TYPE, |
| 732 ] | 732 ] |
| 733 handlers: [ | 733 handlers: [ |
| 734 ] | 734 ] |
| 735 | 735 |
| OLD | NEW |