diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-07-13 09:47:33 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-07-13 14:48:14 -0400 |
commit | 87e1486d31b26749cc2768ca299faed1b7629d57 (patch) | |
tree | 6a598066e62b18da0041fea780f395a11b53f232 /array.c | |
parent | 32231812845e5302bd457f7e4a534e7965d89d49 (diff) |
Remove unused references to the transient heap
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8071
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); |