diff options
-rw-r--r-- | shape.c | 12 | ||||
-rw-r--r-- | shape.h | 2 | ||||
-rw-r--r-- | yjit/bindgen/src/main.rs | 2 | ||||
-rw-r--r-- | yjit/src/cruby_bindings.inc.rs | 6 |
4 files changed, 0 insertions, 22 deletions
@@ -312,18 +312,6 @@ rb_shape_id_offset(void) return 8 - rb_shape_id_num_bits() / 8; } -uint8_t -rb_shape_flag_shift(void) -{ - return SHAPE_FLAG_SHIFT; -} - -uint64_t -rb_shape_flag_mask(void) -{ - return SHAPE_FLAG_MASK; -} - rb_shape_t * rb_shape_rebuild_shape(rb_shape_t * initial_shape, rb_shape_t * dest_shape) { @@ -125,8 +125,6 @@ bool rb_shape_root_shape_p(rb_shape_t* shape); rb_shape_t * rb_shape_get_root_shape(void); uint8_t rb_shape_id_num_bits(void); int32_t rb_shape_id_offset(void); -uint64_t rb_shape_flag_mask(void); -uint8_t rb_shape_flag_shift(void); rb_shape_t* rb_shape_get_shape_by_id_without_assertion(shape_id_t shape_id); rb_shape_t * rb_shape_get_parent(rb_shape_t * shape); diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index 5244c84da2..e0d9de000a 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -90,8 +90,6 @@ fn main() { .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 diff --git a/yjit/src/cruby_bindings.inc.rs b/yjit/src/cruby_bindings.inc.rs index 9d9074e123..28a1952878 100644 --- a/yjit/src/cruby_bindings.inc.rs +++ b/yjit/src/cruby_bindings.inc.rs @@ -450,12 +450,6 @@ extern "C" { pub fn rb_shape_id_offset() -> i32; } extern "C" { - pub fn rb_shape_flag_mask() -> u64; -} -extern "C" { - pub fn rb_shape_flag_shift() -> u8; -} -extern "C" { pub fn rb_shape_get_shape_by_id(shape_id: shape_id_t) -> *mut rb_shape_t; } extern "C" { |