summaryrefslogtreecommitdiffstats
path: root/abs/extra/mono/mini_amd64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/mono/mini_amd64.patch')
-rw-r--r--abs/extra/mono/mini_amd64.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/extra/mono/mini_amd64.patch b/abs/extra/mono/mini_amd64.patch
new file mode 100644
index 0000000..f8685c3
--- /dev/null
+++ b/abs/extra/mono/mini_amd64.patch
@@ -0,0 +1,13 @@
+--- mono/mini/mini-amd64.c 2009-03-19 21:08:18 UTC (rev 129824)
++++ mono/mini/mini-amd64.c 2009-03-19 21:09:53 UTC (rev 129825)
+@@ -1009,7 +1009,7 @@
+ locals_size += mono_type_size (ins->inst_vtype, &ialign);
+ }
+
+- if ((cfg->num_varinfo > 10000) || (locals_size >= (1 << 15))) {
++ if ((cfg->num_varinfo > 5000) || (locals_size >= (1 << 15)) || (header->code_size > 110000)) {
+ /* Avoid hitting the stack_alloc_size < (1 << 16) assertion in emit_epilog () */
+ cfg->arch.omit_fp = FALSE;
+ }
+
+