Mercurial > projects > ldc
comparison gen/tollvm.h @ 1364:46f6365a50d7
Added IrTypeFunction and IrTypeDelegate and eliminated IrDType. This means the Type::ir field can be removed. It's the final part needed for the move to a slightly more sane type system. Now the whole thing just needs to be cleaned up :P
Added -v-cg switch, which right now just prints "codegen: module.name (module/name.d)" to stdout, this can really help figuring out where, in some complex build command, things go wrong.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Sat, 16 May 2009 18:19:52 +0200 |
parents | 45aca7e7cc88 |
children | 63f4afd01036 |
comparison
equal
deleted
inserted
replaced
1363:b7c8506e1eed | 1364:46f6365a50d7 |
---|---|
24 // tuple helper | 24 // tuple helper |
25 // takes a arguments list and makes a struct type out of them | 25 // takes a arguments list and makes a struct type out of them |
26 //const LLType* DtoStructTypeFromArguments(Arguments* arguments); | 26 //const LLType* DtoStructTypeFromArguments(Arguments* arguments); |
27 | 27 |
28 // delegate helpers | 28 // delegate helpers |
29 const LLStructType* DtoDelegateType(Type* t); | |
30 LLValue* DtoDelegateEquals(TOK op, LLValue* lhs, LLValue* rhs); | 29 LLValue* DtoDelegateEquals(TOK op, LLValue* lhs, LLValue* rhs); |
31 | 30 |
32 // return linkage type for symbol using the current ir state for context | 31 // return linkage type for symbol using the current ir state for context |
33 LLGlobalValue::LinkageTypes DtoLinkage(Dsymbol* sym); | 32 LLGlobalValue::LinkageTypes DtoLinkage(Dsymbol* sym); |
34 LLGlobalValue::LinkageTypes DtoInternalLinkage(Dsymbol* sym); | 33 LLGlobalValue::LinkageTypes DtoInternalLinkage(Dsymbol* sym); |