diff dmd/func.c @ 468:45a67b6f1310

Removed the 'needsstorage' thing from Dsymbol. Arguments are not always given storage when applicable. This is not longer treat specially in this regard. Code for accessing nested variables and contexts rewritten. Probably more. Fairly well tested.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 04 Aug 2008 02:59:34 +0200
parents 44f08170f4ef
children 6aee82889553
line wrap: on
line diff
--- a/dmd/func.c	Sun Aug 03 16:59:28 2008 +0200
+++ b/dmd/func.c	Mon Aug 04 02:59:34 2008 +0200
@@ -796,11 +796,6 @@
 		if (v->storage_class & STClazy)
 		    v->storage_class |= STCin;
 		v->semantic(sc2);
-    #if IN_LLVM
-        // LLVMDC: the argument needs an addres if we want to attach debug info to it.
-        if (global.params.symdebug)
-            v->needsStorage = true;
-    #endif
 		if (!sc2->insert(v))
 		    error("parameter %s.%s is already defined", toChars(), v->toChars());
 		else