diff dmd/FuncDeclaration.d @ 68:ee3a9f34dc48

final bits of codegen implementation to compile Phobos
author korDen
date Tue, 24 Aug 2010 16:44:34 +0400
parents cab4c37afb89
children 2e2a5c3f943a
line wrap: on
line diff
--- a/dmd/FuncDeclaration.d	Mon Aug 23 21:21:05 2010 +0400
+++ b/dmd/FuncDeclaration.d	Tue Aug 24 16:44:34 2010 +0400
@@ -2066,7 +2066,7 @@
 	
     bool isCodeseg()
 	{
-		assert(false);
+		return true;		// functions are always in the code segment
 	}
 	
     bool isOverloadable()