diff options
author | Aaron Patterson <[email protected]> | 2022-11-16 15:37:57 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2022-12-02 12:53:51 -0800 |
commit | 17f9bcd7d77c0d9fdd4be605f0791f3f03fd6caf (patch) | |
tree | 2ecf99e2dde6a7aa5fbd4fc5f35a83f8e0610750 /yjit/bindgen | |
parent | 69fd673b1a22039c7414a5eb4046d3bf54a0c750 (diff) |
implement IV writes
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6767
Diffstat (limited to 'yjit/bindgen')
-rw-r--r-- | yjit/bindgen/src/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index 8098de87b0..1b6838bb2e 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -87,6 +87,11 @@ fn main() { .allowlist_function("rb_shape_get_shape_by_id") .allowlist_function("rb_shape_id_num_bits") .allowlist_function("rb_shape_get_iv_index") + .allowlist_function("rb_shape_get_next") + .allowlist_function("rb_shape_id") + .allowlist_function("rb_shape_flag_mask") + .allowlist_function("rb_shape_flag_shift") + .allowlist_function("rb_shape_transition_shape_capa") // From ruby/internal/intern/object.h .allowlist_function("rb_obj_is_kind_of") @@ -131,6 +136,7 @@ fn main() { .allowlist_function("rb_gc_mark") .allowlist_function("rb_gc_mark_movable") .allowlist_function("rb_gc_location") + .allowlist_function("rb_gc_writebarrier") // VALUE variables for Ruby class objects // From include/ruby/internal/globals.h @@ -314,6 +320,7 @@ fn main() { // From internal/variable.h .allowlist_function("rb_gvar_(get|set)") + .allowlist_function("rb_ensure_iv_list_size") // From include/ruby/internal/intern/variable.h .allowlist_function("rb_attr_get") |