Permalink
Browse files

2009-11-17 Zoltan Varga <vargaz@gmail.com>

	* aot-compiler.c (add_generic_instances): Emit instances of common generic
	classes for char/bool too.

svn path=/branches/monotouch-1-0/mono/; revision=146325
  • Loading branch information...
1 parent 74c2f25 commit c7c906d69ac9e360ce3e7d517258b8eea2b962b2 @vargaz vargaz committed Nov 17, 2009
Showing with 7 additions and 0 deletions.
  1. +5 −0 mono/mini/ChangeLog
  2. +2 −0 mono/mini/aot-compiler.c
View
@@ -1,3 +1,8 @@
+2009-11-17 Zoltan Varga <vargaz@gmail.com>
+
+ * aot-compiler.c (add_generic_instances): Emit instances of common generic
+ classes for char/bool too.
+
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Refactor some code into a new helper
View
@@ -2256,6 +2256,8 @@ add_generic_instances (MonoAotCompile *acfg)
insts [ninsts ++] = &mono_defaults.uint64_class->byval_arg;
insts [ninsts ++] = &mono_defaults.single_class->byval_arg;
insts [ninsts ++] = &mono_defaults.double_class->byval_arg;
+ insts [ninsts ++] = &mono_defaults.char_class->byval_arg;
+ insts [ninsts ++] = &mono_defaults.boolean_class->byval_arg;
/* Add GenericComparer<T> instances for primitive types for Enum.ToString () */
klass = mono_class_from_name (acfg->image, "System.Collections.Generic", "GenericComparer`1");

0 comments on commit c7c906d

Please sign in to comment.