Commit 32565d1
Reland "[frontend_server] Soft-deprecate moduleName for compileExpressionToJS"
This reverts commit 817306a.
Reason for revert: Later patchset includes fix for `frontend_server_circular_evaluate_test`.
The fix is to cache the bundle/program compiler for all the
libraries in the strongly connected component, and not just
for the initial one that determines the component uri.
Original change's description:
> Revert "[frontend_server] Soft-deprecate moduleName for compileExpressionToJS"
>
> This reverts commit 294a50f.
>
> Reason for revert: This breaks `frontend_server_circular_evaluate_test` in DWDS.
>
> Original change's description:
> > [frontend_server] Soft-deprecate moduleName for compileExpressionToJS
> >
> > #58265
> >
> > The DDC library bundle format does not give names to modules.
> > Therefore the frontend server should try and find the compiler
> > associated with the library and not the module to be consistent.
> > This then means that moduleName becomes entirely unused, and
> > therefore we can soft-deprecate it.
> >
> > Change-Id: I241c63a346d046405599384409a373ab12be2654
> > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/396102
> > Commit-Queue: Srujan Gaddam <[email protected]>
> > Reviewed-by: Johnni Winther <[email protected]>
>
> Change-Id: I74b096f7ebc322c9d4428d236ab226ef1adcb6b9
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/396567
> Reviewed-by: Nicholas Shahan <[email protected]>
> Reviewed-by: Johnni Winther <[email protected]>
> Bot-Commit: Rubber Stamper <[email protected]>
> Commit-Queue: Srujan Gaddam <[email protected]>
Change-Id: I45852c29a0b5735976f6a5f649f3ee84b26ef76c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/396572
Reviewed-by: Nicholas Shahan <[email protected]>
Reviewed-by: Johnni Winther <[email protected]>
Commit-Queue: Srujan Gaddam <[email protected]>1 parent 6a1d3de commit 32565d1
File tree
4 files changed
+30
-60
lines changed- pkg/frontend_server
- lib
- src
- test
- src
4 files changed
+30
-60
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | 371 | | |
373 | 372 | | |
374 | 373 | | |
| |||
383 | 382 | | |
384 | 383 | | |
385 | 384 | | |
386 | | - | |
387 | 385 | | |
388 | 386 | | |
389 | 387 | | |
| |||
1107 | 1105 | | |
1108 | 1106 | | |
1109 | 1107 | | |
1110 | | - | |
| 1108 | + | |
1111 | 1109 | | |
1112 | | - | |
1113 | | - | |
| 1110 | + | |
| 1111 | + | |
1114 | 1112 | | |
1115 | 1113 | | |
1116 | 1114 | | |
| |||
1121 | 1119 | | |
1122 | 1120 | | |
1123 | 1121 | | |
1124 | | - | |
1125 | 1122 | | |
1126 | 1123 | | |
1127 | 1124 | | |
| |||
1130 | 1127 | | |
1131 | 1128 | | |
1132 | 1129 | | |
1133 | | - | |
1134 | | - | |
| 1130 | + | |
| 1131 | + | |
1135 | 1132 | | |
1136 | 1133 | | |
1137 | | - | |
1138 | 1134 | | |
1139 | 1135 | | |
1140 | 1136 | | |
1141 | 1137 | | |
1142 | | - | |
| 1138 | + | |
1143 | 1139 | | |
1144 | | - | |
| 1140 | + | |
1145 | 1141 | | |
1146 | 1142 | | |
1147 | 1143 | | |
| |||
1370 | 1366 | | |
1371 | 1367 | | |
1372 | 1368 | | |
1373 | | - | |
1374 | 1369 | | |
1375 | 1370 | | |
1376 | 1371 | | |
| |||
1594 | 1589 | | |
1595 | 1590 | | |
1596 | 1591 | | |
1597 | | - | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
1598 | 1595 | | |
1599 | 1596 | | |
1600 | 1597 | | |
| |||
1606 | 1603 | | |
1607 | 1604 | | |
1608 | 1605 | | |
1609 | | - | |
1610 | 1606 | | |
1611 | 1607 | | |
1612 | 1608 | | |
| |||
1744 | 1740 | | |
1745 | 1741 | | |
1746 | 1742 | | |
1747 | | - | |
1748 | 1743 | | |
1749 | 1744 | | |
1750 | 1745 | | |
1751 | 1746 | | |
1752 | 1747 | | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
1753 | 1751 | | |
1754 | 1752 | | |
1755 | 1753 | | |
| |||
1761 | 1759 | | |
1762 | 1760 | | |
1763 | 1761 | | |
1764 | | - | |
1765 | 1762 | | |
1766 | 1763 | | |
1767 | 1764 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | | - | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
798 | | - | |
799 | 798 | | |
800 | 799 | | |
801 | 800 | | |
| |||
835 | 834 | | |
836 | 835 | | |
837 | 836 | | |
838 | | - | |
839 | 837 | | |
840 | 838 | | |
841 | 839 | | |
| |||
850 | 848 | | |
851 | 849 | | |
852 | 850 | | |
853 | | - | |
854 | 851 | | |
855 | 852 | | |
856 | 853 | | |
| |||
891 | 888 | | |
892 | 889 | | |
893 | 890 | | |
894 | | - | |
895 | 891 | | |
896 | 892 | | |
897 | 893 | | |
| |||
918 | 914 | | |
919 | 915 | | |
920 | 916 | | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
| 917 | + | |
926 | 918 | | |
927 | 919 | | |
928 | 920 | | |
| |||
2818 | 2810 | | |
2819 | 2811 | | |
2820 | 2812 | | |
2821 | | - | |
2822 | 2813 | | |
2823 | 2814 | | |
2824 | 2815 | | |
| |||
2854 | 2845 | | |
2855 | 2846 | | |
2856 | 2847 | | |
2857 | | - | |
2858 | | - | |
2859 | | - | |
2860 | | - | |
2861 | | - | |
| 2848 | + | |
2862 | 2849 | | |
2863 | 2850 | | |
2864 | 2851 | | |
| |||
2869 | 2856 | | |
2870 | 2857 | | |
2871 | 2858 | | |
2872 | | - | |
2873 | | - | |
2874 | | - | |
2875 | | - | |
2876 | | - | |
| 2859 | + | |
2877 | 2860 | | |
2878 | 2861 | | |
2879 | 2862 | | |
| |||
2933 | 2916 | | |
2934 | 2917 | | |
2935 | 2918 | | |
2936 | | - | |
2937 | 2919 | | |
2938 | 2920 | | |
2939 | 2921 | | |
| |||
2979 | 2961 | | |
2980 | 2962 | | |
2981 | 2963 | | |
2982 | | - | |
2983 | | - | |
| 2964 | + | |
2984 | 2965 | | |
2985 | 2966 | | |
2986 | 2967 | | |
| |||
3030 | 3011 | | |
3031 | 3012 | | |
3032 | 3013 | | |
3033 | | - | |
3034 | 3014 | | |
3035 | 3015 | | |
3036 | 3016 | | |
| |||
3067 | 3047 | | |
3068 | 3048 | | |
3069 | 3049 | | |
3070 | | - | |
3071 | | - | |
3072 | | - | |
3073 | | - | |
3074 | | - | |
| 3050 | + | |
3075 | 3051 | | |
3076 | 3052 | | |
3077 | 3053 | | |
| |||
3092 | 3068 | | |
3093 | 3069 | | |
3094 | 3070 | | |
3095 | | - | |
3096 | | - | |
3097 | | - | |
3098 | | - | |
3099 | | - | |
| 3071 | + | |
3100 | 3072 | | |
3101 | 3073 | | |
3102 | 3074 | | |
| |||
3739 | 3711 | | |
3740 | 3712 | | |
3741 | 3713 | | |
3742 | | - | |
3743 | 3714 | | |
3744 | 3715 | | |
3745 | 3716 | | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
| 3720 | + | |
3746 | 3721 | | |
3747 | 3722 | | |
3748 | 3723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
| 218 | + | |
222 | 219 | | |
223 | 220 | | |
224 | 221 | | |
| |||
0 commit comments