* Processes the provided new chunk. * @param {Chunk} newChunk the new chunk that will be split out of * @returns {void}
(newChunk)
| 615 | * @returns {void} |
| 616 | */ |
| 617 | split(newChunk) { |
| 618 | for (const chunkGroup of this._groups) { |
| 619 | chunkGroup.insertChunk(newChunk, this); |
| 620 | newChunk.addGroup(chunkGroup); |
| 621 | } |
| 622 | for (const idHint of this.idNameHints) { |
| 623 | newChunk.idNameHints.add(idHint); |
| 624 | } |
| 625 | newChunk.runtime = mergeRuntime(newChunk.runtime, this.runtime); |
| 626 | } |
| 627 | |
| 628 | /** |
| 629 | * Updates the hash with the data contributed by this instance. |