- 28 Nov, 2020 1 commit
-
-
KOBAYASHI Shuji authored
Currently, the source file language in the core is C only, and C++, Objective-C, and Assembly are not used, so Rake rules for them are removed.
-
- 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 9 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) ```
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix #5177 by setting MRUBY_CONFIG early
-
- 23 Nov, 2020 5 commits
-
-
Abinoam Praxedes Marques Junior authored
-
Yukihiro "Matz" Matsumoto authored
Avoid warnings from clang's "-Wembedded-directive"
-
dearblue authored
If it gives clang-11.0 `-Wembedded-directive`, a warning will be reported in `include/mruby/boxing_nan.h`. ``` include/mruby/boxing_nan.h:48:2: warning: embedding a directive within macro arguments has undefined behavior [-Wembedded-directive] include/mruby/boxing_nan.h:52:2: warning: embedding a directive within macro arguments has undefined behavior [-Wembedded-directive] ``` The cause of this is #5117. ref. e993b83c
-
Yukihiro "Matz" Matsumoto authored
Fix unintended variable shadowing
-
Yukihiro "Matz" Matsumoto authored
Raise an exception instead of exiting when `mrbc` fails
-