diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-09 07:17:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-09 07:17:01 +0000 |
commit | c06b11b3c537d150c9be4a63894462a106317166 (patch) | |
tree | f0fb0ec1d77f8da0a43b843847b284a78bbc02c1 /lib/drb | |
parent | e269489e246b315142be8b7ffd119359e6c70520 (diff) | |
download | ruby-c06b11b3c537d150c9be4a63894462a106317166.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 'lib/drb')
0 files changed, 0 insertions, 0 deletions