summaryrefslogtreecommitdiff
path: root/yjit/bindgen
diff options
context:
space:
mode:
authorJimmy Miller <jimmy.miller@shopify.com>2023-02-15 14:05:42 -0500
committerGitHub <noreply@github.com>2023-02-15 14:05:42 -0500
commit8943b0d411519adeebd0d3dbf7cef337eed1ed02 (patch)
tree37375f26b02a88860c9d7e80029aa196fc6a4a00 /yjit/bindgen
parentae2340c9d793e00000186a461a37596b09268370 (diff)
downloadruby-8943b0d411519adeebd0d3dbf7cef337eed1ed02.tar.gz
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>
Diffstat (limited to 'yjit/bindgen')
-rw-r--r--yjit/bindgen/src/main.rs1
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")