1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-09 15:10:29 +02:00

Switch mark-sweep collector to mark stack

Slows down performance though!  Have to think here.
This commit is contained in:
Andy Wingo 2022-03-10 10:48:42 +01:00
parent 502c0455a7
commit d2828975a5
5 changed files with 183 additions and 25 deletions

10
debug.h Normal file
View file

@ -0,0 +1,10 @@
#ifndef DEBUG_H
#define DEBUG_H
#ifndef NDEBUG
#define DEBUG(...) fprintf (stderr, "DEBUG: " __VA_ARGS__)
#else
#define DEBUG(...) do { } while (0)
#endif
#endif // DEBUG_H