summaryrefslogtreecommitdiff
path: root/rts/StablePtr.h
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-06-23 18:41:40 +0200
committerDaniel Gröber <dxld@darkboxed.org>2019-09-22 15:18:10 +0200
commit64ec45a798f9b335ab9ba8cb2c7bb9ae0f056ba1 (patch)
treebbaf428de7cec92e1b92a28f914cda00015ab3fd /rts/StablePtr.h
parentb7e15d17a48286548f26f93594fb1b0b700dd422 (diff)
downloadhaskell-64ec45a798f9b335ab9ba8cb2c7bb9ae0f056ba1.tar.gz
rts: retainer: Reduce DEBUG_RETAINER ifdef noise
Keeping track of the maximum stack seems like a good idea in all configurations. The associated ASSERTs only materialize in debug mode but having the statistic is nice. To make the debug code less prone to bitrotting I introduce a function 'debug()' which doesn't actually print by default and is #define'd away only when the standard DEBUG define is off.
Diffstat (limited to 'rts/StablePtr.h')
0 files changed, 0 insertions, 0 deletions