projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec46c85
)
mono_patch_info_hash: handle the MONO_PATCH_INFO_OBJC_SELECTOR_REF case
author
Miguel de Icaza
<miguel@gnome.org>
Wed, 4 Sep 2013 14:53:48 +0000
(10:53 -0400)
committer
Miguel de Icaza
<miguel@gnome.org>
Wed, 4 Sep 2013 14:53:48 +0000
(10:53 -0400)
mono/mini/mini.c
patch
|
blob
|
history
diff --git
a/mono/mini/mini.c
b/mono/mini/mini.c
index 9dda83ac76437359784342a92722d1840233c3f4..53a2b7e6ff048acd5442d94c26e2a4740b1321d0 100644
(file)
--- a/
mono/mini/mini.c
+++ b/
mono/mini/mini.c
@@
-3098,6
+3098,11
@@
mono_patch_info_hash (gconstpointer data)
return (ji->type << 8) | ji->data.table->table_size;
case MONO_PATCH_INFO_GSHAREDVT_METHOD:
return (ji->type << 8) | (gssize)ji->data.gsharedvt_method->method;
+#ifdef MONO_ARCH_HAVE_OBJC_GET_SELECTOR
+ case MONO_PATCH_INFO_OBJC_SELECTOR_REF:
+ // Hash on the selector name
+ return g_str_hash (ji->data.target);
+#endif
default:
printf ("info type: %d\n", ji->type);
mono_print_ji (ji); printf ("\n");