diff options
Diffstat (limited to 'compiler/destroyer.nim')
-rw-r--r-- | compiler/destroyer.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/destroyer.nim b/compiler/destroyer.nim index ffa3e37e5..cd16469de 100644 --- a/compiler/destroyer.nim +++ b/compiler/destroyer.nim @@ -430,6 +430,7 @@ proc injectDestructorCalls*(owner: PSym; n: PNode): PNode = c.tmp.typ = c.tmpObj c.destroys = newNodeI(nkStmtList, n.info) c.topLevelVars = newNodeI(nkVarSection, n.info) + c.toDropBit = initTable[int, PSym]() let cfg = constructCfg(owner, n) shallowCopy(c.g, cfg) c.jumpTargets = initIntSet() |