]> git.llucax.com Git - software/dgc/cdgc.git/commit
Check the sentinel invariant in release builds too
authorLeandro Lucarella <llucax@gmail.com>
Thu, 26 Aug 2010 21:53:19 +0000 (18:53 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 26 Aug 2010 21:53:19 +0000 (18:53 -0300)
commit0955e008a80ca01988e5f6d4fa8bb7646f4262f4
tree3214042da806b954f3979d908c19d79ff5657b05
parentb4c0bb4114cdbf12c85b793b158b638a8005992e
Check the sentinel invariant in release builds too

When building a release, the sentinel invariant isn't checked, even if the
"sentinel" option is used. This patches checks the invariant always when
the option is activated, abort()ing the program if the invariant fails.
rt/gc/cdgc/gc.d