[mono/mono] 0cf69829: [fullaot] Don't use the complicated generics-heavy cache under full-aot.

"Rodrigo Kumpera ([email protected])" <[email protected]> Sat, 2 Nov 2013 00:27:04 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001421634bec6-0ad3f6a0-9e05-435a-84a2-dc65160e6cda-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/55f400b64460...0cf6982962fd

   Commit: 0cf6982962fdcbfa42d207ead4e3920f9086b499
   Author: Rodrigo Kumpera <[email protected]> (kumpera)
     Date: 2013-11-01 21:51:16 GMT
      URL: https://github.com/mono/mono/commit/0cf6982962fdcbfa42d207ead4e3920f9086b499

[fullaot] Don't use the complicated generics-heavy cache under full-aot.

Changed paths:
  M mcs/class/corlib/System.Reflection/MonoProperty.cs

Modified: mcs/class/corlib/System.Reflection/MonoProperty.cs
===================================================================
@@ -299,7 +299,7 @@ public override object GetValue (object obj, object[] index)
 		{
 			if (index == null || index.Length == 0) {
 				/*FIXME we should check if the number of arguments matches the expected one, otherwise the error message will be pretty criptic.*/
-#if !MONOTOUCH
+#if !FULL_AOT_RUNTIME
 				if (cached_getter == null) {
 					MethodInfo method = GetGetMethod (true);
 					if (!DeclaringType.IsValueType && !method.ContainsGenericParameters) { //FIXME find a way to build an invoke delegate for value types.


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches