aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* Update for autoconf 2.70Nobuyoshi Nakada2021-01-1813-28/+27
|
* extlibs.rb: make patch command selectable [ci skip]Nobuyoshi Nakada2021-01-151-1/+1
| | | | | Some Windows ports fail an assertion on patch files with LF EOL code. MSys2 patch.exe 2.7.6 seems fine, at least.
* Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun2021-01-136-6/+6
| | | | | | | | because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490]
* tool/sync_default_gems.rb: Prevent infinite loop due to unknown optionsKenta Murata2021-01-121-0/+3
|
* Avoid re-entering opt_invokebuiltin_delegate_leaveTakashi Kokubun2021-01-111-2/+1
| | | | | | | | on interruption. The cancellation code was originally written for leave insn, but re-entering opt_invokebuiltin_delegate_leave insn on a cancellation is not safe, because a builtin function is executed twice.
* Get rid of defining methods for tests in core classesNobuyoshi Nakada2021-01-091-2/+2
| | | | Not to interfere in other tests.
* rbconfig.rb: extract cpu from RUBY_PLATFORM when universalNobuyoshi Nakada2021-01-071-1/+1
|
* [DOC] Fix grammar: "is same as" -> "is the same as"Marcus Stollsteimer2021-01-051-1/+1
|
* sync_default_gems.rb: added -a optionNobuyoshi Nakada2021-01-051-3/+16
| | | | | The option to merge all commits since the commit merged in the last prefixed commit.
* sync_default_gems.rb: reduced accesses to REPOSITORIESNobuyoshi Nakada2021-01-051-8/+9
|
* Fix broken JIT of getinlinecacheTakashi Kokubun2021-01-041-1/+1
| | | | | | | | e7fc353f04 reverted vm_ic_hit_p's signature change made in 53babf35ef, which broke JIT compilation of getinlinecache. To make sure it doesn't happen again, I separated vm_inlined_ic_hit_p to make the intention clear.
* Avoid using inconsistent coding styleTakashi Kokubun2021-01-041-11/+3
| | | | | Other `_mjit_compile_*.erb` files don't use goto. These files'd better be consistent for readability.
* enable constant cache on ractorsKoichi Sasada2021-01-051-5/+8
| | | | | | | | | | | | | | | | constant cache `IC` is accessed by non-atomic manner and there are thread-safety issues, so Ruby 3.0 disables to use const cache on non-main ractors. This patch enables it by introducing `imemo_constcache` and allocates it by every re-fill of const cache like `imemo_callcache`. [Bug #17510] Now `IC` only has one entry `IC::entry` and it points to `iseq_inline_constant_cache_entry`, managed by T_IMEMO object. `IC` is atomic data structure so `rb_mjit_before_vm_ic_update()` and `rb_mjit_after_vm_ic_update()` is not needed.
* make-snapshot: add -extlibs optionNobuyoshi Nakada2021-01-041-1/+2
| | | | | | `make-snapshot` with `-extlibs` (or `-extlibs=yes`) includes extracted and patched external library sources that the extension libraries depend on.
* ifchange: check the number of argumentsNobuyoshi Nakada2021-01-041-0/+29
|
* Method ID of call and fcall can be const not only identNobuyoshi Nakada2021-01-011-1/+1
|
* Access to reserved word parameter like as `__builtin.arg!(:if)`Nobuyoshi Nakada2020-12-311-0/+6
|
* bisect.sh: Apply bisect.patch if exists [ci skip]Nobuyoshi Nakada2020-12-291-1/+16
| | | | | For some external reasons, e.g. Bison 3.5.91, some commits need to be applied retroactively in order to pass builds.
* Canonicalization functions were removed alreadyNobuyoshi Nakada2020-12-291-1/+1
| | | | At b958e2add835d62c0a62edaf9a23ecbbd70a3635
* transcode-tblgen.rb: make silent a little when just -vNobuyoshi Nakada2020-12-291-8/+8
|
* transcode-tblgen.rb: send verbose messages to STDOUTNobuyoshi Nakada2020-12-291-7/+7
|
* Do not include external library sources into packagesNobuyoshi Nakada2020-12-271-0/+1
|
* Ignore symbols declared in the platform headerNobuyoshi Nakada2020-12-271-0/+15
|
* Ignore objects from the "missing" directoryNobuyoshi Nakada2020-12-271-1/+8
|
* Get rid of \K for old BASERUBYs which have a bug in String#scanNobuyoshi Nakada2020-12-271-1/+1
|
* Exclude entry pointsNobuyoshi Nakada2020-12-271-0/+1
|
* Support AC_FUNC_MEMCMPNobuyoshi Nakada2020-12-271-1/+3
|
* Follow up on variations of the development start messages [ci skip]Nobuyoshi Nakada2020-12-251-1/+1
|
* fix filenameNARUSE, Yui2020-12-251-1/+1
|
* gen-release-note.rb: Avoid to depend release metadatav3_0_0_rc2NARUSE, Yui2020-12-241-14/+5
| | | | Because it doesn't have metadata when I edit draft.
* Add tag keyNARUSE, Yui2020-12-241-0/+1
| | | | | Release note will use tag value when I write GitHub URLs with release tags.
* Add release engineering related toolsNARUSE, Yui2020-12-243-0/+307
|
* Revert "remove bz2"NARUSE, Yui2020-12-241-1/+7
| | | | | This reverts commit 7856da5fe75a76bec909778e411270c10a04ca3a. For other branches
* Pass keyword options in assert_syntax_errorNobuyoshi Nakada2020-12-241-2/+2
|
* [ruby/date] Fix envutil for old RubyKenta Murata2020-12-231-2/+2
| | | | https://github.com/ruby/date/commit/57e25c406a
* Skip checking ROBJECT_EMBEDTakashi Kokubun2020-12-221-3/+3
| | | | | | | | | | | | | | | | | | | when we already check ROBJECT_NUMIV(self) is larger than ROBJECT_EMBED_LEN_MAX at the beginning of the method, because the number of instance variables for the same object doesn't decrease. ``` $ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=4 --alternate --output=all benchmark_3000.yml before --jit: ruby 3.0.0dev (2020-12-23T06:32:19Z master dbb4f19969) +JIT [x86_64-linux] after --jit: ruby 3.0.0dev (2020-12-23T07:45:42Z master 95e866c098) +JIT [x86_64-linux] last_commit=Skip checking ROBJECT_EMBED Calculating ------------------------------------- before --jit after --jit Optcarrot 3000 frames 102.34091772397872 102.77738408379015 fps 103.37784821624231 105.46530219076179 104.39567016876369 106.43712452152215 105.31782092252713 106.54986150067481 ```
* [ruby/date] Workaround for non-ruby repository like ruby/date, flori/jsonHiroshi SHIBATA2020-12-231-2/+2
| | | | https://github.com/ruby/date/commit/1ff7fa2d80
* Guard < Ruby 3.0 for the repositories of default gems.Hiroshi SHIBATA2020-12-231-1/+1
|
* Adapt tool/search-cgvars.rb for MacOSMarc-Andre Lafortune2020-12-221-5/+18
|
* Add tool/search-cgvars.rb, thanks @ko1Marc-Andre Lafortune2020-12-221-0/+42
|
* Prepare to release json-2.5.0Hiroshi SHIBATA2020-12-221-0/+1
|
* Prefer stdbool in vm_execTakashi Kokubun2020-12-212-3/+3
| | | | Make the code a bit modern and consistent with some other places.
* Prepare for importing the set gemAkinori MUSHA2020-12-221-0/+3
|
* Add `require_relative` option to `assert_ractor`Marc-Andre Lafortune2020-12-201-1/+6
|
* Check mjit_call_p only when interruptedTakashi Kokubun2020-12-192-2/+8
| | | | | | | | | | | | | | | | | | | | | | | for leaf_without_check_ints insns. $ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=12 --alternate --output=all benchmark.yml before --jit: ruby 3.0.0dev (2020-12-20T05:02:18Z master 02b3555874) +JIT [x86_64-linux] after --jit: ruby 3.0.0dev (2020-12-20T05:36:00Z master 3f58de4eab) +JIT [x86_64-linux] last_commit=Check mjit_call_p only when interrupted Calculating ------------------------------------- before --jit after --jit Optcarrot Lan_Master.nes 84.50647332260259 85.85057800433144 fps 91.17796644338372 92.09930605656054 91.29346683444497 93.01336611323687 91.50322318568884 93.07234029037433 91.66560903214686 93.22773241529644 91.82315142636172 93.37032901061119 92.15066379608260 93.83701526141679 92.37897097456643 93.86032792681507 92.53049815524908 93.91211970920320 92.78414507914283 94.09109196967890 92.90299756525958 94.40107239595325 93.70279428858790 95.01326369371263
* `assert_ractor` tweak. Thanks NobuMarc-Andre Lafortune2020-12-191-5/+4
|
* Add `assert_ractor` [Feature #17367]Marc-Andre Lafortune2020-12-191-0/+17
|
* Prefer RB_OBJ_FROZEN_RAWTakashi Kokubun2020-12-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | following the original implementation's change. RB_TYPE_P(obj, T_OBJECT) is already checked in these places. ``` $ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=12 --alternate --output=all benchmark.yml before --jit: ruby 3.0.0dev (2020-12-19T08:27:44Z master 52b1716c78) +JIT [x86_64-linux] after --jit: ruby 3.0.0dev (2020-12-19T08:27:44Z master 52b1716c78) +JIT [x86_64-linux] Calculating ------------------------------------- before --jit after --jit Optcarrot Lan_Master.nes 88.04551460097873 84.38303800957766 fps 88.25194345156318 85.31098251408059 88.34143982084871 86.60491582339496 88.63486879856976 88.23675694701865 88.85392212902701 88.23696283371444 89.05739427483194 88.97185459567562 89.08141031147311 90.16373192658857 89.11359420883423 90.61655686444394 89.80323392966130 90.77044959019291 90.58912189625207 90.88534596330966 90.59847996970350 91.34314801302897 90.61180456415137 93.11599164249547 ```
* Use category: :deprecated in warnings that are related to deprecationJeremy Evans2020-12-181-0/+7
| | | | | | | | | | | | | | | | | Also document that both :deprecated and :experimental are supported :category option values. The locations where warnings were marked as deprecation warnings was previously reviewed by shyouhei. Comment a couple locations where deprecation warnings should probably be used but are not currently used because deprecation warning enablement has not occurred at the time they are called (RUBY_FREE_MIN, RUBY_HEAP_MIN_SLOTS, -K). Add assert_deprecated_warn to test assertions. Use this to simplify some tests, and fix failing tests after marking some warnings with deprecated category.
* test/ruby: Check warning messages at a finer granularityNobuyoshi Nakada2020-12-171-0/+7
| | | | | Instead of suppressing all warnings wholly in each test scripts by setting `$VERBOSE` to `nil` in `setup` methods.