Expose rb_hash_resurrect
This is for implementing the `duphash` instruction
This commit is contained in:
parent
01507d2f80
commit
7ce6bcaf8b
Notes:
git
2023-06-23 18:46:40 +00:00
@ -616,6 +616,10 @@ module RubyVM::RJIT # :nodoc: all
|
|||||||
Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_hash_new_with_size) }
|
Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_hash_new_with_size) }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def C.rb_hash_resurrect
|
||||||
|
Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_hash_resurrect) }
|
||||||
|
end
|
||||||
|
|
||||||
def C.rb_ivar_defined
|
def C.rb_ivar_defined
|
||||||
Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_ivar_defined) }
|
Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_ivar_defined) }
|
||||||
end
|
end
|
||||||
|
@ -526,6 +526,7 @@ generator = BindingGenerator.new(
|
|||||||
rb_hash_bulk_insert
|
rb_hash_bulk_insert
|
||||||
rb_hash_new
|
rb_hash_new
|
||||||
rb_hash_new_with_size
|
rb_hash_new_with_size
|
||||||
|
rb_hash_resurrect
|
||||||
rb_ivar_get
|
rb_ivar_get
|
||||||
rb_obj_as_string_result
|
rb_obj_as_string_result
|
||||||
rb_obj_is_kind_of
|
rb_obj_is_kind_of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user