summaryrefslogtreecommitdiff
path: root/shape.h
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-10-20 12:12:31 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2025-10-21 16:48:45 -0400
commitbb7f3d17edd29ee8ab5504866c5047fd73a78e64 (patch)
tree691e6cde63700882088b8184e711911aaf4ded29 /shape.h
parent35c2230734e65e8ab55aa718ca6ea02ca9622984 (diff)
YJIT: ZJIT: Extract common bindings to jit.c and remove unnamed enums.
The type name bindgen picks for anonymous enums creates desync issues on the bindgen CI checks.
Diffstat (limited to 'shape.h')
-rw-r--r--shape.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/shape.h b/shape.h
index fdc2b3ddd6..a20da1baa5 100644
--- a/shape.h
+++ b/shape.h
@@ -47,9 +47,9 @@ enum shape_id_fl_type {
#undef RBIMPL_SHAPE_ID_FL
};
-// This masks allows to check if a shape_id contains any ivar.
-// It rely on ROOT_SHAPE_WITH_OBJ_ID==1.
-enum {
+// This mask allows to check if a shape_id contains any ivar.
+// It relies on ROOT_SHAPE_WITH_OBJ_ID==1.
+enum shape_id_mask {
SHAPE_ID_HAS_IVAR_MASK = SHAPE_ID_FL_TOO_COMPLEX | (SHAPE_ID_OFFSET_MASK - 1),
};