diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2020-04-18 07:03:05 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-07-29 13:12:47 -0400 |
commit | 296ed7395c9a45352cf2e03ef9ff0b3b1f5a1a80 (patch) | |
tree | 3e8e88cb824add473bca6c9f56bcccd5c305eddf /compiler/cbits | |
parent | de2629304aa2df1783f099e1da2cd04ce0423790 (diff) | |
download | haskell-296ed7395c9a45352cf2e03ef9ff0b3b1f5a1a80.tar.gz |
rts: Allow building with ASSERTs on in non-DEBUG way
We have a couple of places where the conditions in asserts depend on code
ifdefed out when DEBUG is off. I'd like to allow compiling assertions into
non-DEBUG RTSen so that won't do.
Currently if we remove the conditional around the definition of ASSERT()
the build will not actually work due to a deadlock caused by initMutex not
initializing mutexes with PTHREAD_MUTEX_ERRORCHECK because DEBUG is off.
Diffstat (limited to 'compiler/cbits')
0 files changed, 0 insertions, 0 deletions