summaryrefslogtreecommitdiff
path: root/rts/Exception.cmm
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-06-06 09:15:39 +0200
committerDaniel Gröber <dxld@darkboxed.org>2019-09-22 15:18:09 +0200
commitead05f8045403e997c88c784b409d03c1fd0aee1 (patch)
tree57f6a426ad4110cd4f84abeb6f9c9b062efc0d97 /rts/Exception.cmm
parent63023dc26100b0fee46281890518fa5eab2ddc59 (diff)
downloadhaskell-ead05f8045403e997c88c784b409d03c1fd0aee1.tar.gz
rts: retainer: Turn global traversal state into a struct
Global state is ugly and hard to test. Since the profiling code isn't quite as performance critical as, say, GC we should prefer better code here. I would like to move the 'flip' bit into the struct too but that's complicated by the fact that the defines which use it directly are also called from ProfHeap where the traversalState is not easily available. Maybe in a future commit.
Diffstat (limited to 'rts/Exception.cmm')
0 files changed, 0 insertions, 0 deletions