path: root/mjit_worker.c
diff options
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 06:53:00 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 06:53:00 (GMT)
commitb710785f1aaaa06bd5cd2e7a584c24aff20c9ab4 (patch)
tree0f54465ac7315f016a281e371ca90666f0d0e369 /mjit_worker.c
parentd79f72521e512a91955881de33be12464b9e3e4e (diff)
add disabling MJIT features option.
* 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. * introduce the `ENABLE_MJIT` variable. * 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. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_worker.c')
1 files changed, 0 insertions, 1 deletions
diff --git a/mjit_worker.c b/mjit_worker.c
index d9ca5a2..1865d30 100644
--- a/mjit_worker.c
+++ b/mjit_worker.c
@@ -72,7 +72,6 @@
#define __EXTENSIONS__ 1
-#include "internal.h"
#include "vm_core.h"
#include "mjit.h"
#include "gc.h"