diff options
author | Koichi Sasada <[email protected]> | 2021-12-28 17:58:39 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2021-12-29 00:22:02 +0900 |
commit | c9af8a32a05b26d45c5c8967902b3a724f3c1be6 (patch) | |
tree | 1ddf2e3ae5dd1998c7eff2c317223bc06f6db01b /transient_heap.c | |
parent | 763592d208883714f3d255eb5fb1bee649e9613b (diff) |
`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`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5366
Diffstat (limited to 'transient_heap.c')
-rw-r--r-- | transient_heap.c | 4 |
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", |