summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2022-12-02 13:41:06 -0500
committerTakashi Kokubun <takashikkbn@gmail.com>2022-12-02 12:53:51 -0800
commit41bacd9b0d0a2cec497b0b81c0d5916c5e98e96f (patch)
treedce3154b413533601518145d80670e718abc242c /yjit
parentebd4c7bb01860735779e90fbaa53f7e4ab78ff6e (diff)
Remove unused rb_shape_flag_shift and rb_shape_flag_mask
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6767
Diffstat (limited to 'yjit')
-rw-r--r--yjit/bindgen/src/main.rs2
-rw-r--r--yjit/src/cruby_bindings.inc.rs6
2 files changed, 0 insertions, 8 deletions
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" {