summaryrefslogtreecommitdiffhomepage
AgeCommit message (Expand)Author
2021-08-11codegen.c: more peephole optimization.Yukihiro "Matz" Matsumoto
2021-08-11Merge pull request #5526 from mruby/dependabot/github_actions/github/super-li...Yukihiro "Matz" Matsumoto
2021-08-10build(deps): bump github/super-linter from 4.6.0 to 4.6.1dependabot[bot]
2021-08-10Merge pull request #5524 from dearblue/gem-headersYukihiro "Matz" Matsumoto
2021-08-09Expose all header files of the gems for small compilationdearblue
2021-08-09Merge pull request #5525 from jbampton/pre-commit-autoupdateYukihiro "Matz" Matsumoto
2021-08-09pre-commit autoupdateJohn
2021-08-09Merge pull request #5522 from dearblue/pack-EOFYukihiro "Matz" Matsumoto
2021-08-08Merge pull request #5523 from jbampton/patch-1Yukihiro "Matz" Matsumoto
2021-08-07docs: fix case of mrubyJohn Bampton
2021-08-07Fixed compilation error of "mruby-pack" with `MRB_NO_STDIO`dearblue
2021-08-07codedump.c: print two operands `R(x)` and `R(x+1)` for clarity.Yukihiro "Matz" Matsumoto
2021-08-07codegen.c: need to push the value when the loop was eliminated.Yukihiro "Matz" Matsumoto
2021-08-07array.h: avoid duplicated defined of `MRB_ARY_NO_EMBED`; fix #5520Yukihiro "Matz" Matsumoto
2021-08-07Merge pull request #5521 from mruby/dependabot/github_actions/github/super-li...Yukihiro "Matz" Matsumoto
2021-08-06build(deps): bump github/super-linter from 4.5.1 to 4.6.0dependabot[bot]
2021-08-06numeric_ext.c: fix a bug regarding `MRB_INT_MIN`.Yukihiro "Matz" Matsumoto
2021-08-06numeric.c: fix a bug regarding `MRB_INT_MIN`.Yukihiro "Matz" Matsumoto
2021-08-06codegen.c: `-9223372036854775808 % -1` overflows 64 bit integer.Yukihiro "Matz" Matsumoto
2021-08-05codegen.c: remove code duplication from `NODE_ARRAY`.Yukihiro "Matz" Matsumoto
2021-08-04codegen.c: detect integer overflow in division.Yukihiro "Matz" Matsumoto
2021-08-04numeric.c: fix a bug in left shift of negative integer.Yukihiro "Matz" Matsumoto
2021-08-03numeric.c: check zero division before modulo.Yukihiro "Matz" Matsumoto
2021-08-03codegen.c: check zero division before constant folding.Yukihiro "Matz" Matsumoto
2021-08-03numeric_ext.c: `modulo` and `remainder` should handle infinite argument.Yukihiro "Matz" Matsumoto
2021-08-03numeric_ext.c: add `Float#modulo` and `#remainder` methods.Yukihiro "Matz" Matsumoto
2021-08-03numeric_ext.c: update `Integer#remainder` method.Yukihiro "Matz" Matsumoto
2021-08-03Revert "numeric.c: simplifies `int_mod` definition."Yukihiro "Matz" Matsumoto
2021-08-03codegen.c: avoid division by zero in constant folding.Yukihiro "Matz" Matsumoto
2021-08-03numeric_ext.c: use `mrb_integer` instead of `mrb_as_int`.Yukihiro "Matz" Matsumoto
2021-08-03numeric.c: simplifies `int_mod` definition.Yukihiro "Matz" Matsumoto
2021-08-03numeric_ext.c: define `modulo` and `remainder` methods for `Integer`.Yukihiro "Matz" Matsumoto
2021-08-03Replace `mrb_fixnum_value()` with `mrb_int_value()`.Yukihiro "Matz" Matsumoto
2021-08-03Replace `fixnum` references with `int`.Yukihiro "Matz" Matsumoto
2021-08-03numeric_ext.c: remove unnecessary prefix `mrb_` from static functions.Yukihiro "Matz" Matsumoto
2021-08-03numeric.c: rename `fixdivmod` to `intdivmod`.Yukihiro "Matz" Matsumoto
2021-08-02codegen.c: allow constant folding for negative integer modulo.Yukihiro "Matz" Matsumoto
2021-08-02numeric.c: simpler integer modulo calculation.Yukihiro "Matz" Matsumoto
2021-08-02mrdb.c: do not skip `OP_JMP` on step execution.Yukihiro "Matz" Matsumoto
2021-08-02codegen.c: refactor `readint()` to read `MRB_INT_MIN`.Yukihiro "Matz" Matsumoto
2021-08-02numeric.c: use C's modulo operator if both operands are positive.Yukihiro "Matz" Matsumoto
2021-08-02test/driver.c: remove unused constants related to `FIXNUM`.Yukihiro "Matz" Matsumoto
2021-08-02codegen.c: fix a bug in bit shift constant folding.Yukihiro "Matz" Matsumoto
2021-08-02numeric.c: refactor integer bit shift operations.Yukihiro "Matz" Matsumoto
2021-08-02codegen.c: refactor unary operator optimization.Yukihiro "Matz" Matsumoto
2021-08-02codegen.c: constant folding binary operators, <<, >>, %, &, |, ^.Yukihiro "Matz" Matsumoto
2021-08-01codegen.c: eliminate loop if condition is constant.Yukihiro "Matz" Matsumoto
2021-08-01codegen.c: peephole optimize OP_JMPxxx.Yukihiro "Matz" Matsumoto
2021-07-31codegen.c: allow constant folding for mul / div.Yukihiro "Matz" Matsumoto
2021-07-31codegen.c: `mrb_prev_pc()` to take previous instruction position.Yukihiro "Matz" Matsumoto