Clarify trampoline error message in aot-runtime
authorAndi McClure <andi.mcclure@xamarin.com>
Thu, 4 Feb 2016 18:43:03 +0000 (13:43 -0500)
committerAndi McClure <andi.mcclure@xamarin.com>
Thu, 4 Feb 2016 18:43:03 +0000 (13:43 -0500)
mono/mini/aot-runtime.c

index 98c346de4cd771a3cea3999c42aa67657693c272..0b6c4a6ecf6fa6f1acb4e6695509f1c0d28d415b 100644 (file)
@@ -5266,7 +5266,7 @@ get_numerous_trampoline (MonoAotTrampoline tramp_type, int n_got_slots, MonoAotM
 #define        MONOTOUCH_TRAMPOLINES_ERROR ""
 #endif
        if (amodule->trampoline_index [tramp_type] == amodule->info.num_trampolines [tramp_type]) {
-               g_error ("Ran out of trampolines of type %d in '%s' (%d)%s\n", 
+               g_error ("Ran out of trampolines of type %d in '%s' (limit %d)%s\n", 
                                 tramp_type, image ? image->name : "mscorlib", amodule->info.num_trampolines [tramp_type], MONOTOUCH_TRAMPOLINES_ERROR);
        }
        index = amodule->trampoline_index [tramp_type] ++;