diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-11-15 10:52:39 -0500 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-11-21 09:58:53 -0500 |
commit | 648927d71bde5df02a0490f5f45bb7fcde913376 (patch) | |
tree | cb89cd7440e51d374e3e6346e1a0d72514532a3c /shape.c | |
parent | 612aa5c24a7c249867bbcd7d6567012aa6a7f4b9 (diff) | |
download | ruby-648927d71bde5df02a0490f5f45bb7fcde913376.tar.gz |
Refactor obj_ivar_set and vm_setivar
obj_ivar_set and vm_setivar_slowpath is essentially doing the same thing,
but the code is duplicated and not quite implemented in the same way,
which could cause bugs. This commit refactors vm_setivar_slowpath to use
obj_ivar_set.
Diffstat (limited to 'shape.c')
0 files changed, 0 insertions, 0 deletions