зеркало из https://github.com/github/ruby.git
Expose rb_hash_resurrect
This is for implementing the `duphash` instruction
This commit is contained in:
Родитель
01507d2f80
Коммит
7ce6bcaf8b
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче