summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c6
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)
{