diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2023-06-21 16:02:08 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2023-06-23 11:46:21 -0700 |
commit | 7ce6bcaf8b1f06ff27920f287f534b9c19d9ccc3 (patch) | |
tree | 5e127a533b9e39fa252356029b45bdbdbb3f5f7f /rjit_c.rb | |
parent | 01507d2f80a99985c5f25027d87e58b8a97b3da2 (diff) | |
download | ruby-7ce6bcaf8b1f06ff27920f287f534b9c19d9ccc3.tar.gz |
Expose rb_hash_resurrect
This is for implementing the `duphash` instruction
Diffstat (limited to 'rjit_c.rb')
-rw-r--r-- | rjit_c.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -616,6 +616,10 @@ module RubyVM::RJIT # :nodoc: all 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 |