summaryrefslogtreecommitdiff
path: root/template
Commit message (Collapse)AuthorAgeFilesLines
* Fix trivial -Wundef warningsBenoit Daloze2021-05-041-1/+1
| | | | | | * See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
* just redirect preprocessed vm.c to mjit header [Bug #17787]Nobuyoshi Nakada2021-04-101-1/+1
| | | | Not all preprocessors work with output option.
* Share variables defined in common GNUmakefile also in cygwin/mingwNobuyoshi Nakada2021-03-211-2/+5
|
* No longer aclocal is used [ci skip]Nobuyoshi Nakada2021-03-201-7/+1
|
* Support coroutine on universal binaryNobuyoshi Nakada2021-01-221-1/+1
|
* Revert "Autoconf 2.70 no longer has -o option"Nobuyoshi Nakada2021-01-181-1/+1
| | | | | This reverts commit 331f0bc1cb7965bec9aed5d7278360c2e9fc8946. It seems a mistake.
* Autoconf 2.70 no longer has -o optionNobuyoshi Nakada2021-01-181-1/+1
|
* Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun2021-01-131-1/+1
| | | | | | | | 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]
* Fixed wrong configure optionNobuyoshi Nakada2020-12-291-2/+2
|
* Make more silent when -s on GNU makeNobuyoshi Nakada2020-12-292-2/+6
|
* transcode-tblgen.rb: make silent a little when just -vNobuyoshi Nakada2020-12-292-0/+2
|
* Ignore symbols declared in the platform headerNobuyoshi Nakada2020-12-271-1/+1
|
* fix inline method cache sync bugKoichi Sasada2020-12-151-2/+2
| | | | | | | | | `cd` is passed to method call functions to method invocation functions, but `cd` can be manipulated by other ractors simultaneously so it contains thread-safety issue. To solve this issue, this patch stores `ci` and found `cc` to `calling` and stops to pass `cd`.
* Revert "Set VM_FRAME_FLAG_FINISH at once on MJIT"Takashi Kokubun2020-11-261-1/+1
| | | | | | | | This reverts commit 4d2c8edca69884a41d2f843d36023e3decdb9872. Unfortunately this seems to cause several issues: https://github.com/ruby/ruby/runs/1462188376?check_suite_focus=true http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3272802
* Set VM_FRAME_FLAG_FINISH at once on MJITTakashi Kokubun2020-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Performance is probably improved? $ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=12 --alternate --output=all benchmark.yml before --jit: ruby 3.0.0dev (2020-11-27T04:37:47Z master 69e77e81dc) +JIT [x86_64-linux] after --jit: ruby 3.0.0dev (2020-11-27T05:28:19Z master df6b05c6dd) +JIT [x86_64-linux] last_commit=Set VM_FRAME_FLAG_FINISH at once Calculating ------------------------------------- before --jit after --jit Optcarrot Lan_Master.nes 80.89292998533379 82.19497327502751 fps 80.93130641142331 85.13943315260148 81.06214830270119 87.43757879797808 82.29172808453910 87.89942441487113 84.61206450455929 87.91309779491075 85.44545883567997 87.98026086648694 86.02923132404449 88.03081060383973 86.07411817365879 88.14650206137341 86.34348799602836 88.32791633649961 87.90257338977324 88.57599644892220 88.58006509876580 88.67426384743277 89.26611118140011 88.81669430874207 This should have no bad impact on VM because this function is ALWAYS_INLINE.
* rubyspec-capiext: Use plain DLDFLAGS without flags for librubyNobuyoshi Nakada2020-11-221-1/+2
|
* Removed canonicalization for mathnNobuyoshi Nakada2020-11-101-2/+1
|
* check isolated Proc more strictlyKoichi Sasada2020-10-291-1/+1
| | | | | Isolated Proc prohibit to access outer local variables, but it was violated by binding and so on, so they should be error.
* Don't redefine #rb_intern over and over againStefan Stüben2020-10-211-2/+0
|
* DEPRECATED_TYPE: is deprecated卜部昌平2020-08-271-1/+0
| | | | Nobody uses this macro any longer.
* template/prelude.c.tmpl: suppress clang-12 warning卜部昌平2020-08-111-0/+6
| | | | | Clang 12 warns "suspicious concatenation of string literals in an array initialization", which is rather annoying than useful in this context.
* tool/prelude.c.tmpl: use RubyVM::CEscape卜部昌平2020-08-111-19/+7
| | | | Do not repeat yourself.
* Ignore configurations in un-built extension librariesNobuyoshi Nakada2020-06-231-0/+1
| | | | | Exclude linker flags for external libraries used by no longer built extension libraries when static-linked-ext.
* Build configured extension libraries onlyNobuyoshi Nakada2020-06-191-1/+11
| | | | | Consider the libraries, which remain exts.mk but not listed in ext/configure-ext.mk, removed.
* Configure only directories having extconf.rbNobuyoshi Nakada2020-06-191-0/+1
|
* Now bundled gems are extracted under .bundle/gemsNobuyoshi Nakada2020-06-192-2/+2
|
* Clean exts.mk under each extension libraryNobuyoshi Nakada2020-06-191-0/+1
|
* Added install-dbgNobuyoshi Nakada2020-06-132-0/+12
| | | | Scripts to run the interpreter via debugger.
* Hash marks in Makefile need to be escaped [Bug #16935]Nobuyoshi Nakada2020-06-061-1/+1
|
* Build auxiliary program files earlyNobuyoshi Nakada2020-05-121-1/+1
|
* Fixed a typoNobuyoshi Nakada2020-05-101-1/+1
|
* Fix for cross_compilingNobuyoshi Nakada2020-05-101-1/+1
| | | | `RubyVM.each_builtin` is not defined when cross compiling.
* delete mk_builtin_binary.rb卜部昌平2020-05-101-0/+30
| | | | To generate what is necessary via generic_erb.rb instead.
* delete mk_call_iseq_optimized.rb卜部昌平2020-05-101-0/+68
| | | | To generate what is necessary via generic_erb.rb instead.
* Merge pull request #2991 from shyouhei/ruby.h卜部昌平2020-04-081-8/+8
| | | Split ruby.h
* Revert "Moved aclocal.m4 to macro directory"Nobuyoshi Nakada2020-04-051-4/+4
| | | | | This reverts commit 4a6571dbc14ee4e88c12cd9931f7695077a3ee6e, because chkbuild does not follow.
* Moved aclocal.m4 to macro directoryNobuyoshi Nakada2020-04-051-4/+4
|
* Added tooldir variableNobuyoshi Nakada2020-04-051-59/+61
|
* Share download cache with bundlerNobuyoshi Nakada2020-03-311-0/+1
|
* Make file names and variable names consistentTakashi Kokubun2020-03-231-1/+1
|
* Moved MJIT_WITHOUT_TABS default to configure.acNobuyoshi Nakada2020-03-241-0/+1
| | | | And then the environment variable.
* Update and extract for each gemNobuyoshi Nakada2020-03-131-0/+2
|
* add predefined macros for Doxygen卜部昌平2020-02-061-3/+43
| | | | | | | Predefined macros are practices not very well recommended, but can be better than having no documents at all. Without those predefined macros, Doxygen confused for instace PUREFUNC(int foo()) to be a declaration of PUREFUNC, not foo.
* Get rid of use of special variablesJeremy Evans2020-01-202-6/+6
| | | | | Use `"\n"` and `IO#fileno` instead of `$/` and `$.` respectively. [Feature #14240]
* Update clean-local [ci skip]Nobuyoshi Nakada2020-01-181-2/+2
| | | | | | | * Remove builtin_binary.inc which is generated for each time miniruby is built. * dSYM is a directory, not a file.
* decouple internal.h headers卜部昌平2019-12-261-2/+3
| | | | | | | | | | | | | | | | | | Saves comitters' daily life by avoid #include-ing everything from internal.h to make each file do so instead. This would significantly speed up incremental builds. We take the following inclusion order in this changeset: 1. "ruby/config.h", where _GNU_SOURCE is defined (must be the very first thing among everything). 2. RUBY_EXTCONF_H if any. 3. Standard C headers, sorted alphabetically. 4. Other system headers, maybe guarded by #ifdef 5. Everything else, sorted alphabetically. Exceptions are those win32-related headers, which tend not be self- containing (headers have inclusion order dependencies).
* remove prelude.cKoichi Sasada2019-12-111-1/+0
| | | | | | | | | prelude.c is an automatically generated file by template/prelude.c.tmpl. However it does not contain any required functions. So remove it from dependency. Also miniprelude.c is included by mini_builtin.c and does not need to make miniprelude.o.
* use compiled binary for gem_prelude.rb.Koichi Sasada2019-12-111-1/+1
| | | | | `gem_prelude.rb` is not compiled yet. This patch compile it to compiled binary.
* load prelude.rb by builtin features.Koichi Sasada2019-11-151-1/+1
| | | | | | | | | The script in prelude.rb was embed in MRI to load it (eval this script at everyboot). This commit change the loading process of prelude.rb. MRI doesn't eval a script, but load from compiled binary with builtin feature. So that Init_prelude() does not load `prelude.rb` now.
* Add missing Makefile dependencies for the tool/insns2vm.rb scriptDylan Thacker-Smith2019-11-131-1/+46
|