diff options
author | Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> | 2021-05-10 19:43:30 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:35 -0400 |
commit | d6412126bcafb4a123aebe4f614e45d5d1064948 (patch) | |
tree | ba336fdcc069d22b5bc5e7782a2388304697a578 /vm_insnhelper.c | |
parent | 7eef8f09c09d054b0554a304456a0bbd9df40d86 (diff) |
Implement setivar with a plain old function call (#34)
* Implement setivar with a plain old function call
* Remove return
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 298bb2edf8..d41bfeb66c 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1365,6 +1365,12 @@ vm_setinstancevariable(const rb_iseq_t *iseq, VALUE obj, ID id, VALUE val, IVC i vm_setivar(obj, id, val, iseq, ic, 0, 0); } +void +rb_vm_setinstancevariable(const rb_iseq_t *iseq, VALUE obj, ID id, VALUE val, IVC ic) +{ + vm_setinstancevariable(iseq, obj, id, val, ic); +} + static VALUE vm_throw_continue(const rb_execution_context_t *ec, VALUE err) { |