Remove dead rb_malloc_info_show_results

This commit is contained in:
Peter Zhu 2025-06-04 09:55:03 -04:00
parent 3b5787a97f
commit 99cc100cdf
Notes: git 2025-06-04 18:07:32 +00:00
2 changed files with 0 additions and 7 deletions

5
gc.c
View File

@ -5163,11 +5163,6 @@ rb_memerror_reentered(void)
return (ec && rb_ec_raised_p(ec, RAISED_NOMEMORY));
}
void
rb_malloc_info_show_results(void)
{
}
static void *
handle_malloc_failure(void *ptr)
{

View File

@ -403,7 +403,6 @@ interrupt_init(int argc, VALUE *argv, VALUE self)
return rb_call_super(2, args);
}
void rb_malloc_info_show_results(void); /* gc.c */
#if defined(USE_SIGALTSTACK) || defined(_WIN32)
static void reset_sigmask(int sig);
#endif
@ -414,7 +413,6 @@ ruby_default_signal(int sig)
#if USE_DEBUG_COUNTER
rb_debug_counter_show_results("killed by signal.");
#endif
rb_malloc_info_show_results();
signal(sig, SIG_DFL);
#if defined(USE_SIGALTSTACK) || defined(_WIN32)