diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2019-06-06 09:15:39 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2019-09-22 15:18:09 +0200 |
commit | ead05f8045403e997c88c784b409d03c1fd0aee1 (patch) | |
tree | 57f6a426ad4110cd4f84abeb6f9c9b062efc0d97 /rts/Updates.cmm | |
parent | 63023dc26100b0fee46281890518fa5eab2ddc59 (diff) | |
download | haskell-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/Updates.cmm')
0 files changed, 0 insertions, 0 deletions