2009-05-12 Zoltan Varga <vargaz@gmail.com>
+ * aot-compiler.c mini.c mini-amd64.h mini-arm.h: Kill
+ MONO_ARCH_FULL_AOT_IMT_SUPPORTED define, both platforms now support imt.
+
* mini.c (mini_init): Install mono_aot_get_imt_thunk as the IMT thunk
builder when using full aot.
//acfg->aot_opts.print_skipped_methods = TRUE;
-#ifndef MONO_ARCH_FULL_AOT_IMT_SUPPORTED
- if (acfg->aot_opts.full_aot)
- mono_use_imt = FALSE;
-#endif
-
/*
* Since these methods are the only ones which are compiled with
* AOT support, and they are not used by runtime startup/shutdown code,
#ifdef MONO_ARCH_HAVE_STATIC_RGCTX_TRAMPOLINE
acfg->num_trampolines [MONO_AOT_TRAMP_STATIC_RGCTX] = acfg->aot_opts.full_aot ? 1024 : 0;
#endif
-#ifdef MONO_ARCH_FULL_AOT_IMT_SUPPORTED
acfg->num_trampolines [MONO_AOT_TRAMP_IMT_THUNK] = acfg->aot_opts.full_aot ? 128 : 0;
-#endif
acfg->method_index = 1;
#define MONO_ARCH_HAVE_STATIC_RGCTX_TRAMPOLINE 1
#define MONO_ARCH_AOT_SUPPORTED 1
-#define MONO_ARCH_FULL_AOT_IMT_SUPPORTED 1
#if !defined(PLATFORM_WIN32) || defined(__sun)
#define MONO_ARCH_ENABLE_MONITOR_IL_FASTPATH 1
#define MONO_ARCH_HAVE_DECOMPOSE_LONG_OPTS 1
#define MONO_ARCH_AOT_SUPPORTED 1
-#define MONO_ARCH_FULL_AOT_IMT_SUPPORTED 1
/* ARM doesn't have too many registers, so we have to use a callee saved one */
#define MONO_ARCH_RGCTX_REG ARMREG_V5
domain = mono_init_from_assembly (filename, filename);
if (mono_aot_only) {
- /* The IMT tables are very dynamic thus they are hard to AOT */
-#ifndef MONO_ARCH_FULL_AOT_IMT_SUPPORTED
- mono_use_imt = FALSE;
-#endif
/* This helps catch code allocation requests */
mono_code_manager_set_read_only (domain->code_mp);
}