diff options
author | John Hawthorn <[email protected]> | 2022-09-14 13:15:55 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-09-14 16:15:55 -0400 |
commit | f98d6d3f389e8e46775c5895ddc1a3eec4544533 (patch) | |
tree | 1267208755ae53ad583c71a81826772ed31ebcdd /method.h | |
parent | d5cdc2edd02eb6990d045c932aaedb60213143e1 (diff) |
YJIT: Implement specialized respond_to? (#6363)
* Add rb_callable_method_entry_or_negative
* YJIT: Implement specialized respond_to?
This implements a specialized respond_to? in YJIT.
* Update yjit/src/codegen.rs
Co-authored-by: Maxime Chevalier-Boisvert <[email protected]>
Notes
Notes:
Merged-By: maximecb <[email protected]>
Diffstat (limited to 'method.h')
-rw-r--r-- | method.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -226,6 +226,7 @@ const rb_method_entry_t *rb_resolve_me_location(const rb_method_entry_t *, VALUE RUBY_SYMBOL_EXPORT_END const rb_callable_method_entry_t *rb_callable_method_entry(VALUE klass, ID id); +const rb_callable_method_entry_t *rb_callable_method_entry_or_negative(VALUE klass, ID id); const rb_callable_method_entry_t *rb_callable_method_entry_with_refinements(VALUE klass, ID id, VALUE *defined_class); const rb_callable_method_entry_t *rb_callable_method_entry_without_refinements(VALUE klass, ID id, VALUE *defined_class); |