ruby-changes:50146
From: k0kubun <ko1@a...>
Date: Wed, 7 Feb 2018 01:03:17 +0900 (JST)
Subject: [ruby-changes:50146] k0kubun:r62264 (trunk): ruby.c: add MJIT_FORCE_ENABLE macro
k0kubun 2018-02-07 01:03:14 +0900 (Wed, 07 Feb 2018) New Revision: 62264 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62264 Log: ruby.c: add MJIT_FORCE_ENABLE macro to always enable MJIT for testing. Modified files: trunk/ruby.c Index: ruby.c =================================================================== --- ruby.c (revision 62263) +++ ruby.c (revision 62264) @@ -1607,7 +1607,9 @@ process_options(int argc, char **argv, r https://github.com/ruby/ruby/blob/trunk/ruby.c#L1607 ruby_gc_set_params(opt->safe_level); ruby_init_loadpath_safe(opt->safe_level); +#ifndef MJIT_FORCE_ENABLE /* to use with: ./configure cppflags="-DMJIT_FORCE_ENABLE" */ if (opt->mjit.on) +#endif /* Using TMP_RUBY_PREFIX created by ruby_init_loadpath_safe(). */ mjit_init(&opt->mjit); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/