summaryrefslogtreecommitdiff
path: root/transient_heap.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-12-28 17:58:39 +0900
committerKoichi Sasada <ko1@atdot.net>2021-12-29 00:22:02 +0900
commitc9af8a32a05b26d45c5c8967902b3a724f3c1be6 (patch)
tree1ddf2e3ae5dd1998c7eff2c317223bc06f6db01b /transient_heap.c
parent763592d208883714f3d255eb5fb1bee649e9613b (diff)
downloadruby-c9af8a32a05b26d45c5c8967902b3a724f3c1be6.tar.gz
`USE_RUBY_DEBUG_LOG` doesn't check `RUBY_DEVEL`
`USE_RUBY_DEBUG_LOG` was only defined when `RUBY_DEVEL` is defined. This patch removes this dependency (`USE_RUBY_DEBUG_LOG` is defined independently from `RUBY_DEVEL`). Do not commit a patch which enables `USE_RUBY_DEBUG_LOG`.
Diffstat (limited to 'transient_heap.c')
-rw-r--r--transient_heap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/transient_heap.c b/transient_heap.c
index c3df263491..ba6f87aa69 100644
--- a/transient_heap.c
+++ b/transient_heap.c
@@ -748,7 +748,7 @@ transient_heap_block_evacuate(struct transient_heap* theap, struct transient_hea
}
}
-#if defined(USE_RUBY_DEBUG_LOG) && USE_RUBY_DEBUG_LOG
+#if USE_RUBY_DEBUG_LOG
static const char *
transient_heap_status_cstr(enum transient_heap_status status)
{
@@ -964,8 +964,6 @@ void
rb_transient_heap_finish_marking(void)
{
ASSERT_vm_locking();
- RUBY_DEBUG_LOG("");
-
struct transient_heap* theap = transient_heap_get();
RUBY_DEBUG_LOG("objects:%d, marked:%d",