ruby-changes:32086
From: ko1 <ko1@a...>
Date: Fri, 13 Dec 2013 11:53:37 +0900 (JST)
Subject: [ruby-changes:32086] ko1:r44165 (trunk): * array.c: fix comment to remove the word "shady".
ko1 2013-12-13 11:53:27 +0900 (Fri, 13 Dec 2013) New Revision: 44165 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44165 Log: * array.c: fix comment to remove the word "shady". * variable.c: ditto. Modified files: trunk/ChangeLog trunk/array.c trunk/variable.c Index: array.c =================================================================== --- array.c (revision 44164) +++ array.c (revision 44165) @@ -90,7 +90,7 @@ ary_memcpy(VALUE ary, long beg, long arg https://github.com/ruby/ruby/blob/trunk/array.c#L90 }); } #else - /* use shady (traditional way) */ + /* giveup write barrier (traditional way) */ MEMCPY(RARRAY_PTR(ary)+beg, argv, VALUE, argc); #endif } @@ -576,7 +576,7 @@ ary_make_shared(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L576 } else { long capa = ARY_CAPA(ary), len = RARRAY_LEN(ary); - NEWOBJ_OF(shared, struct RArray, 0, T_ARRAY); /* keep shared ary as shady */ + NEWOBJ_OF(shared, struct RArray, 0, T_ARRAY); /* keep shared ary as non-WB-protected */ FL_UNSET_EMBED(shared); ARY_SET_LEN((VALUE)shared, capa); Index: ChangeLog =================================================================== --- ChangeLog (revision 44164) +++ ChangeLog (revision 44165) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Dec 13 11:52:41 2013 Koichi Sasada <ko1@a...> + + * array.c: fix comment to remove the word "shady". + + * variable.c: ditto. + Fri Dec 13 11:33:55 2013 Koichi Sasada <ko1@a...> * gc.c: rename *shady* func/macros. Index: variable.c =================================================================== --- variable.c (revision 44164) +++ variable.c (revision 44165) @@ -2185,7 +2185,7 @@ rb_const_set(VALUE klass, ID id, VALUE v https://github.com/ruby/ruby/blob/trunk/variable.c#L2185 if (load && (ele = check_autoload_data(load)) && (ele->thread == rb_thread_current())) { rb_clear_constant_cache(); - ele->value = val; /* autoload_i is shady */ + ele->value = val; /* autoload_i is non-WB-protected */ return; } /* otherwise, allow to override */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/