MRuby's master branch is generating the SSEND opcode for binary operations instead of the corresponding opcode when the left-hand side is self.
For example:
The master branch generates:
1 000 LOADI_5 R3 (5)
1 002 SSEND R2 :< n=1
while mruby 3.3.0 generates:
1 000 LOADSELF R2 (R0)
1 002 LOADI_5 R3 (5)
1 004 LT R2 R3
Is this intentional?
MRuby's master branch is generating the SSEND opcode for binary operations instead of the corresponding opcode when the left-hand side is
self.For example:
The master branch generates:
while mruby 3.3.0 generates:
Is this intentional?