summaryrefslogtreecommitdiff
path: root/mjit.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-12 03:39:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-12 03:39:18 +0000
commit9dc2d2855ec6196e97e9693c25e9833b7a117284 (patch)
tree9e8de0f046c3dca43e812b7fa294eea55dcd8a52 /mjit.h
parent30bcbfd339d0b7176cc00a044d4682a300510ff3 (diff)
no --jit-cc
* ruby.c (setup_mjit_options): removed --jit-cc option, since mjit header is affected by generated config.h which depends on the given compiler, so it cannot work with different compilers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit.h')
-rw-r--r--mjit.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/mjit.h b/mjit.h
index 223b8e5d6f..1a9f0ec6c7 100644
--- a/mjit.h
+++ b/mjit.h
@@ -25,21 +25,9 @@ enum rb_mjit_iseq_func {
LAST_JIT_ISEQ_FUNC = 3
};
-/* C compiler used to generate native code. */
-enum rb_mjit_cc {
- /* Not selected */
- MJIT_CC_DEFAULT = 0,
- /* GNU Compiler Collection */
- MJIT_CC_GCC = 1,
- /* LLVM/Clang */
- MJIT_CC_CLANG = 2
-};
-
/* MJIT options which can be defined on the MRI command line. */
struct mjit_options {
char on; /* flag of MJIT usage */
- /* Default: clang for macOS, cl for Windows, gcc for others. */
- enum rb_mjit_cc cc;
/* Save temporary files after MRI finish. The temporary files
include the pre-compiled header, C code file generated for ISEQ,
and the corresponding object file. */