[mono/mono] 6a9c5853: [runtime] Fix the sparc build.

"Zoltan Varga ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <00000141eb8be490-574b4c73-a758-424e-8fcb-f44f5eec6d3a-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/0ab267799464...6a9c5853849d

   Commit: 6a9c5853849d4b60e94221a701b0ac8b6f97e0a4
   Author: Zoltan Varga <[email protected]> (vargaz)
     Date: 2013-10-24 17:37:11 GMT
      URL: https://github.com/mono/mono/commit/6a9c5853849d4b60e94221a701b0ac8b6f97e0a4

[runtime] Fix the sparc build.

Changed paths:
  M mono/mini/tramp-sparc.c

Modified: mono/mini/tramp-sparc.c
===================================================================
@@ -273,3 +273,20 @@
 	g_assert_not_reached ();
 	return NULL;
 }
+
+gpointer
+mono_arch_get_nullified_class_init_trampoline (MonoTrampInfo **info)
+{
+	guint8 *buf, *code;
+
+	code = buf = mono_global_codeman_reserve (16);
+
+	sparc_ret (code);
+
+	mono_arch_flush_icache (buf, code - buf);
+
+	if (info)
+		*info = mono_tramp_info_create ("nullified_class_init_trampoline", buf, code - buf, NULL, NULL);
+
+	return buf;
+}


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.