| OLD | NEW |
| 1 # | 1 # |
| 2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
| 3 # | 3 # |
| 4 | 4 |
| 5 --- | 5 --- |
| 6 wrap: no | 6 wrap: no |
| 7 test function name: f | 7 test function name: f |
| 8 | 8 |
| 9 --- | 9 --- |
| 10 snippet: " | 10 snippet: " |
| (...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 | 641 |
| 642 --- | 642 --- |
| 643 snippet: " | 643 snippet: " |
| 644 function* f(arr) { | 644 function* f(arr) { |
| 645 for (let x of arr) { let y = x; } | 645 for (let x of arr) { let y = x; } |
| 646 } | 646 } |
| 647 f([1, 2, 3]); | 647 f([1, 2, 3]); |
| 648 " | 648 " |
| 649 frame size: 15 | 649 frame size: 15 |
| 650 parameter count: 2 | 650 parameter count: 2 |
| 651 bytecode array length: 596 | 651 bytecode array length: 593 |
| 652 bytecodes: [ | 652 bytecodes: [ |
| 653 B(Ldar), R(new_target), | 653 B(Ldar), R(new_target), |
| 654 B(JumpIfUndefined), U8(26), | 654 B(JumpIfUndefined), U8(25), |
| 655 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 655 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
| 656 B(PushContext), R(5), | 656 B(PushContext), R(5), |
| 657 B(ResumeGenerator), R(new_target), | 657 B(ResumeGenerator), R(new_target), |
| 658 B(Star), R(4), | 658 B(Star), R(4), |
| 659 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 659 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
| 660 B(LdaSmi), I8(79), | 660 B(LdaSmi), I8(79), |
| 661 B(Star), R(6), | 661 B(Star), R(6), |
| 662 B(CallRuntime), U16(Runtime::kAbort), R(6), U8(1), | 662 B(CallRuntime), U16(Runtime::kAbort), R(6), U8(1), |
| 663 B(LdaSmi), I8(-2), | 663 B(LdaSmi), I8(-2), |
| 664 B(Star), R(4), | 664 B(Star), R(4), |
| 665 B(CreateFunctionContext), U8(9), | 665 B(CreateFunctionContext), U8(9), |
| 666 B(PushContext), R(0), | 666 B(PushContext), R(0), |
| 667 B(Ldar), R(arg0), | 667 B(Ldar), R(arg0), |
| 668 B(StaCurrentContextSlot), U8(4), | 668 B(StaCurrentContextSlot), U8(4), |
| 669 B(Mov), R(closure), R(6), | 669 B(Mov), R(closure), R(6), |
| 670 B(Mov), R(this), R(7), | 670 B(Mov), R(this), R(7), |
| 671 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(6)
, U8(2), | 671 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(6)
, U8(2), |
| 672 B(StaCurrentContextSlot), U8(5), | 672 B(StaCurrentContextSlot), U8(5), |
| 673 /* 11 E> */ B(StackCheck), | 673 /* 11 E> */ B(StackCheck), |
| 674 B(Mov), R(context), R(8), | 674 B(Mov), R(context), R(8), |
| 675 B(LdaImmutableCurrentContextSlot), U8(5), | 675 B(LdaImmutableCurrentContextSlot), U8(5), |
| 676 B(Star), R(9), | 676 B(Star), R(9), |
| 677 B(LdaImmutableCurrentContextSlot), U8(5), | 677 B(LdaImmutableCurrentContextSlot), U8(5), |
| 678 B(Star), R(10), | 678 B(Star), R(10), |
| 679 B(LdaZero), | 679 B(LdaZero), |
| 680 /* 11 E> */ B(SuspendGenerator), R(10), U8(0), | 680 /* 11 E> */ B(SuspendGenerator), R(10), U8(0), |
| 681 B(Ldar), R(9), | 681 B(Ldar), R(9), |
| 682 /* 55 S> */ B(Return), | 682 /* 55 S> */ B(Return), |
| 683 B(LdaSmi), I8(-2), | 683 B(LdaSmi), I8(-2), |
| 684 B(Star), R(4), | 684 B(Star), R(4), |
| 685 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1
0), U8(1), | 685 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(10), U8(1), |
| 686 B(Star), R(11), | 686 B(Star), R(11), |
| 687 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(10), U
8(1), | 687 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(10)
, U8(1), |
| 688 B(Star), R(12), | 688 B(Star), R(12), |
| 689 B(LdaZero), | 689 B(LdaZero), |
| 690 B(TestEqualStrictNoFeedback), R(12), | 690 B(TestEqualStrictNoFeedback), R(12), |
| 691 B(JumpIfTrue), U8(28), | 691 B(JumpIfTrue), U8(28), |
| 692 B(LdaSmi), I8(2), | 692 B(LdaSmi), I8(2), |
| 693 B(TestEqualStrictNoFeedback), R(12), | 693 B(TestEqualStrictNoFeedback), R(12), |
| 694 B(JumpIfTrue), U8(19), | 694 B(JumpIfTrue), U8(19), |
| 695 B(LdaTrue), | 695 B(LdaTrue), |
| 696 B(Star), R(14), | 696 B(Star), R(14), |
| 697 B(Mov), R(11), R(13), | 697 B(Mov), R(11), R(13), |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 907 FIXED_ARRAY_TYPE, | 907 FIXED_ARRAY_TYPE, |
| 908 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 908 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
| 909 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 909 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 910 FIXED_ARRAY_TYPE, | 910 FIXED_ARRAY_TYPE, |
| 911 Smi [6], | 911 Smi [6], |
| 912 Smi [449], | 912 Smi [449], |
| 913 Smi [6], | 913 Smi [6], |
| 914 Smi [9], | 914 Smi [9], |
| 915 ] | 915 ] |
| 916 handlers: [ | 916 handlers: [ |
| 917 [56, 552, 558], | 917 [55, 549, 555], |
| 918 [137, 334, 340], | 918 [134, 331, 337], |
| 919 [140, 290, 292], | 919 [137, 287, 289], |
| 920 [426, 442, 444], | 920 [423, 439, 441], |
| 921 ] | 921 ] |
| 922 | 922 |
| 923 --- | 923 --- |
| 924 snippet: " | 924 snippet: " |
| 925 function* f(arr) { | 925 function* f(arr) { |
| 926 for (let x of arr) yield x; | 926 for (let x of arr) yield x; |
| 927 } | 927 } |
| 928 f([1, 2, 3]); | 928 f([1, 2, 3]); |
| 929 " | 929 " |
| 930 frame size: 18 | 930 frame size: 18 |
| 931 parameter count: 2 | 931 parameter count: 2 |
| 932 bytecode array length: 701 | 932 bytecode array length: 696 |
| 933 bytecodes: [ | 933 bytecodes: [ |
| 934 B(Ldar), R(new_target), | 934 B(Ldar), R(new_target), |
| 935 B(JumpIfUndefined), U8(26), | 935 B(JumpIfUndefined), U8(25), |
| 936 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 936 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
| 937 B(PushContext), R(4), | 937 B(PushContext), R(4), |
| 938 B(ResumeGenerator), R(new_target), | 938 B(ResumeGenerator), R(new_target), |
| 939 B(Star), R(3), | 939 B(Star), R(3), |
| 940 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), | 940 B(SwitchOnSmiNoFeedback), U8(0), U8(2), I8(0), |
| 941 B(LdaSmi), I8(79), | 941 B(LdaSmi), I8(79), |
| 942 B(Star), R(5), | 942 B(Star), R(5), |
| 943 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | 943 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), |
| 944 B(LdaSmi), I8(-2), | 944 B(LdaSmi), I8(-2), |
| 945 B(Star), R(3), | 945 B(Star), R(3), |
| 946 B(CreateFunctionContext), U8(9), | 946 B(CreateFunctionContext), U8(9), |
| 947 B(PushContext), R(0), | 947 B(PushContext), R(0), |
| 948 B(Ldar), R(arg0), | 948 B(Ldar), R(arg0), |
| 949 B(StaCurrentContextSlot), U8(4), | 949 B(StaCurrentContextSlot), U8(4), |
| 950 B(Mov), R(closure), R(5), | 950 B(Mov), R(closure), R(5), |
| 951 B(Mov), R(this), R(6), | 951 B(Mov), R(this), R(6), |
| 952 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(5)
, U8(2), | 952 B(InvokeIntrinsic), U8(Runtime::k_CreateJSGeneratorObject), R(5)
, U8(2), |
| 953 B(StaCurrentContextSlot), U8(5), | 953 B(StaCurrentContextSlot), U8(5), |
| 954 /* 11 E> */ B(StackCheck), | 954 /* 11 E> */ B(StackCheck), |
| 955 B(Mov), R(context), R(7), | 955 B(Mov), R(context), R(7), |
| 956 B(LdaImmutableCurrentContextSlot), U8(5), | 956 B(LdaImmutableCurrentContextSlot), U8(5), |
| 957 B(Star), R(8), | 957 B(Star), R(8), |
| 958 B(LdaImmutableCurrentContextSlot), U8(5), | 958 B(LdaImmutableCurrentContextSlot), U8(5), |
| 959 B(Star), R(9), | 959 B(Star), R(9), |
| 960 B(LdaZero), | 960 B(LdaZero), |
| 961 /* 11 E> */ B(SuspendGenerator), R(9), U8(0), | 961 /* 11 E> */ B(SuspendGenerator), R(9), U8(0), |
| 962 B(Ldar), R(8), | 962 B(Ldar), R(8), |
| 963 /* 49 S> */ B(Return), | 963 /* 49 S> */ B(Return), |
| 964 B(LdaSmi), I8(-2), | 964 B(LdaSmi), I8(-2), |
| 965 B(Star), R(3), | 965 B(Star), R(3), |
| 966 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9
), U8(1), | 966 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(9), U8(1), |
| 967 B(Star), R(10), | 967 B(Star), R(10), |
| 968 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8
(1), | 968 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(9),
U8(1), |
| 969 B(Star), R(11), | 969 B(Star), R(11), |
| 970 B(LdaZero), | 970 B(LdaZero), |
| 971 B(TestEqualStrictNoFeedback), R(11), | 971 B(TestEqualStrictNoFeedback), R(11), |
| 972 B(JumpIfTrue), U8(28), | 972 B(JumpIfTrue), U8(28), |
| 973 B(LdaSmi), I8(2), | 973 B(LdaSmi), I8(2), |
| 974 B(TestEqualStrictNoFeedback), R(11), | 974 B(TestEqualStrictNoFeedback), R(11), |
| 975 B(JumpIfTrue), U8(19), | 975 B(JumpIfTrue), U8(19), |
| 976 B(LdaTrue), | 976 B(LdaTrue), |
| 977 B(Star), R(13), | 977 B(Star), R(13), |
| 978 B(Mov), R(10), R(12), | 978 B(Mov), R(10), R(12), |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 B(Star), R(12), | 1017 B(Star), R(12), |
| 1018 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), | 1018 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), |
| 1019 B(ToBooleanLogicalNot), | 1019 B(ToBooleanLogicalNot), |
| 1020 B(JumpIfFalse), U8(13), | 1020 B(JumpIfFalse), U8(13), |
| 1021 B(LdaContextSlot), R(1), U8(8), U8(0), | 1021 B(LdaContextSlot), R(1), U8(8), U8(0), |
| 1022 B(Star), R(12), | 1022 B(Star), R(12), |
| 1023 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(12), U8(1), | 1023 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(12), U8(1), |
| 1024 B(LdaContextSlot), R(1), U8(8), U8(0), | 1024 B(LdaContextSlot), R(1), U8(8), U8(0), |
| 1025 B(Star), R(12), | 1025 B(Star), R(12), |
| 1026 B(LdaNamedProperty), R(12), U8(6), U8(11), | 1026 B(LdaNamedProperty), R(12), U8(6), U8(11), |
| 1027 B(JumpIfToBooleanTrue), U8(144), | 1027 B(JumpIfToBooleanTrue), U8(142), |
| 1028 B(LdaContextSlot), R(1), U8(8), U8(0), | 1028 B(LdaContextSlot), R(1), U8(8), U8(0), |
| 1029 B(Star), R(12), | 1029 B(Star), R(12), |
| 1030 B(LdaNamedProperty), R(12), U8(7), U8(13), | 1030 B(LdaNamedProperty), R(12), U8(7), U8(13), |
| 1031 B(StaContextSlot), R(1), U8(10), U8(0), | 1031 B(StaContextSlot), R(1), U8(10), U8(0), |
| 1032 B(LdaSmi), I8(2), | 1032 B(LdaSmi), I8(2), |
| 1033 B(StaContextSlot), R(1), U8(9), U8(0), | 1033 B(StaContextSlot), R(1), U8(9), U8(0), |
| 1034 B(LdaContextSlot), R(1), U8(10), U8(0), | 1034 B(LdaContextSlot), R(1), U8(10), U8(0), |
| 1035 B(StaContextSlot), R(1), U8(6), U8(0), | 1035 B(StaContextSlot), R(1), U8(6), U8(0), |
| 1036 /* 21 E> */ B(StackCheck), | 1036 /* 21 E> */ B(StackCheck), |
| 1037 B(Ldar), R(closure), | 1037 B(Ldar), R(closure), |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1048 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12)
, U8(2), | 1048 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12)
, U8(2), |
| 1049 B(Star), R(12), | 1049 B(Star), R(12), |
| 1050 B(LdaImmutableContextSlot), R(1), U8(5), U8(0), | 1050 B(LdaImmutableContextSlot), R(1), U8(5), U8(0), |
| 1051 B(Star), R(13), | 1051 B(Star), R(13), |
| 1052 B(LdaSmi), I8(1), | 1052 B(LdaSmi), I8(1), |
| 1053 B(SuspendGenerator), R(13), U8(0), | 1053 B(SuspendGenerator), R(13), U8(0), |
| 1054 B(Ldar), R(12), | 1054 B(Ldar), R(12), |
| 1055 /* 49 S> */ B(Return), | 1055 /* 49 S> */ B(Return), |
| 1056 B(LdaSmi), I8(-2), | 1056 B(LdaSmi), I8(-2), |
| 1057 B(Star), R(3), | 1057 B(Star), R(3), |
| 1058 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1
3), U8(1), | 1058 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(13), U8(1), |
| 1059 B(Star), R(14), | 1059 B(Star), R(14), |
| 1060 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U
8(1), | 1060 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(13)
, U8(1), |
| 1061 B(Star), R(15), | 1061 B(Star), R(15), |
| 1062 B(LdaZero), | 1062 B(LdaZero), |
| 1063 B(TestEqualStrictNoFeedback), R(15), | 1063 B(TestEqualStrictNoFeedback), R(15), |
| 1064 B(JumpIfTrue), U8(40), | 1064 B(JumpIfTrue), U8(40), |
| 1065 B(LdaSmi), I8(2), | 1065 B(LdaSmi), I8(2), |
| 1066 B(TestEqualStrictNoFeedback), R(15), | 1066 B(TestEqualStrictNoFeedback), R(15), |
| 1067 B(JumpIfTrue), U8(31), | 1067 B(JumpIfTrue), U8(31), |
| 1068 B(LdaTrue), | 1068 B(LdaTrue), |
| 1069 B(Star), R(17), | 1069 B(Star), R(17), |
| 1070 B(Mov), R(14), R(16), | 1070 B(Mov), R(14), R(16), |
| 1071 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16)
, U8(2), | 1071 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16)
, U8(2), |
| 1072 B(PopContext), R(2), | 1072 B(PopContext), R(2), |
| 1073 B(PopContext), R(2), | 1073 B(PopContext), R(2), |
| 1074 B(PopContext), R(2), | 1074 B(PopContext), R(2), |
| 1075 B(PopContext), R(2), | 1075 B(PopContext), R(2), |
| 1076 B(PopContext), R(2), | 1076 B(PopContext), R(2), |
| 1077 B(PopContext), R(2), | 1077 B(PopContext), R(2), |
| 1078 B(Star), R(9), | 1078 B(Star), R(9), |
| 1079 B(LdaZero), | 1079 B(LdaZero), |
| 1080 B(Star), R(8), | 1080 B(Star), R(8), |
| 1081 B(Jump), U8(71), | 1081 B(Jump), U8(71), |
| 1082 B(Ldar), R(14), | 1082 B(Ldar), R(14), |
| 1083 /* 40 E> */ B(Throw), | 1083 /* 40 E> */ B(Throw), |
| 1084 B(PopContext), R(2), | 1084 B(PopContext), R(2), |
| 1085 B(LdaZero), | 1085 B(LdaZero), |
| 1086 B(StaContextSlot), R(1), U8(9), U8(0), | 1086 B(StaContextSlot), R(1), U8(9), U8(0), |
| 1087 B(JumpLoop), U8(212), I8(0), | 1087 B(JumpLoop), U8(210), I8(0), |
| 1088 B(Jump), U8(44), | 1088 B(Jump), U8(44), |
| 1089 B(Star), R(12), | 1089 B(Star), R(12), |
| 1090 B(Ldar), R(closure), | 1090 B(Ldar), R(closure), |
| 1091 B(CreateCatchContext), R(12), U8(9), U8(10), | 1091 B(CreateCatchContext), R(12), U8(9), U8(10), |
| 1092 B(PushContext), R(2), | 1092 B(PushContext), R(2), |
| 1093 B(Star), R(11), | 1093 B(Star), R(11), |
| 1094 B(LdaContextSlot), R(1), U8(9), U8(0), | 1094 B(LdaContextSlot), R(1), U8(9), U8(0), |
| 1095 B(Star), R(12), | 1095 B(Star), R(12), |
| 1096 B(LdaSmi), I8(2), | 1096 B(LdaSmi), I8(2), |
| 1097 B(TestEqualStrict), R(12), U8(15), | 1097 B(TestEqualStrict), R(12), U8(15), |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1216 B(Jump), U8(8), | 1216 B(Jump), U8(8), |
| 1217 B(Ldar), R(6), | 1217 B(Ldar), R(6), |
| 1218 /* 49 S> */ B(Return), | 1218 /* 49 S> */ B(Return), |
| 1219 B(Ldar), R(6), | 1219 B(Ldar), R(6), |
| 1220 B(ReThrow), | 1220 B(ReThrow), |
| 1221 B(LdaUndefined), | 1221 B(LdaUndefined), |
| 1222 /* 49 S> */ B(Return), | 1222 /* 49 S> */ B(Return), |
| 1223 ] | 1223 ] |
| 1224 constant pool: [ | 1224 constant pool: [ |
| 1225 Smi [56], | 1225 Smi [56], |
| 1226 Smi [152], | 1226 Smi [150], |
| 1227 FIXED_ARRAY_TYPE, | 1227 FIXED_ARRAY_TYPE, |
| 1228 SYMBOL_TYPE, | 1228 SYMBOL_TYPE, |
| 1229 Smi [142], | 1229 Smi [142], |
| 1230 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 1230 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
| 1231 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 1231 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
| 1232 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 1232 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
| 1233 FIXED_ARRAY_TYPE, | 1233 FIXED_ARRAY_TYPE, |
| 1234 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 1234 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
| 1235 FIXED_ARRAY_TYPE, | 1235 FIXED_ARRAY_TYPE, |
| 1236 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 1236 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
| 1237 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 1237 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 1238 FIXED_ARRAY_TYPE, | 1238 FIXED_ARRAY_TYPE, |
| 1239 Smi [6], | 1239 Smi [6], |
| 1240 Smi [18], | 1240 Smi [18], |
| 1241 Smi [554], | 1241 Smi [552], |
| 1242 Smi [6], | 1242 Smi [6], |
| 1243 Smi [9], | 1243 Smi [9], |
| 1244 ] | 1244 ] |
| 1245 handlers: [ | 1245 handlers: [ |
| 1246 [56, 657, 663], | 1246 [55, 652, 658], |
| 1247 [137, 426, 432], | 1247 [134, 421, 427], |
| 1248 [140, 382, 384], | 1248 [137, 377, 379], |
| 1249 [519, 535, 537], | 1249 [514, 530, 532], |
| 1250 ] | 1250 ] |
| 1251 | 1251 |
| 1252 --- | 1252 --- |
| 1253 snippet: " | 1253 snippet: " |
| 1254 async function f(arr) { | 1254 async function f(arr) { |
| 1255 for (let x of arr) { let y = x; } | 1255 for (let x of arr) { let y = x; } |
| 1256 } | 1256 } |
| 1257 f([1, 2, 3]); | 1257 f([1, 2, 3]); |
| 1258 " | 1258 " |
| 1259 frame size: 14 | 1259 frame size: 14 |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1522 | 1522 |
| 1523 --- | 1523 --- |
| 1524 snippet: " | 1524 snippet: " |
| 1525 async function f(arr) { | 1525 async function f(arr) { |
| 1526 for (let x of arr) await x; | 1526 for (let x of arr) await x; |
| 1527 } | 1527 } |
| 1528 f([1, 2, 3]); | 1528 f([1, 2, 3]); |
| 1529 " | 1529 " |
| 1530 frame size: 19 | 1530 frame size: 19 |
| 1531 parameter count: 2 | 1531 parameter count: 2 |
| 1532 bytecode array length: 735 | 1532 bytecode array length: 732 |
| 1533 bytecodes: [ | 1533 bytecodes: [ |
| 1534 B(Ldar), R(new_target), | 1534 B(Ldar), R(new_target), |
| 1535 B(JumpIfUndefined), U8(26), | 1535 B(JumpIfUndefined), U8(25), |
| 1536 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe
t), U8(1), | 1536 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetContext), R(new_ta
rget), U8(1), |
| 1537 B(PushContext), R(4), | 1537 B(PushContext), R(4), |
| 1538 B(ResumeGenerator), R(new_target), | 1538 B(ResumeGenerator), R(new_target), |
| 1539 B(Star), R(3), | 1539 B(Star), R(3), |
| 1540 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), | 1540 B(SwitchOnSmiNoFeedback), U8(0), U8(1), I8(0), |
| 1541 B(LdaSmi), I8(79), | 1541 B(LdaSmi), I8(79), |
| 1542 B(Star), R(5), | 1542 B(Star), R(5), |
| 1543 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), | 1543 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), |
| 1544 B(LdaSmi), I8(-2), | 1544 B(LdaSmi), I8(-2), |
| 1545 B(Star), R(3), | 1545 B(Star), R(3), |
| 1546 B(CreateFunctionContext), U8(11), | 1546 B(CreateFunctionContext), U8(11), |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1592 B(Star), R(13), | 1592 B(Star), R(13), |
| 1593 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(13), U8(1), | 1593 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(13), U8(1), |
| 1594 B(ToBooleanLogicalNot), | 1594 B(ToBooleanLogicalNot), |
| 1595 B(JumpIfFalse), U8(13), | 1595 B(JumpIfFalse), U8(13), |
| 1596 B(LdaContextSlot), R(1), U8(10), U8(0), | 1596 B(LdaContextSlot), R(1), U8(10), U8(0), |
| 1597 B(Star), R(13), | 1597 B(Star), R(13), |
| 1598 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(13), U8(1), | 1598 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(13), U8(1), |
| 1599 B(LdaContextSlot), R(1), U8(10), U8(0), | 1599 B(LdaContextSlot), R(1), U8(10), U8(0), |
| 1600 B(Star), R(13), | 1600 B(Star), R(13), |
| 1601 B(LdaNamedProperty), R(13), U8(5), U8(11), | 1601 B(LdaNamedProperty), R(13), U8(5), U8(11), |
| 1602 B(JumpIfToBooleanTrue), U8(167), | 1602 B(JumpIfToBooleanTrue), U8(165), |
| 1603 B(LdaContextSlot), R(1), U8(10), U8(0), | 1603 B(LdaContextSlot), R(1), U8(10), U8(0), |
| 1604 B(Star), R(13), | 1604 B(Star), R(13), |
| 1605 B(LdaNamedProperty), R(13), U8(6), U8(13), | 1605 B(LdaNamedProperty), R(13), U8(6), U8(13), |
| 1606 B(StaContextSlot), R(1), U8(12), U8(0), | 1606 B(StaContextSlot), R(1), U8(12), U8(0), |
| 1607 B(LdaSmi), I8(2), | 1607 B(LdaSmi), I8(2), |
| 1608 B(StaContextSlot), R(1), U8(11), U8(0), | 1608 B(StaContextSlot), R(1), U8(11), U8(0), |
| 1609 B(LdaContextSlot), R(1), U8(12), U8(0), | 1609 B(LdaContextSlot), R(1), U8(12), U8(0), |
| 1610 B(StaContextSlot), R(1), U8(8), U8(0), | 1610 B(StaContextSlot), R(1), U8(8), U8(0), |
| 1611 /* 26 E> */ B(StackCheck), | 1611 /* 26 E> */ B(StackCheck), |
| 1612 B(Ldar), R(closure), | 1612 B(Ldar), R(closure), |
| (...skipping 17 matching lines...) Expand all Loading... |
| 1630 B(LdaContextSlot), R(1), U8(7), U8(0), | 1630 B(LdaContextSlot), R(1), U8(7), U8(0), |
| 1631 B(Star), R(13), | 1631 B(Star), R(13), |
| 1632 B(LdaImmutableContextSlot), R(1), U8(5), U8(0), | 1632 B(LdaImmutableContextSlot), R(1), U8(5), U8(0), |
| 1633 B(Star), R(14), | 1633 B(Star), R(14), |
| 1634 B(LdaZero), | 1634 B(LdaZero), |
| 1635 B(SuspendGenerator), R(14), U8(2), | 1635 B(SuspendGenerator), R(14), U8(2), |
| 1636 B(Ldar), R(13), | 1636 B(Ldar), R(13), |
| 1637 /* 54 S> */ B(Return), | 1637 /* 54 S> */ B(Return), |
| 1638 B(LdaSmi), I8(-2), | 1638 B(LdaSmi), I8(-2), |
| 1639 B(Star), R(3), | 1639 B(Star), R(3), |
| 1640 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1
4), U8(1), | 1640 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetInputOrDebugPos),
R(14), U8(1), |
| 1641 B(Star), R(15), | 1641 B(Star), R(15), |
| 1642 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(14), U
8(1), | 1642 B(InvokeIntrinsic), U8(Runtime::k_GeneratorGetResumeMode), R(14)
, U8(1), |
| 1643 B(Star), R(16), | 1643 B(Star), R(16), |
| 1644 B(LdaZero), | 1644 B(LdaZero), |
| 1645 B(TestEqualStrictNoFeedback), R(16), | 1645 B(TestEqualStrictNoFeedback), R(16), |
| 1646 B(JumpIfTrue), U8(40), | 1646 B(JumpIfTrue), U8(40), |
| 1647 B(LdaSmi), I8(2), | 1647 B(LdaSmi), I8(2), |
| 1648 B(TestEqualStrictNoFeedback), R(16), | 1648 B(TestEqualStrictNoFeedback), R(16), |
| 1649 B(JumpIfTrue), U8(31), | 1649 B(JumpIfTrue), U8(31), |
| 1650 B(LdaTrue), | 1650 B(LdaTrue), |
| 1651 B(Star), R(18), | 1651 B(Star), R(18), |
| 1652 B(Mov), R(15), R(17), | 1652 B(Mov), R(15), R(17), |
| 1653 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(17)
, U8(2), | 1653 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(17)
, U8(2), |
| 1654 B(PopContext), R(2), | 1654 B(PopContext), R(2), |
| 1655 B(PopContext), R(2), | 1655 B(PopContext), R(2), |
| 1656 B(PopContext), R(2), | 1656 B(PopContext), R(2), |
| 1657 B(PopContext), R(2), | 1657 B(PopContext), R(2), |
| 1658 B(PopContext), R(2), | 1658 B(PopContext), R(2), |
| 1659 B(PopContext), R(2), | 1659 B(PopContext), R(2), |
| 1660 B(Star), R(10), | 1660 B(Star), R(10), |
| 1661 B(LdaZero), | 1661 B(LdaZero), |
| 1662 B(Star), R(9), | 1662 B(Star), R(9), |
| 1663 B(Jump), U8(75), | 1663 B(Jump), U8(75), |
| 1664 B(Ldar), R(15), | 1664 B(Ldar), R(15), |
| 1665 B(ReThrow), | 1665 B(ReThrow), |
| 1666 B(PopContext), R(2), | 1666 B(PopContext), R(2), |
| 1667 B(LdaZero), | 1667 B(LdaZero), |
| 1668 B(StaContextSlot), R(1), U8(11), U8(0), | 1668 B(StaContextSlot), R(1), U8(11), U8(0), |
| 1669 B(JumpLoop), U8(235), I8(0), | 1669 B(JumpLoop), U8(233), I8(0), |
| 1670 B(Jump), U8(48), | 1670 B(Jump), U8(48), |
| 1671 B(Star), R(13), | 1671 B(Star), R(13), |
| 1672 B(Ldar), R(closure), | 1672 B(Ldar), R(closure), |
| 1673 B(CreateCatchContext), R(13), U8(8), U8(9), | 1673 B(CreateCatchContext), R(13), U8(8), U8(9), |
| 1674 B(Star), R(12), | 1674 B(Star), R(12), |
| 1675 B(LdaTheHole), | 1675 B(LdaTheHole), |
| 1676 B(SetPendingMessage), | 1676 B(SetPendingMessage), |
| 1677 B(Ldar), R(12), | 1677 B(Ldar), R(12), |
| 1678 B(PushContext), R(2), | 1678 B(PushContext), R(2), |
| 1679 B(LdaContextSlot), R(1), U8(11), U8(0), | 1679 B(LdaContextSlot), R(1), U8(11), U8(0), |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1850 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 1850 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
| 1851 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | 1851 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 1852 FIXED_ARRAY_TYPE, | 1852 FIXED_ARRAY_TYPE, |
| 1853 Smi [6], | 1853 Smi [6], |
| 1854 Smi [22], | 1854 Smi [22], |
| 1855 FIXED_ARRAY_TYPE, | 1855 FIXED_ARRAY_TYPE, |
| 1856 Smi [6], | 1856 Smi [6], |
| 1857 Smi [9], | 1857 Smi [9], |
| 1858 ] | 1858 ] |
| 1859 handlers: [ | 1859 handlers: [ |
| 1860 [65, 689, 695], | 1860 [64, 686, 692], |
| 1861 [68, 636, 638], | 1861 [67, 633, 635], |
| 1862 [85, 401, 407], | 1862 [84, 398, 404], |
| 1863 [88, 353, 355], | 1863 [87, 350, 352], |
| 1864 [494, 510, 512], | 1864 [491, 507, 509], |
| 1865 ] | 1865 ] |
| 1866 | 1866 |
| OLD | NEW |