summaryrefslogtreecommitdiff
path: root/yjit/bindgen/src
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-04-17 12:00:03 -0700
committerGitHub <noreply@github.com>2024-04-17 15:00:03 -0400
commit4cc58ea0b865f2fd20f1e881ddbd4c4fab0b072c (patch)
tree1587d79e55cc448e08ae30f8c4a3175f8195b1cc /yjit/bindgen/src
parentca764062b06f1bb587048bcf374b25a0903ca9e7 (diff)
YJIT: Optimize local variables when EP == BP (#10487)
Diffstat (limited to 'yjit/bindgen/src')
-rw-r--r--yjit/bindgen/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs
index c58df7c377..d91e330f5e 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -298,6 +298,7 @@ fn main() {
.allowlist_type("ruby_tag_type")
.allowlist_type("ruby_vm_throw_flags")
.allowlist_type("vm_check_match_type")
+ .allowlist_type("rb_iseq_type")
// From yjit.c
.allowlist_function("rb_iseq_(get|set)_yjit_payload")
@@ -415,6 +416,7 @@ fn main() {
.allowlist_function("rb_get_iseq_body_parent_iseq")
.allowlist_function("rb_get_iseq_body_iseq_encoded")
.allowlist_function("rb_get_iseq_body_stack_max")
+ .allowlist_function("rb_get_iseq_body_type")
.allowlist_function("rb_get_iseq_flags_has_lead")
.allowlist_function("rb_get_iseq_flags_has_opt")
.allowlist_function("rb_get_iseq_flags_has_kw")