summaryrefslogtreecommitdiff
path: root/yjit/bindgen/src/main.rs
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-08-02 07:15:29 -0700
committer<[email protected]>2023-08-02 10:15:29 -0400
commitd405410e3c6ecfdefe345f2b78cf740effe784a1 ()
tree6e329cfb607a2be620e4669e4b7e24eb873d294f /yjit/bindgen/src/main.rs
parent1d096c1e53581ed9fe94694c9760babd1e12e580 (diff)
YJIT: Move ROBJECT_OFFSET_* to yjit.c (#8157)
Notes: Merged-By: maximecb <[email protected]>
-rw-r--r--yjit/bindgen/src/main.rs5
1 files changed, 3 insertions, 2 deletions
@@ -84,7 +84,7 @@ fn main() {
// From include/ruby/internal/core/rbasic.h
.allowlist_type("RBasic")
- .allowlist_type("rstring_offsets")
.allowlist_type("ruby_rstring_flags")
// From internal.h
@@ -179,7 +179,6 @@ fn main() {
// From include/ruby/internal/core/robject.h
.allowlist_type("ruby_robject_flags")
- .allowlist_var("ROBJECT_OFFSET_.*")
// From include/ruby/internal/core/rarray.h
.allowlist_type("ruby_rarray_flags")
@@ -327,6 +326,8 @@ fn main() {
.allowlist_function("rb_yjit_assert_holding_vm_lock")
.allowlist_function("rb_yjit_sendish_sp_pops")
.allowlist_function("rb_yjit_invokeblock_sp_pops")
// from vm_sync.h
.allowlist_function("rb_vm_barrier")