diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-27 22:23:35 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-27 22:47:46 -0800 |
commit | 2c1c0d3df033da6745aa0f828a704bb46a535fbc (patch) | |
tree | 3fe85f3ef967e2f041141e099881d49a1e7d21ea /mjit_c.rb | |
parent | 87e7b640ebb6002236e601d09347850fab5858df (diff) |
MJIT: Get rid of C.fprintf
Faster code generation and cleaner code.
Diffstat (limited to 'mjit_c.rb')
-rw-r--r-- | mjit_c.rb | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -114,14 +114,6 @@ module RubyVM::MJIT iseq_addr = Primitive.cexpr! 'PTR2NUM((VALUE)rb_iseqw_to_iseq(iseqw))' rb_iseq_t.new(iseq_addr) end - - # TODO: remove this after migration - def fprintf(f, str) - Primitive.cstmt! %{ - fprintf((FILE *)NUM2PTR(f), "%s", RSTRING_PTR(str)); - return Qnil; - } - end end ### MJIT bindgen begin ### |