static void
mono_check_interp_supported (void)
{
-#ifdef DISABLE_INTERPRETER
- g_error ("Mono IL interpreter support is missing\n");
-#endif
-
#ifdef MONO_CROSS_COMPILE
g_error ("--interpreter on cross-compile runtimes not supported\n");
#endif
mono_llvm_only = TRUE;
break;
- case MONO_EE_MODE_INTERP:
+ case MONO_AOT_MODE_INTERP_ONLY:
mono_check_interp_supported ();
mono_use_interpreter = TRUE;
MONO_AOT_MODE_INTERP_LLVMONLY,
/* Use only llvm compiled code, fall back to the interpeter */
MONO_AOT_MODE_LLVMONLY_INTERP,
+ /* Same as --interp */
+ MONO_AOT_MODE_INTERP_ONLY,
/* Sentinel value used internally by the runtime. We use a large number to avoid clashing with some internal values. */
MONO_AOT_MODE_LAST = 1000,
} MonoAotMode;
//XXX this enum *MUST extend MonoAotMode as they are consumed together.
typedef enum {
- /* Always execute with interp, will use JIT to produce trampolines */
- MONO_EE_MODE_INTERP = MONO_AOT_MODE_LAST,
+ MONO_EE_MODE_INTERP = MONO_AOT_MODE_INTERP_ONLY,
} MonoEEMode;
-
static inline MonoMethod*
jinfo_get_method (MonoJitInfo *ji)
{