summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2021-11-05 09:51:53 -0400
committerPeter Zhu <peter@peterzhu.ca>2021-11-08 14:05:54 -0500
commitaeae6e2842e1702dfb89b8ae69b48c4f5f64c662 (patch)
tree33a7c7e23bf109123a77c7eb644e66e9bd44d75d /bignum.c
parentaa5bccfc65cf47a10d72cefa4bc2ee097f135b4c (diff)
downloadruby-aeae6e2842e1702dfb89b8ae69b48c4f5f64c662.tar.gz
[Feature #18290] Remove all usages of rb_gc_force_recycle
This commit removes usages of rb_gc_force_recycle since it is a burden to maintain and makes changes to the GC difficult.
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bignum.c b/bignum.c
index c74df3f4da..f83fbe2c14 100644
--- a/bignum.c
+++ b/bignum.c
@@ -6934,8 +6934,6 @@ rb_big_isqrt(VALUE n)
bary_small_rshift(xds, xds, xn, 1, carry);
tn = BIGNUM_LEN(t);
}
- rb_big_realloc(t, 0);
- rb_gc_force_recycle(t);
}
RBASIC_SET_CLASS_RAW(x, rb_cInteger);
return x;