added the --debug option for the debug build
This commit is contained in:
@ -44,9 +44,12 @@
|
||||
* PUSH_CONTEXT, PUSH_INTLIT, PUSH_INTLIT, SEND_BLOCK_COPY */
|
||||
#define MOO_USE_MAKE_BLOCK
|
||||
|
||||
/* define this to enable karatsuba multiplication in bigint */
|
||||
#define MOO_ENABLE_KARATSUBA
|
||||
#define MOO_KARATSUBA_CUTOFF 32
|
||||
#define MOO_KARATSUBA_CUTOFF_DEBUG 3
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
/* this is for gc debugging */
|
||||
#define MOO_DEBUG_GC 1
|
||||
/*#define MOO_DEBUG_LEXER 1*/
|
||||
#define MOO_DEBUG_COMPILER 1
|
||||
#define MOO_DEBUG_VM_PROCESSOR 1
|
||||
@ -55,6 +58,9 @@
|
||||
#define MOO_PROFILE_VM 1
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
/* allow the caller to drive process switching by calling
|
||||
* moo_switchprocess(). */
|
||||
#define MOO_EXTERNAL_PROCESS_SWITCH
|
||||
|
Reference in New Issue
Block a user