summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-29 13:51:37 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-29 13:51:37 +0000
commit5256f7752763249288662c6c5ffc5686d244a535 (patch)
treee027cb1700ed1fe39a8a8686048084a5a697e244 /gc.c
parentaafa4ebff234a4cdadf00c893369edb4b4a4ab38 (diff)
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
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gc.c b/gc.c
index 5793d64124..b485a3ba39 100644
--- a/gc.c
+++ b/gc.c
@@ -6745,13 +6745,6 @@ rb_during_gc(void)
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
static const char *type_name(int type, VALUE obj);