diff --git a/packages/compiler/src/frontend/lowering/lowerer.ts b/packages/compiler/src/frontend/lowering/lowerer.ts index 01420fe94..282e33faf 100644 --- a/packages/compiler/src/frontend/lowering/lowerer.ts +++ b/packages/compiler/src/frontend/lowering/lowerer.ts @@ -4014,6 +4014,11 @@ export class Lowerer { setTable("freezableArrays", this.freezableArrays), checkedTable("moduleOrder", () => this.moduleOrder.length), checkedTable("diags", () => this.diags.length), + // Node island call sites hold literals of the unit's IR that lowering's + // end rewrites to module tree paths (nodeIslandRecord): a unit that adds + // one lowers again rather than replaying a record. + checkedTable("nodeIslandCallers", () => this.nodeIslandCallers.length), + checkedTable("nodeIslandSpecifiers", () => this.nodeIslandSpecifiers.length), checkedTable("fnSigsBySymbol", () => this.fnSigsBySymbol.size), checkedTable("cjsExportsAssignments", () => this.cjsExportsAssignments.size), checkedTable("inlineRequireCycleCalls", () => this.inlineRequireCycleCalls.size), @@ -4403,6 +4408,11 @@ export class Lowerer { () => this.usesLifetimeRegions, () => (this.usesLifetimeRegions = true), ), + flag( + "usesNodeIsland", + () => this.usesNodeIsland, + () => (this.usesNodeIsland = true), + ), flag( "cjsModuleGraphEnabled", () => this.cjsModuleGraphEnabled,