Sfoglia il codice sorgente

Increase a buf size.

2010-08-04  Zoltan Varga  <[email protected]>

	* aot-compiler.c (emit_extra_methods): Increase a buf size.
Zoltan Varga 15 anni fa
parent
commit
b4d94f429b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      mono/mini/aot-compiler.c

+ 1 - 1
mono/mini/aot-compiler.c

@@ -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 ++;