aboutsummaryrefslogtreecommitdiffstats
path: root/yjit/bindgen/src/main.rs
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-04-25 07:04:53 -0700
committerGitHub <noreply@github.com>2024-04-25 10:04:53 -0400
commit7ab1a608e7413cdb0f93243eb3e6e20a32cec44e (patch)
tree29836bd248b0e5bce497ae6969a6b6e7c2055152 /yjit/bindgen/src/main.rs
parentf248e1008a8f79cca801b27d512a587f65a0dd36 (diff)
downloadruby-7ab1a608e7413cdb0f93243eb3e6e20a32cec44e.tar.gz
YJIT: Optimize local variables when EP == BP (take 2) (#10607)
* Revert "Revert "YJIT: Optimize local variables when EP == BP" (#10584)" This reverts commit c8783441952217c18e523749c821f82cd7e5d222. * YJIT: Take care of GC references in ISEQ invariants Co-authored-by: Alan Wu <alansi.xingwu@shopify.com> --------- Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
Diffstat (limited to 'yjit/bindgen/src/main.rs')
-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 c16617b3f0..953ab0ac42 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -299,6 +299,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")
@@ -416,6 +417,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")