summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-13 02:53:27 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-13 02:53:27 +0000
commit3477670963c7cc4d929e5196369f5327421ff62d (patch)
tree67123c39b26798bbe06cb91d593a7e67037d634e /array.c
parentd8f619e1a7b703ca1dd6c9c63be63c2b1492e9bb (diff)
* array.c: fix comment to remove the word "shady".
* variable.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index 1126822..b9983a6 100644
--- a/array.c
+++ b/array.c
@@ -90,7 +90,7 @@ ary_memcpy(VALUE ary, long beg, long argc, const VALUE *argv)
});
}
#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)
}
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);