aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-07-13 09:47:33 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-07-13 14:48:14 -0400
commit87e1486d31b26749cc2768ca299faed1b7629d57 (patch)
tree6a598066e62b18da0041fea780f395a11b53f232 /array.c
parent32231812845e5302bd457f7e4a534e7965d89d49 (diff)
downloadruby-87e1486d31b26749cc2768ca299faed1b7629d57.tar.gz
Remove unused references to the transient heap
Diffstat (limited to 'array.c')
-rw-r--r--array.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/array.c b/array.c
index 82ba8dc741..c216c05d61 100644
--- a/array.c
+++ b/array.c
@@ -57,8 +57,6 @@ VALUE rb_cArray;
* they cannot be modified. Not updating the reference count
* improves copy-on-write performance. Their reference count is
* assumed to be infinity.
- * 13: RARRAY_TRANSIENT_FLAG
- * The buffer of the array is allocated on the transient heap.
* 14: RARRAY_PTR_IN_USE_FLAG
* The buffer of the array is in use. This is only used during
* debugging.
@@ -387,7 +385,6 @@ rb_ary_make_embedded(VALUE ary)
const VALUE *buf = ARY_HEAP_PTR(ary);
long len = ARY_HEAP_LEN(ary);
- // FL_SET_EMBED also unsets the transient flag
FL_SET_EMBED(ary);
ARY_SET_EMBED_LEN(ary, len);