mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove rb_threadptr_during_gc().
* gc.c (rb_threadptr_during_gc): removed because nobody use it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
aafa4ebff2
commit
5256f77527
2 changed files with 0 additions and 8 deletions
7
gc.c
7
gc.c
|
@ -6745,13 +6745,6 @@ rb_during_gc(void)
|
||||||
return during_gc;
|
return during_gc;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
rb_threadptr_during_gc(rb_thread_t *th)
|
|
||||||
{
|
|
||||||
rb_objspace_t *objspace = rb_objspace_of(th->vm);
|
|
||||||
return during_gc;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if RGENGC_PROFILE >= 2
|
#if RGENGC_PROFILE >= 2
|
||||||
|
|
||||||
static const char *type_name(int type, VALUE obj);
|
static const char *type_name(int type, VALUE obj);
|
||||||
|
|
1
gc.h
1
gc.h
|
@ -91,7 +91,6 @@ const char *rb_raw_obj_info(char *buff, const int buff_size, VALUE obj);
|
||||||
void rb_obj_info_dump(VALUE obj);
|
void rb_obj_info_dump(VALUE obj);
|
||||||
|
|
||||||
struct rb_thread_struct;
|
struct rb_thread_struct;
|
||||||
int rb_threadptr_during_gc(struct rb_thread_struct *th);
|
|
||||||
|
|
||||||
RUBY_SYMBOL_EXPORT_BEGIN
|
RUBY_SYMBOL_EXPORT_BEGIN
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue