[svn] r5938: nemerle/trunk/ncc/main.n

malekith svnadmin at nemerle.org
Tue Nov 15 14:28:44 CET 2005


Log:
Always use at least 16M stack on Windows.

Author: malekith
Date: Tue Nov 15 14:28:43 2005
New Revision: 5938

Modified:
   nemerle/trunk/ncc/main.n

Modified: nemerle/trunk/ncc/main.n
==============================================================================
--- nemerle/trunk/ncc/main.n	(original)
+++ nemerle/trunk/ncc/main.n	Tue Nov 15 14:28:43 2005
@@ -58,7 +58,7 @@
     {
       if (stack_megs != 0 || needs_bigger_stack ()) {
         when (stack_megs == 0)
-          stack_megs = 64;
+          stack_megs = 16;
         def thread = System.Threading.Thread (main_with_catching, stack_megs * 1024 * 1024);
         thread.Start ();
         thread.Join ();
@@ -68,7 +68,6 @@
     
     needs_bigger_stack () : bool
     {
-      System.IntPtr.Size > 4 &&
       typeof (object).Assembly.GetType ("System.RuntimeType") != null
     }
 



More information about the svn mailing list