diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-12-30 12:55:53 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-12-30 12:55:53 +0100 |
commit | 64d583d6caadb6c6e1f21bbc9385e2a53b81fe5b (patch) | |
tree | f8976cb0f35269c7006206ff0cfbfa3b5ba6a2b3 /compiler | |
parent | 5e8ac0792e645dd75024a87e204303fe60e8613a (diff) | |
download | Nim-64d583d6caadb6c6e1f21bbc9385e2a53b81fe5b.tar.gz |
destroyer pass: disable debug output
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/destroyer.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/destroyer.nim b/compiler/destroyer.nim index caa18af92..0fdeceba0 100644 --- a/compiler/destroyer.nim +++ b/compiler/destroyer.nim @@ -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) |