summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maximechevalierb@gmail.com>2021-05-07 14:08:16 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:35 -0400
commite2c1d69331a037b7c26508d69d6e1ed0f6e70961 (patch)
tree4546b2b755cf37368fbd6ae72ddb15366479110e /vm_insnhelper.c
parente22657b88708d594720b40f7d9a350b4bace42ff (diff)
Implement opt_eq by calling interpreter function (#28)
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 772fa76ffd..ad228624a4 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -2033,6 +2033,12 @@ opt_equality_specialized(VALUE recv, VALUE obj)
return RBOOL(recv == obj);
}
+VALUE
+rb_opt_equality_specialized(VALUE recv, VALUE obj)
+{
+ return opt_equality_specialized(recv, obj);
+}
+
static VALUE
opt_equality(const rb_iseq_t *cd_owner, VALUE recv, VALUE obj, CALL_DATA cd)
{