summaryrefslogtreecommitdiff
path: root/yjit/bindgen
diff options
context:
space:
mode:
authorJimmy Miller <jimmy.miller@shopify.com>2023-01-31 16:18:56 -0500
committerGitHub <noreply@github.com>2023-01-31 16:18:56 -0500
commit1148fab7ae4653f94384da5eb282e61217cf12f5 (patch)
tree380ad4e12c78ba99f21b053784615c0deccb80d4 /yjit/bindgen
parent3ebc80314cf1ce727dcc2ba4192ff5265d348206 (diff)
downloadruby-1148fab7ae4653f94384da5eb282e61217cf12f5.tar.gz
YJIT: Handle splat with opt more fully (#7209)
* YJIT: Handle splat with opt more fully * Update yjit/src/codegen.rs --------- Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.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 229b02bdcd..35b09e1abc 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -410,6 +410,7 @@ fn main() {
.allowlist_function("rb_METHOD_ENTRY_VISI")
.allowlist_function("rb_RCLASS_ORIGIN")
.allowlist_function("rb_method_basic_definition_p")
+ .allowlist_function("rb_yjit_array_len")
// We define VALUE manually, don't import it
.blocklist_type("VALUE")