Increase a buf size.
authorZoltan Varga <vargaz@gmail.com>
Wed, 4 Aug 2010 01:39:55 +0000 (03:39 +0200)
committerZoltan Varga <vargaz@gmail.com>
Wed, 4 Aug 2010 01:40:19 +0000 (03:40 +0200)
2010-08-04  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_extra_methods): Increase a buf size.

mono/mini/aot-compiler.c

index 9814b972d6d6f979058d6569bfaaf0d57b876165..f0d18dc0590e04e20d22f2ad3acf71f050da8213 100644 (file)
@@ -5116,7 +5116,7 @@ emit_extra_methods (MonoAotCompile *acfg)
                if (!cfg)
                        continue;
 
-               buf_size = 1024;
+               buf_size = 10240;
                p = buf = g_malloc (buf_size);
 
                nmethods ++;