- 30 Nov, 2020 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fixed print catch handler address in codedump; ref #5200
-
dearblue authored
It became 32 bits in #5200, but only the upper 16 bits were printed.
-
- 29 Nov, 2020 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Use `MRB_SYM` in `src/gc.c`
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Fix heap buffer overflow when dump irep
-
Horimoto Yasuhiro authored
Currently, the size of writing in heap by write_irep_record() is bigger than The size that is calculated by get_irep_record_size. Therefore, irep is dumped over the size of allocating memory when we execute dump_irep().
-
Yukihiro "Matz" Matsumoto authored
Change the catch handler address to 32 bits
-
- 27 Nov, 2020 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix incorrect regexp creation in `tasks/presym.rake`
-
KOBAYASHI Shuji authored
-
- 26 Nov, 2020 17 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix build failure; ref #5194
-
KOBAYASHI Shuji authored
Fix the following two issues: 1. Compile failure when external gem is specified. * https://github.com/mruby/mruby/pull/5194#issuecomment-734303442 2. When there are multiple build targets, presym parsing sometimes fails or output result of presym is broken. * https://github.com/mruby/mruby/pull/5194#issuecomment-734322142 The root cause of 2 is unknown, but it seems to occur when presym parsing is performed in parallel, therefore I change them so that they are not run in parallel.
-
Yukihiro "Matz" Matsumoto authored
Add `tools/*` to target directory for presym parsing
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Create presym files for each build target
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
KOBAYASHI Shuji authored
Previously, presym files were always created in `build/{presym,presym.inc}`. However, this constraint is inconvenient because it is common to use multiple build configurations and build targets in a single mruby tree. Therefore, change to create presym file for each build target.
-
Yukihiro "Matz" Matsumoto authored
Fix loop condition in `mrb_sym_all_symbols`
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Jump target address is `operand (16bit)` + `address of next instruction`. In addition, `ilen` was made `uint32_t` so that `iseq` length limitation of 65536 is removed. Only jump target address should be within signed 16bit (-32768 .. 32767).
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 25 Nov, 2020 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
There's no efficiency difference since `cdump` is implemented.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Allow compiler name in build log to be customized
-
KOBAYASHI Shuji authored
For example, in the case of the C++ compiler, it is output as `CXX build/host/src/gc.cxx -> build/host/src/gc.cxx.o` (FYI, in the case of `enable_cxx_abi`, it outputs `CC ...` because the option to compile as C++ is added to C compiler).
-
Yukihiro "Matz" Matsumoto authored
Fix C source compilation with `MRB_USE_ALL_SYMBOLS`; ref #5187
-
KOBAYASHI Shuji authored
However, compiling by `mrbc` fails with another issue (#5116).
-
- 24 Nov, 2020 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Optimize `presym_find`
-
Yukihiro "Matz" Matsumoto authored
Also added `no-float.rb` target in `build_config`.
-
KOBAYASHI Shuji authored
Chang to compare string length first. ### Benchmark #### Code * https://github.com/shuujii/mruby-presym_find-benchmark #### Result ```console Previous: 10.240772M i/s (25M times in 2.441222s) New: 16.412985M i/s (25M times in 1.523184s) ```
-