projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d73dcf7
)
Add types from the method header even for gshared methods.
author
Andrés G. Aragoneses
<knocte@gmail.com>
Thu, 6 Feb 2014 10:34:09 +0000
(11:34 +0100)
committer
Zoltan Varga
<vargaz@gmail.com>
Thu, 6 Feb 2014 10:34:29 +0000
(11:34 +0100)
mono/mini/aot-compiler.c
patch
|
blob
|
history
diff --git
a/mono/mini/aot-compiler.c
b/mono/mini/aot-compiler.c
index 1849b816a7fc28e7c36d4b06c709e9f4e6e58d18..29ef4b5f608a284063a520814a9e33512a08d50c 100644
(file)
--- a/
mono/mini/aot-compiler.c
+++ b/
mono/mini/aot-compiler.c
@@
-3815,6
+3815,9
@@
check_type_depth (MonoType *t, int depth)
return FALSE;
}
+static void
+add_types_from_method_header (MonoAotCompile *acfg, MonoMethod *method);
+
/*
* add_generic_class:
*
@@
-3875,9
+3878,11
@@
add_generic_class_with_depth (MonoAotCompile *acfg, MonoClass *klass, int depth,
continue;
}
- if (mono_method_is_generic_sharable_full (method, FALSE, FALSE, use_gsharedvt))
+ if (mono_method_is_generic_sharable_full (method, FALSE, FALSE, use_gsharedvt))
{
/* Already added */
+ add_types_from_method_header (acfg, method);
continue;
+ }
if (method->is_generic)
/* FIXME: */