summaryrefslogtreecommitdiff
path: root/testing/mono/mini_amd64.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-07 00:37:20 -0700
committerroot <root@rshg054.dnsready.net>2012-10-07 00:37:20 -0700
commit682e4a12f537d598cb116ba394ceeae1eafc281e (patch)
treeb48c04d80686157d339741b922053c2e88b15d68 /testing/mono/mini_amd64.patch
parente7552010f531ef1b114352f0ce71a307360bf1d4 (diff)
Sun Oct 7 00:37:16 PDT 2012
Diffstat (limited to 'testing/mono/mini_amd64.patch')
-rw-r--r--testing/mono/mini_amd64.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/mono/mini_amd64.patch b/testing/mono/mini_amd64.patch
new file mode 100644
index 000000000..f8685c337
--- /dev/null
+++ b/testing/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;
+ }
+
+