diff options
Diffstat (limited to 'yjit/src/cruby.rs')
-rw-r--r-- | yjit/src/cruby.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yjit/src/cruby.rs b/yjit/src/cruby.rs index b6228fe64b..ba09d4119f 100644 --- a/yjit/src/cruby.rs +++ b/yjit/src/cruby.rs @@ -398,6 +398,10 @@ impl VALUE { unsafe { rb_obj_frozen_p(self) != VALUE(0) } } + pub fn shape_too_complex(self) -> bool { + unsafe { rb_shape_obj_too_complex(self) } + } + pub fn shape_id_of(self) -> u32 { unsafe { rb_shape_get_shape_id(self) } } |