[ruby-cvs:72304] ko1:r65204 (trunk): add disabling MJIT features option.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Sat Oct 20 15:53:00 JST 2018


ko1	2018-10-20 15:53:00 +0900 (Sat, 20 Oct 2018)

  New Revision: 65204

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65204

  Log:
    add disabling MJIT features option.
    
    * configure.ac: introduce new configure option `--enable-mjit` and
      `--disable-mjit`. Default is "enable".
      `--disable-mjit` disables all of MJIT features so that `ruby --jit`
      can't enable MJIT.
      This option affect a macro `USE_MJIT`.
      This change remove `--enable/disable-install-mjit-header` option.
    
    * Makefile.in: introduce the `ENABLE_MJIT` variable.
    
    * common.mk: use `ENABLE_MJIT` option.
    
    * internal.h: respect `USE_MJIT`. Same as other *.c, *.h.
    
    * test/ruby/test_jit.rb: check `ENABLE_MJIT` key of rbconfg.rb.

  Modified files:
    trunk/Makefile.in
    trunk/common.mk
    trunk/configure.ac
    trunk/internal.h
    trunk/mjit.c
    trunk/mjit.h
    trunk/mjit_compile.c
    trunk/mjit_worker.c
    trunk/ruby.c
    trunk/test/ruby/test_jit.rb
    trunk/thread.c
    trunk/thread_pthread.c
    trunk/thread_win32.c
    trunk/version.c
    trunk/vm_core.h
    trunk/vm_trace.c


More information about the ruby-cvs mailing list