diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2021-03-16 15:16:51 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2021-03-17 10:55:37 -0700 |
commit | c3971bea3351e014171910402a220770196ed1cc (patch) | |
tree | 6ff17f2d8df25162eb1f73ec3236286f2b3a756d /insns.def | |
parent | 17bf478de14d0dd9098df65282f7f419cd792599 (diff) | |
download | ruby-c3971bea3351e014171910402a220770196ed1cc.tar.gz |
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.
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |