We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 489a136 commit e34d5cfCopy full SHA for e34d5cf
gc/mmtk/mmtk.c
@@ -83,6 +83,12 @@ RB_THREAD_LOCAL_SPECIFIER VALUE marking_parent_object;
83
# error We currently need language-supported TLS
84
#endif
85
86
+#ifdef MMTK_DEBUG
87
+# define MMTK_ASSERT(expr, ...) RUBY_ASSERT_ALWAYS(expr, #expr RBIMPL_VA_OPT_ARGS(__VA_ARGS__))
88
+#else
89
+# define MMTK_ASSERT(expr, ...) ((void)0)
90
+#endif
91
+
92
#include <pthread.h>
93
94
static void
0 commit comments