changed the way to exit the gc finalizer.

touched up processor scheduling debug statements
This commit is contained in:
hyunghwan.chung
2017-08-20 14:43:34 +00:00
parent 3a62300269
commit 37cf7be1bb
6 changed files with 56 additions and 26 deletions

View File

@ -46,13 +46,13 @@
#if !defined(NDEBUG)
/* this is for gc debugging */
#define MOO_DEBUG_GC
/*#define MOO_DEBUG_LEXER*/
#define MOO_DEBUG_COMPILER
#define MOO_DEBUG_VM_PROCESSOR
#define MOO_DEBUG_GC 1
/*#define MOO_DEBUG_LEXER 1*/
#define MOO_DEBUG_COMPILER 1
#define MOO_DEBUG_VM_PROCESSOR 1
/*#define MOO_DEBUG_VM_EXEC*/
#define MOO_DEBUG_BIGINT
#define MOO_PROFILE_VM
#define MOO_DEBUG_BIGINT 1
#define MOO_PROFILE_VM 1
#endif
/* allow the caller to drive process switching by calling