diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-08-02 07:15:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 10:15:29 -0400 |
commit | d405410e3c6ecfdefe345f2b78cf740effe784a1 (patch) | |
tree | 6e329cfb607a2be620e4669e4b7e24eb873d294f /yjit/bindgen | |
parent | 1d096c1e53581ed9fe94694c9760babd1e12e580 (diff) | |
download | ruby-d405410e3c6ecfdefe345f2b78cf740effe784a1.tar.gz |
YJIT: Move ROBJECT_OFFSET_* to yjit.c (#8157)
Diffstat (limited to 'yjit/bindgen')
-rw-r--r-- | yjit/bindgen/src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index 461786b8aa..d83e948776 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -84,7 +84,7 @@ fn main() { // From include/ruby/internal/core/rbasic.h .allowlist_type("RBasic") - .allowlist_type("rstring_offsets") + // From include/ruby/internal/core/rstring.h .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") + .allowlist_type("robject_offsets") + .allowlist_type("rstring_offsets") // from vm_sync.h .allowlist_function("rb_vm_barrier") |