diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-18 21:42:10 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-18 21:42:20 -0700 |
commit | 8510f33cc1d7f6b5148d596cfea3fbf734661cd8 (patch) | |
tree | 8a9d758ff601da2f4a50e97e99eb9dd77b03447a /rjit_c.rb | |
parent | 4a8de3fa8872ed43b33f1ae81ae4767f4334283a (diff) |
RJIT: Implement intern
Diffstat (limited to 'rjit_c.rb')
-rw-r--r-- | rjit_c.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -593,6 +593,10 @@ module RubyVM::RJIT # :nodoc: all Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_str_getbyte) } end + def C.rb_str_intern + Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_str_intern) } + end + def C.rb_vm_bh_to_procval Primitive.cexpr! %q{ SIZET2NUM((size_t)rb_vm_bh_to_procval) } end |