From c3971bea3351e014171910402a220770196ed1cc Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 16 Mar 2021 15:16:51 -0700 Subject: Stop calling `rb_iseq_defined_string` in vm_defined We already have access to the string from the iseqs, so we can stop calling this function. --- insns.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'insns.def') diff --git a/insns.def b/insns.def index 55564c4792..ca56416d23 100644 --- a/insns.def +++ b/insns.def @@ -667,7 +667,7 @@ defined (VALUE val) // attr bool leaf = leafness_of_defined(op_type); { - if (vm_defined(ec, GET_CFP(), op_type, obj, Qfalse, v)) { + if (vm_defined(ec, GET_CFP(), op_type, obj, v)) { val = needstr; } else { -- cgit v1.2.3