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
This commit is contained in:
parent
54de00798c
commit
75eff5002d
2
ruby.c
2
ruby.c
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user