Revert "WIP - don't merge"
authorMarek Safar <marek.safar@gmail.com>
Sun, 24 Apr 2016 14:08:38 +0000 (16:08 +0200)
committerMarek Safar <marek.safar@gmail.com>
Sun, 24 Apr 2016 14:08:38 +0000 (16:08 +0200)
This reverts commit 359bb511d3cdb2b320fba35d99684152615d5242.

mono/metadata/class.c

index ec611a004925f9f57cf56094b85172c454124f9b..af9bb812c7456f0284003c49c9a94f1010ecfa8e 100644 (file)
@@ -10308,12 +10308,7 @@ mono_method_can_access_field (MonoMethod *method, MonoClassField *field)
 gboolean
 mono_method_can_access_method (MonoMethod *method, MonoMethod *called)
 {
-       gboolean res = mono_method_can_access_method_full (method, called, NULL);
-       if (!res) {
-               printf ("FAILED TO VERIFY %s calling %s\n", mono_method_full_name (method, 1), mono_method_full_name (called, 1));
-       }
-
-       return res;
+       return mono_method_can_access_method_full (method, called, NULL);
 }
 
 /*