diff gen/llvmhelpers.h @ 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 76078c8ab5b9
children 672eb4893b55
line wrap: on
line diff
--- a/gen/llvmhelpers.h	Sun Aug 03 16:59:28 2008 +0200
+++ b/gen/llvmhelpers.h	Mon Aug 04 02:59:34 2008 +0200
@@ -36,7 +36,7 @@
 
 // nested variable/class helpers
 LLValue* DtoNestedContext(FuncDeclaration* func);
-LLValue* DtoNestedVariable(VarDeclaration* vd);
+DValue* DtoNestedVariable(Type* astype, VarDeclaration* vd);
 
 // basic operations
 void DtoAssign(Loc& loc, DValue* lhs, DValue* rhs);