ruby-changes:54027
From: naruse <ko1@a...>
Date: Thu, 6 Dec 2018 21:35:06 +0900 (JST)
Subject: [ruby-changes:54027] naruse:r66247 (trunk): Should be true fix for r66200
naruse 2018-12-06 21:35:00 +0900 (Thu, 06 Dec 2018) New Revision: 66247 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66247 Log: Should be true fix for r66200 Modified files: trunk/include/ruby/ruby.h trunk/internal.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 66246) +++ include/ruby/ruby.h (revision 66247) @@ -2163,11 +2163,6 @@ rb_array_const_ptr(VALUE a) https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L2163 return rb_array_const_ptr_transient(a); } -/* fix related to r66200 */ -#ifdef __INTEL_COMPILER -VALUE *rb_ary_ptr_use_start(VALUE ary); -#endif - /* internal function. do not use this function */ static inline VALUE * rb_array_ptr_use_start(VALUE a, int allow_transient) Index: internal.h =================================================================== --- internal.h (revision 66246) +++ internal.h (revision 66247) @@ -2223,6 +2223,7 @@ VALUE rb_thread_io_blocking_region(rb_bl https://github.com/ruby/ruby/blob/trunk/internal.h#L2223 /* array.c (export) */ void rb_ary_detransient(VALUE a); +VALUE *rb_ary_ptr_use_start(VALUE ary); /* bignum.c (export) */ VALUE rb_big_mul_normal(VALUE x, VALUE y); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/