diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2023-04-06 21:13:10 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2023-04-07 09:49:15 -0700 |
commit | a9bfb64153ae0a07d498d0976d335b65515fd1b1 (patch) | |
tree | 65f2ba7b4b78de93a1d4e292e68ca018c59103fc /rjit_c.rb | |
parent | ac8a16237c727ae2a1446ef6dc810d0e750971fb (diff) |
Expose rb_sym_to_proc via RJIT
This is needed for getblockparamproxy
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7673
Diffstat (limited to 'rjit_c.rb')
-rw-r--r-- | rjit_c.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -696,6 +696,10 @@ module RubyVM::RJIT # :nodoc: all Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_str_intern) } end + def C.rb_sym_to_proc + Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_sym_to_proc) } + end + def C.rb_vm_bh_to_procval Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_vm_bh_to_procval) } end |