destroyer pass: disable debug output
This commit is contained in:
parent
5e8ac0792e
commit
64d583d6ca
1 changed files with 2 additions and 1 deletions
|
|
@ -296,7 +296,8 @@ proc p(n: PNode; c: var Con): PNode =
|
|||
recurse(n, result)
|
||||
|
||||
proc injectDestructorCalls*(owner: PSym; n: PNode): PNode =
|
||||
echo "injecting into ", n
|
||||
when defined(nimDebugDestroys):
|
||||
echo "injecting into ", n
|
||||
var c: Con
|
||||
c.owner = owner
|
||||
c.tmp = newSym(skTemp, getIdent":d", owner, n.info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue