include/ruby/ruby.h: de-transient at RARRAY_PTR_USE and RARRAY_PTR_USE_START.
Introduce RARRAY_PTR_USE_TRANSIENT and RARRAY_PTR_USE_START_TRANSIENT if you don't want to
de-transient an array. Generally, it is difficult
so C-extension writers should not use them.
array.c: use RARRAY_PTR_USE_TRANSIENT if possible.
hash.c: ditto.
enum.c (enum_sort_by): remove rb_ary_transient_heap_evacuate()
because RARRAY_PTR_USE do de-transient.
make
RARRAY_PTR_USEmore conservertive.include/ruby/ruby.h: de-transient at
RARRAY_PTR_USEandRARRAY_PTR_USE_START.Introduce
RARRAY_PTR_USE_TRANSIENTandRARRAY_PTR_USE_START_TRANSIENTif you don't want tode-transient an array. Generally, it is difficult
so C-extension writers should not use them.
array.c: use
RARRAY_PTR_USE_TRANSIENTif possible.hash.c: ditto.
enum.c (enum_sort_by): remove
rb_ary_transient_heap_evacuate()because
RARRAY_PTR_USEdo de-transient.git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e