[mono/mono] 32e55757: [aot] Increase a buffer size to avoid an assert. Fixes #16239.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <0000014258369df7-cdbc94f8-f94d-4c7a-a6c1-fa210318b289-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/18aa5e3bf059...32e557576897
Commit: 32e5575768975a4d5a57bedaa1eae555c8599f7b
Author: Zoltan Varga <[email protected]> (vargaz)
Date: 2013-11-14 20:01:59 GMT
URL: https://github.com/mono/mono/commit/32e5575768975a4d5a57bedaa1eae555c8599f7b
[aot] Increase a buffer size to avoid an assert. Fixes #16239.
Changed paths:
M mono/mini/aot-compiler.c
Modified: mono/mini/aot-compiler.c
===================================================================
@@ -5188,7 +5188,7 @@ struct _ReadOnlyValue {
seq_points = cfg->seq_point_info;
- buf_size = header->num_clauses * 256 + debug_info_size + 2048 + (seq_points ? (seq_points->len * 64) : 0) + cfg->gc_map_size;
+ buf_size = header->num_clauses * 256 + debug_info_size + 2048 + (seq_points ? (seq_points->len * 128) : 0) + cfg->gc_map_size;
p = buf = g_malloc (buf_size);
use_unwind_ops = cfg->unwind_ops != NULL;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches