mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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
2 changed files with 0 additions and 7 deletions
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…
Add table
Add a link
Reference in a new issue