summaryrefslogtreecommitdiff
path: root/yjit/bindgen
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2022-12-05 16:20:11 -0500
committerGitHub <noreply@github.com>2022-12-05 13:20:11 -0800
commite7642d8095d7f597c322ed26797d649aec7edbd9 (patch)
treeec02470ee543d64ac730c49e14dcb6f94c73cd46 /yjit/bindgen
parent1602d75c34c39f6d2f5a505a6532c3664288ef06 (diff)
downloadruby-e7642d8095d7f597c322ed26797d649aec7edbd9.tar.gz
YJIT: Extract SHAPE_ID_NUM_BITS into a constant (#6863)
Diffstat (limited to 'yjit/bindgen')
-rw-r--r--yjit/bindgen/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs
index e0d9de000a..99974d65cd 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -85,12 +85,12 @@ fn main() {
// From shape.h
.allowlist_function("rb_shape_get_shape_id")
.allowlist_function("rb_shape_get_shape_by_id")
- .allowlist_function("rb_shape_id_num_bits")
.allowlist_function("rb_shape_id_offset")
.allowlist_function("rb_shape_get_iv_index")
.allowlist_function("rb_shape_get_next")
.allowlist_function("rb_shape_id")
.allowlist_function("rb_shape_transition_shape_capa")
+ .allowlist_var("SHAPE_ID_NUM_BITS")
// From ruby/internal/intern/object.h
.allowlist_function("rb_obj_is_kind_of")