summaryrefslogtreecommitdiff
path: root/test/ruby/test_variable.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-11-15 10:52:39 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-11-21 09:58:53 -0500
commit648927d71bde5df02a0490f5f45bb7fcde913376 (patch)
treecb89cd7440e51d374e3e6346e1a0d72514532a3c /test/ruby/test_variable.rb
parent612aa5c24a7c249867bbcd7d6567012aa6a7f4b9 (diff)
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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6732
Diffstat (limited to 'test/ruby/test_variable.rb')
0 files changed, 0 insertions, 0 deletions