Mercurial > projects > ldc
diff dmd/declaration.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 | aaade6ded589 |
children | 50383e476c7e |
line wrap: on
line diff
--- a/dmd/declaration.c Sun Aug 03 16:59:28 2008 +0200 +++ b/dmd/declaration.c Mon Aug 04 02:59:34 2008 +0200 @@ -621,9 +621,6 @@ onstack = 0; canassign = 0; value = NULL; - - // LLVMDC - needsStorage = false; } Dsymbol *VarDeclaration::syntaxCopy(Dsymbol *s) @@ -645,8 +642,6 @@ sv = new VarDeclaration(loc, type ? type->syntaxCopy() : NULL, ident, init); sv->storage_class = storage_class; - // LLVMDC - sv->needsStorage = needsStorage; } #ifdef _DH // Syntax copy for header file