summaryrefslogtreecommitdiff
path: root/mjit_c.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-02-21 00:19:37 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-05 23:28:59 -0800
commit8d29b0635bd87cb8e0521cb0ffdc617382e3cccb (patch)
treee1d677401447a0e030cf51a0e822b6bfbe369bda /mjit_c.rb
parent32e6f15bebf120635d575986fdded1a3943395d0 (diff)
downloadruby-8d29b0635bd87cb8e0521cb0ffdc617382e3cccb.tar.gz
Implement putstring
Diffstat (limited to 'mjit_c.rb')
-rw-r--r--mjit_c.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/mjit_c.rb b/mjit_c.rb
index f169d582a4..3015f52897 100644
--- a/mjit_c.rb
+++ b/mjit_c.rb
@@ -199,6 +199,10 @@ module RubyVM::MJIT # :nodoc: all
}
end
+ def rb_ec_str_resurrect
+ Primitive.cexpr! 'SIZET2NUM((size_t)rb_ec_str_resurrect)'
+ end
+
#========================================================================================
#
# Old stuff