diff options
author | Jimmy Miller <jimmy.miller@shopify.com> | 2023-02-15 14:05:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-15 14:05:42 -0500 |
commit | 8943b0d411519adeebd0d3dbf7cef337eed1ed02 (patch) | |
tree | 37375f26b02a88860c9d7e80029aa196fc6a4a00 /yjit/bindgen | |
parent | ae2340c9d793e00000186a461a37596b09268370 (diff) |
YJIT: `Kernel#{is_a?,instance_of?}` fast paths (GH-7297)
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7297
Merged-By: XrXr
Diffstat (limited to 'yjit/bindgen')
-rw-r--r-- | yjit/bindgen/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index 74f5a52742..a961c1290a 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -419,6 +419,7 @@ fn main() { .allowlist_function("rb_RCLASS_ORIGIN") .allowlist_function("rb_method_basic_definition_p") .allowlist_function("rb_yjit_array_len") + .allowlist_function("rb_obj_class") // We define VALUE manually, don't import it .blocklist_type("VALUE") |