From e2c1d69331a037b7c26508d69d6e1ed0f6e70961 Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert Date: Fri, 7 May 2021 14:08:16 -0400 Subject: Implement opt_eq by calling interpreter function (#28) --- vm_insnhelper.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vm_insnhelper.c') 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) { -- cgit v1.2.3