aboutsummaryrefslogtreecommitdiffstats
path: root/regenc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-09 07:17:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-09 07:17:01 +0000
commit865a326da921f2f5ed0def0605aec3a54981612d (patch)
treef0fb0ec1d77f8da0a43b843847b284a78bbc02c1 /regenc.c
parentf937d32f3f4de638ec8081085d31d6d95bfa8f0b (diff)
downloadruby-865a326da921f2f5ed0def0605aec3a54981612d.tar.gz
hash.c: make duplicated hash WB protected
* hash.c (hash_alloc_flags): allocate new hash with the flags and the default value. * hash.c (hash_dup): duplicate with the flags and the default value. * hash.c (rb_hash_dup): make the duplicated hash write-barrier protected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regenc.c')
0 files changed, 0 insertions, 0 deletions