add object creation debug flag to picconf
This commit is contained in:
parent
099d40cfb8
commit
daece7ae67
|
@ -4,6 +4,7 @@
|
||||||
#define DEBUG 1
|
#define DEBUG 1
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
# define OBJECT_CREATION_DEBUG 1
|
||||||
# define GC_DEBUG 1
|
# define GC_DEBUG 1
|
||||||
# define VM_DEBUG 1
|
# define VM_DEBUG 1
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -38,7 +38,9 @@ main()
|
||||||
|
|
||||||
pic = pic_open();
|
pic = pic_open();
|
||||||
|
|
||||||
//test_object_creation(pic);
|
#if OBJECT_CREATION_DEBUG
|
||||||
|
test_object_creation(pic);
|
||||||
|
#endif
|
||||||
|
|
||||||
ai = pic_gc_arena_preserve(pic);
|
ai = pic_gc_arena_preserve(pic);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue