mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Remove !USE_RVARGC code [Feature #19579] The Variable Width Allocation feature was turned on by default in Ruby 3.2. Since then, we haven't received bug reports or backports to the non-Variable Width Allocation code paths, so we assume that nobody is using it. We also don't plan on maintaining the non-Variable Width Allocation code, so we are going to remove it.
This commit is contained in:
parent
1190ec60cc
commit
1da2e7fca3
Notes:
git
2023-04-04 21:30:35 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>
18 changed files with 17 additions and 320 deletions
|
@ -857,6 +857,11 @@ module RubyVM::RJIT # :nodoc: all
|
|||
shared: self.VALUE,
|
||||
), Primitive.cexpr!("OFFSETOF(((struct RString *)NULL)->as.heap, aux)")],
|
||||
),
|
||||
embed: CType::Struct.new(
|
||||
"", Primitive.cexpr!("SIZEOF(((struct RString *)NULL)->as.embed)"),
|
||||
len: [CType::Immediate.parse("long"), Primitive.cexpr!("OFFSETOF(((struct RString *)NULL)->as.embed, len)")],
|
||||
ary: [CType::Pointer.new { CType::Immediate.parse("char") }, Primitive.cexpr!("OFFSETOF(((struct RString *)NULL)->as.embed, ary)")],
|
||||
),
|
||||
), Primitive.cexpr!("OFFSETOF((*((struct RString *)NULL)), as)")],
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue