diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-10-20 12:12:31 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-10-21 16:48:45 -0400 |
| commit | bb7f3d17edd29ee8ab5504866c5047fd73a78e64 (patch) | |
| tree | 691e6cde63700882088b8184e711911aaf4ded29 /shape.h | |
| parent | 35c2230734e65e8ab55aa718ca6ea02ca9622984 (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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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), }; |
