summaryrefslogtreecommitdiff
path: root/mjit_c.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-03-02 23:00:52 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 23:28:59 -0800
commite4f49236c09240aa9ddbbd6a870119a99e3c78eb ()
tree04c4a1226f72151abf2202212083de2ff4e6480f /mjit_c.rb
parent2ecf77ce205d9732c8c1fcfbf031835c4d53ebbd (diff)
Optimize BasicObject#!=
Notes: Merged: https://.com/ruby/ruby/pull/7448
-rw-r--r--mjit_c.rb7
1 files changed, 7 insertions, 0 deletions
@@ -168,6 +168,13 @@ module RubyVM::MJIT # :nodoc: all
Primitive.cexpr! 'SIZET2NUM((size_t)rb_str_eql_internal)'
end
def rb_ary_resurrect
Primitive.cexpr! 'SIZET2NUM((size_t)rb_ary_resurrect)'
end