fixes #7757
This commit is contained in:
parent
97056fbb9b
commit
d8dd43e500
1 changed files with 1 additions and 0 deletions
|
|
@ -430,6 +430,7 @@ proc injectDestructorCalls*(owner: PSym; n: PNode): PNode =
|
||||||
c.tmp.typ = c.tmpObj
|
c.tmp.typ = c.tmpObj
|
||||||
c.destroys = newNodeI(nkStmtList, n.info)
|
c.destroys = newNodeI(nkStmtList, n.info)
|
||||||
c.topLevelVars = newNodeI(nkVarSection, n.info)
|
c.topLevelVars = newNodeI(nkVarSection, n.info)
|
||||||
|
c.toDropBit = initTable[int, PSym]()
|
||||||
let cfg = constructCfg(owner, n)
|
let cfg = constructCfg(owner, n)
|
||||||
shallowCopy(c.g, cfg)
|
shallowCopy(c.g, cfg)
|
||||||
c.jumpTargets = initIntSet()
|
c.jumpTargets = initIntSet()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue