Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2016-07-08 01:57:55 +0300
committerZoltan Varga <vargaz@gmail.com>2016-07-08 01:57:55 +0300
commitc770a73d36ff2a2c7223813fced4a86684a0c24f (patch)
treecd72ec0c61169c58daa8b349c3de3f9828c497ad
parente23589a6cf64e05734d461fec8f46ccaba4884bf (diff)
[aot] Allow the loading of llvm compiled code into a non-llvm runtime on arm and vice versa, the restriction is not needed any more.
-rw-r--r--mono/mini/aot-runtime.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/mono/mini/aot-runtime.c b/mono/mini/aot-runtime.c
index 5aa2ca6d88a..d4eb786235e 100644
--- a/mono/mini/aot-runtime.c
+++ b/mono/mini/aot-runtime.c
@@ -1782,17 +1782,6 @@ check_usable (MonoAssembly *assembly, MonoAotFileInfo *info, guint8 *blob, char
msg = g_strdup_printf ("not compiled with --aot=llvmonly");
usable = FALSE;
}
-#ifdef TARGET_ARM
- /* mono_arch_find_imt_method () requires this */
- if ((info->flags & MONO_AOT_FILE_FLAG_WITH_LLVM) && !mono_use_llvm) {
- msg = g_strdup_printf ("compiled against LLVM");
- usable = FALSE;
- }
- if (!(info->flags & MONO_AOT_FILE_FLAG_WITH_LLVM) && mono_use_llvm) {
- msg = g_strdup_printf ("not compiled against LLVM");
- usable = FALSE;
- }
-#endif
if (mini_get_debug_options ()->mdb_optimizations && !(info->flags & MONO_AOT_FILE_FLAG_DEBUG) && !full_aot) {
msg = g_strdup_printf ("not compiled for debugging");
usable = FALSE;