Remove dead rb_malloc_info_show_results
This commit is contained in:
parent
3b5787a97f
commit
99cc100cdf
Notes:
git
2025-06-04 18:07:32 +00:00
5
gc.c
5
gc.c
@ -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)
|
||||
{
|
||||
|
2
signal.c
2
signal.c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user