summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maximechevalierb@gmail.com>2021-05-07 16:10:09 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:35 -0400
commitc9feb72b650a2e8f2ab0eab164e1ffd52f739396 (patch)
tree1ca699d642cfda3d3c217203039921a231afcae2 /vm_insnhelper.c
parente2c1d69331a037b7c26508d69d6e1ed0f6e70961 (diff)
Implement opt_mod as call to interpreter function (#29)
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 ad228624a4..5f7368e650 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -4979,6 +4979,12 @@ vm_opt_mod(VALUE recv, VALUE obj)
}
}
+VALUE
+rb_vm_opt_mod(VALUE recv, VALUE obj)
+{
+ return vm_opt_mod(recv, obj);
+}
+
static VALUE
vm_opt_neq(const rb_iseq_t *iseq, CALL_DATA cd, CALL_DATA cd_eq, VALUE recv, VALUE obj)
{