diff options
author | Takashi Kokubun <[email protected]> | 2023-02-13 23:05:56 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-03-05 23:28:59 -0800 |
commit | bc50b0475a64dbae293c29bf3e6b72ba12424c99 (patch) | |
tree | dd6f18bc22ce6e31df27944a4671f8e5106ecb59 /mjit_c.rb | |
parent | 67cc53214cdb5900ccc75e195d8e9c85dea519f9 (diff) |
Implement opt_and and opt_or
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7448
Diffstat (limited to 'mjit_c.rb')
-rw-r--r-- | mjit_c.rb | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -329,6 +329,10 @@ module RubyVM::MJIT # :nodoc: all Primitive.cexpr! %q{ UINT2NUM(ARRAY_REDEFINED_OP_FLAG) } end + def C.BOP_AND + Primitive.cexpr! %q{ UINT2NUM(BOP_AND) } + end + def C.BOP_AREF Primitive.cexpr! %q{ UINT2NUM(BOP_AREF) } end @@ -357,6 +361,10 @@ module RubyVM::MJIT # :nodoc: all Primitive.cexpr! %q{ UINT2NUM(BOP_MOD) } end + def C.BOP_OR + Primitive.cexpr! %q{ UINT2NUM(BOP_OR) } + end + def C.BOP_PLUS Primitive.cexpr! %q{ UINT2NUM(BOP_PLUS) } end |