(chunkGroupInfo)
| 1012 | * @returns {bigint} The mask of available modules after the chunk group |
| 1013 | */ |
| 1014 | const calculateResultingAvailableModules = (chunkGroupInfo) => { |
| 1015 | if (chunkGroupInfo.resultingAvailableModules !== undefined) { |
| 1016 | return chunkGroupInfo.resultingAvailableModules; |
| 1017 | } |
| 1018 | |
| 1019 | let resultingAvailableModules = /** @type {bigint} */ ( |
| 1020 | chunkGroupInfo.minAvailableModules |
| 1021 | ); |
| 1022 | |
| 1023 | class="cm">// add the modules from the chunk group to the set |
| 1024 | for (const chunk of chunkGroupInfo.chunkGroup.chunks) { |
| 1025 | const mask = /** @type {bigint} */ (maskByChunk.get(chunk)); |
| 1026 | resultingAvailableModules |= mask; |
| 1027 | } |
| 1028 | |
| 1029 | return (chunkGroupInfo.resultingAvailableModules = |
| 1030 | resultingAvailableModules); |
| 1031 | }; |
| 1032 | |
| 1033 | const processConnectQueue = () => { |
| 1034 | class="cm">// Figure out new parents for chunk groups |
no test coverage detected