diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-08-09 16:05:42 -0700 |
---|---|---|
committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-08-12 12:34:09 -0400 |
commit | 76a928bac2f37e7aa631a6b6dd5320920d6c1b42 (patch) | |
tree | 099b99efc8da6452e9cdd229bb4c5c49e7ab9f32 /iseq.c | |
parent | 4e418a6c0676271da3176116a62a2fc913ac4548 (diff) | |
download | ruby-76a928bac2f37e7aa631a6b6dd5320920d6c1b42.tar.gz |
Unpin default value objects
We're already updating the location of default values, so we may as well
unpin them.
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -305,7 +305,7 @@ rb_iseq_mark(const rb_iseq_t *iseq) for (j = 0; i < keyword->num; i++, j++) { VALUE obj = keyword->default_values[j]; if (!SPECIAL_CONST_P(obj)) { - rb_gc_mark(obj); + rb_gc_mark_no_pin(obj); } } } |