diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 16:03:14 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 16:03:14 +0000 |
commit | 75eff5002d3e8baab2af0df944d5cadc2d6aa0c3 (patch) | |
tree | 0779914a73ad185d90435ebb2ee10c59d9ce135b /ruby.c | |
parent | 54de00798c9949cb5f27bed735f3ed6d6e0eddb9 (diff) | |
download | ruby-75eff5002d3e8baab2af0df944d5cadc2d6aa0c3.tar.gz |
ruby.c: add MJIT_FORCE_ENABLE macro
to always enable MJIT for testing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1607,7 +1607,9 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt) 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); |