Merge pull request #409 from Alkarex/patch-1
[mono.git] / mono / metadata / sgen-conf.h
index 19f28cde038411ae6f1248b73232c3353d8942d7..8221812cc895a93096e3901b71c268aa2cad2d7a 100644 (file)
@@ -82,11 +82,17 @@ typedef guint64 mword;
 
 /*
  * Maximum level of debug to enable on this build.
- * Making this a static variable enables us to put logging in a lot of places.
- * FIXME decouple logging from assertions
+ * Making this a constant enables us to put logging in a lot of places and
+ * not pay its cost on release builds.
  */
 #define SGEN_MAX_DEBUG_LEVEL 2
 
+/*
+ * Maximum level of asserts to enable on this build.
+ * FIXME replace all magic numbers with defines.
+ */
+#define SGEN_MAX_ASSERT_LEVEL 2
+
 
 #define GC_BITS_PER_WORD (sizeof (mword) * 8)