diff --git a/rjit_c.rb b/rjit_c.rb index 000fc0a5cc5e80..735a097d69afdd 100644 --- a/rjit_c.rb +++ b/rjit_c.rb @@ -616,6 +616,10 @@ def C.rb_hash_new_with_size Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_hash_new_with_size) } end + def C.rb_hash_resurrect + Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_hash_resurrect) } + end + def C.rb_ivar_defined Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_ivar_defined) } end diff --git a/tool/rjit/bindgen.rb b/tool/rjit/bindgen.rb index 1dd3b78bd5e1f8..f54d2203ac3531 100755 --- a/tool/rjit/bindgen.rb +++ b/tool/rjit/bindgen.rb @@ -526,6 +526,7 @@ def push_target(target) rb_hash_bulk_insert rb_hash_new rb_hash_new_with_size + rb_hash_resurrect rb_ivar_get rb_obj_as_string_result rb_obj_is_kind_of