summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2021-03-10 10:24:28 -0500
committerAaron Patterson <aaron.patterson@gmail.com>2021-03-10 09:39:18 -0800
commit23a48d8fe683df289736e2d90c86006eb919b40d (patch)
treecf955554a13a3bf0564f57445302455a02dec59a /test
parent9cdb5a51532c99230c2303912a13b9f752f1e775 (diff)
Refactor `rb_class_ivar_set`
In every caller of `rb_class_ivar_set` it checks for the `RCLASS_IV_TBL` and then creates it if it doesn't exist. Instead of repeating this in every caller, this can be done once in `rb_class_ivar_set`.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4254
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions