[aot] fix compilation for targets that do not set MONO_ARCH_HAVE_FULL_AOT_TRAMPOLINES...
authorBernhard Urban <bernhard.urban@xamarin.com>
Tue, 13 Jun 2017 19:56:52 +0000 (21:56 +0200)
committerZoltan Varga <vargaz@gmail.com>
Tue, 13 Jun 2017 19:56:52 +0000 (15:56 -0400)
mono/mini/aot-compiler.c

index 3c4e3aa899f535656ae0429158f5bf8af40dec6c..61991b5eb0f523cdd02d11c2b03f8f0764003024 100644 (file)
@@ -6825,13 +6825,13 @@ emit_trampolines (MonoAotCompile *acfg)
                emit_trampoline (acfg, acfg->got_offset, info);
 #endif
 
-#endif /* #ifdef MONO_ARCH_HAVE_FULL_AOT_TRAMPOLINES */
-
                if (mono_aot_mode_is_interp (&acfg->aot_opts)) {
                        mono_arch_get_enter_icall_trampoline (&info);
                        emit_trampoline (acfg, acfg->got_offset, info);
                }
 
+#endif /* #ifdef MONO_ARCH_HAVE_FULL_AOT_TRAMPOLINES */
+
                /* Emit trampolines which are numerous */
 
                /*