Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
467:261b05cf4d1c | 468:45a67b6f1310 |
---|---|
34 // leaves a monitor lock | 34 // leaves a monitor lock |
35 void DtoLeaveMonitor(LLValue* v); | 35 void DtoLeaveMonitor(LLValue* v); |
36 | 36 |
37 // nested variable/class helpers | 37 // nested variable/class helpers |
38 LLValue* DtoNestedContext(FuncDeclaration* func); | 38 LLValue* DtoNestedContext(FuncDeclaration* func); |
39 LLValue* DtoNestedVariable(VarDeclaration* vd); | 39 DValue* DtoNestedVariable(Type* astype, VarDeclaration* vd); |
40 | 40 |
41 // basic operations | 41 // basic operations |
42 void DtoAssign(Loc& loc, DValue* lhs, DValue* rhs); | 42 void DtoAssign(Loc& loc, DValue* lhs, DValue* rhs); |
43 | 43 |
44 // create a null dvalue | 44 // create a null dvalue |