diff options
author | Jean Boussier <[email protected]> | 2025-06-13 14:29:29 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-06-13 17:13:08 +0200 |
commit | 545e99da66bddfcf8afa965747eb9bc9821aefa5 (patch) | |
tree | e2af00b1c2840b7684e4bdc6605c4df76cc73d6c /gc/mmtk/src | |
parent | 1d11e1be134617bcc3219be325d3d7b46f5fe8e5 (diff) |
mmtk: Get rid of unused reference to FL_EXIVAR
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13610
Diffstat (limited to 'gc/mmtk/src')
-rw-r--r-- | gc/mmtk/src/abi.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gc/mmtk/src/abi.rs b/gc/mmtk/src/abi.rs index b425d9e50d..81e24679f0 100644 --- a/gc/mmtk/src/abi.rs +++ b/gc/mmtk/src/abi.rs @@ -12,9 +12,6 @@ pub const GC_THREAD_KIND_WORKER: libc::c_int = 1; const HIDDEN_SIZE_MASK: usize = 0x0000FFFFFFFFFFFF; -// Should keep in sync with C code. -const RUBY_FL_EXIVAR: usize = 1 << 10; - // An opaque type for the C counterpart. #[allow(non_camel_case_types)] pub struct st_table; @@ -93,10 +90,6 @@ impl RubyObjectAccess { unsafe { self.flags_field().load::<usize>() } } - pub fn has_exivar_flag(&self) -> bool { - (self.load_flags() & RUBY_FL_EXIVAR) != 0 - } - pub fn prefix_size() -> usize { // Currently, a hidden size field of word size is placed before each object. OBJREF_OFFSET |