diff dmd/Module.d @ 14:2cc604139636

Implemented Linux support for ddmd. Some parts are a bit hacky to just "get it working", that said, druntime and phobos compile, and unittests pass.
author Robert Clipsham <robert@octarineparrot.com>
date Sun, 04 Apr 2010 02:06:32 +0100
parents 63623152e82a
children 5c9b78899f5d
line wrap: on
line diff
--- a/dmd/Module.d	Wed Mar 31 16:29:36 2010 +0400
+++ b/dmd/Module.d	Sun Apr 04 02:06:32 2010 +0100
@@ -1221,6 +1221,9 @@
 			}
 			else
 			{
+				version(Bug4054)
+				todo = cast(Dsymbol*)GC.malloc(len * (Dsymbol*).sizeof);
+				else
 				todo = cast(Dsymbol*)alloca(len * (Dsymbol*).sizeof);
 				assert(todo);
 			}
@@ -1564,4 +1567,4 @@
 	}
 
     Module isModule() { return this; }
-}
\ No newline at end of file
+}