| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 execute: yes | 6 execute: yes |
| 7 wrap: yes | 7 wrap: yes |
| 8 | 8 |
| 9 --- | 9 --- |
| 10 snippet: " | 10 snippet: " |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 { | 671 { |
| 672 let z = 1; | 672 let z = 1; |
| 673 function f() { z = 2; } | 673 function f() { z = 2; } |
| 674 if (z) continue; | 674 if (z) continue; |
| 675 z++; | 675 z++; |
| 676 } | 676 } |
| 677 } | 677 } |
| 678 " | 678 " |
| 679 frame size: 6 | 679 frame size: 6 |
| 680 parameter count: 1 | 680 parameter count: 1 |
| 681 bytecode array length: 97 | 681 bytecode array length: 103 |
| 682 bytecodes: [ | 682 bytecodes: [ |
| 683 /* 30 E> */ B(StackCheck), | 683 /* 30 E> */ B(StackCheck), |
| 684 /* 42 S> */ B(LdaZero), | 684 /* 42 S> */ B(LdaZero), |
| 685 B(Star), R(1), | 685 B(Star), R(1), |
| 686 /* 52 S> */ B(Ldar), R(1), | 686 /* 52 S> */ B(Ldar), R(1), |
| 687 B(JumpIfToBooleanFalse), U8(89), | 687 B(JumpIfToBooleanFalse), U8(95), |
| 688 /* 45 E> */ B(StackCheck), | 688 /* 45 E> */ B(StackCheck), |
| 689 B(Ldar), R(closure), | 689 B(Ldar), R(closure), |
| 690 B(CreateBlockContext), U8(0), | 690 B(CreateBlockContext), U8(0), |
| 691 B(PushContext), R(3), | 691 B(PushContext), R(3), |
| 692 B(LdaTheHole), | 692 B(LdaTheHole), |
| 693 B(StaContextSlot), R(context), U8(4), | 693 B(StaContextSlot), R(context), U8(4), U8(0), |
| 694 B(CreateClosure), U8(1), U8(2), | 694 B(CreateClosure), U8(1), U8(2), |
| 695 B(Star), R(0), | 695 B(Star), R(0), |
| 696 /* 73 S> */ B(LdaSmi), U8(1), | 696 /* 73 S> */ B(LdaSmi), U8(1), |
| 697 /* 73 E> */ B(StaContextSlot), R(context), U8(4), | 697 /* 73 E> */ B(StaContextSlot), R(context), U8(4), U8(0), |
| 698 B(Mov), R(0), R(2), | 698 B(Mov), R(0), R(2), |
| 699 /* 106 S> */ B(LdaContextSlot), R(context), U8(4), | 699 /* 106 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
| 700 B(JumpIfNotHole), U8(11), | 700 B(JumpIfNotHole), U8(11), |
| 701 B(LdaConstant), U8(2), | 701 B(LdaConstant), U8(2), |
| 702 B(Star), R(4), | 702 B(Star), R(4), |
| 703 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 703 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
| 704 B(JumpIfToBooleanFalse), U8(8), | 704 B(JumpIfToBooleanFalse), U8(8), |
| 705 /* 113 S> */ B(PopContext), R(3), | 705 /* 113 S> */ B(PopContext), R(3), |
| 706 B(PopContext), R(3), | 706 B(PopContext), R(3), |
| 707 B(Jump), U8(41), | 707 B(Jump), U8(44), |
| 708 /* 126 S> */ B(LdaContextSlot), R(context), U8(4), | 708 /* 126 S> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
| 709 B(JumpIfNotHole), U8(11), | 709 B(JumpIfNotHole), U8(11), |
| 710 B(LdaConstant), U8(2), | 710 B(LdaConstant), U8(2), |
| 711 B(Star), R(4), | 711 B(Star), R(4), |
| 712 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), | 712 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), |
| 713 B(Inc), U8(1), | 713 B(Inc), U8(1), |
| 714 B(Star), R(4), | 714 B(Star), R(4), |
| 715 /* 127 E> */ B(LdaContextSlot), R(context), U8(4), | 715 /* 127 E> */ B(LdaContextSlot), R(context), U8(4), U8(0), |
| 716 B(JumpIfNotHole), U8(11), | 716 B(JumpIfNotHole), U8(11), |
| 717 B(LdaConstant), U8(2), | 717 B(LdaConstant), U8(2), |
| 718 B(Star), R(5), | 718 B(Star), R(5), |
| 719 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), | 719 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1), |
| 720 B(Ldar), R(4), | 720 B(Ldar), R(4), |
| 721 B(StaContextSlot), R(context), U8(4), | 721 B(StaContextSlot), R(context), U8(4), U8(0), |
| 722 B(PopContext), R(3), | 722 B(PopContext), R(3), |
| 723 B(Jump), U8(-89), | 723 B(Jump), U8(-95), |
| 724 B(LdaUndefined), | 724 B(LdaUndefined), |
| 725 /* 137 S> */ B(Return), | 725 /* 137 S> */ B(Return), |
| 726 ] | 726 ] |
| 727 constant pool: [ | 727 constant pool: [ |
| 728 FIXED_ARRAY_TYPE, | 728 FIXED_ARRAY_TYPE, |
| 729 SHARED_FUNCTION_INFO_TYPE, | 729 SHARED_FUNCTION_INFO_TYPE, |
| 730 ONE_BYTE_INTERNALIZED_STRING_TYPE ["z"], | 730 ONE_BYTE_INTERNALIZED_STRING_TYPE ["z"], |
| 731 ] | 731 ] |
| 732 handlers: [ | 732 handlers: [ |
| 733 ] | 733 ] |
| 734 | 734 |
| OLD | NEW |