/** * \file * Author: * Dietmar Maurer (dietmar@ximian.com) * * (C) 2001, 2002, 2003 Ximian, Inc. */ #ifndef _MONO_JIT_JIT_H_ #define _MONO_JIT_JIT_H_ #include MONO_BEGIN_DECLS /** * Allows control over our AOT (Ahead-of-time) compilation mode. */ typedef enum { /* Disables AOT mode */ MONO_AOT_MODE_NONE, /* Enables normal AOT mode, equivalent to mono_jit_set_aot_only (false) */ MONO_AOT_MODE_NORMAL, /* Enables hybrid AOT mode, JIT can still be used for wrappers */ MONO_AOT_MODE_HYBRID, /* Enables full AOT mode, JIT is disabled and not allowed, * equivalent to mono_jit_set_aot_only (true) */ MONO_AOT_MODE_FULL, /* Same as full, but use only llvm compiled code */ MONO_AOT_MODE_LLVMONLY, /* Uses Interpreter, JIT is disabled and not allowed, * equivalent to "--full-aot --interpreter" */ MONO_AOT_MODE_INTERP, /* Same as INTERP, but use only llvm compiled code */ MONO_AOT_MODE_INTERP_LLVMONLY, /* 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; MONO_END_DECLS #endif