add object creation debug flag to picconf

This commit is contained in:
Yuichi Nishiwaki 2013-10-15 09:14:34 +09:00
parent 099d40cfb8
commit daece7ae67
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,7 @@
#define DEBUG 1
#if DEBUG
# define OBJECT_CREATION_DEBUG 1
# define GC_DEBUG 1
# define VM_DEBUG 1
#endif

View File

@ -38,7 +38,9 @@ main()
pic = pic_open();
//test_object_creation(pic);
#if OBJECT_CREATION_DEBUG
test_object_creation(pic);
#endif
ai = pic_gc_arena_preserve(pic);