comparison gen/tollvm.h @ 648:8d850fa25713

Fix VarDecls for tuples. Closes #99. I've implemented it this way since it doesn't require any changes in the frontend. However, I think having TypeTuple expressed as LLVM struct types would make much more sense and open the door to tuple lvalues.
author Christian Kamm <kamm incasoftware de>
date Sun, 05 Oct 2008 11:47:47 +0200
parents 83ca663ecc20
children eef8ac26c66c
comparison
equal deleted inserted replaced
646:51c4d1a64da6 648:8d850fa25713
20 20
21 // returns if the type should be returned in a hidden pointer arguement 21 // returns if the type should be returned in a hidden pointer arguement
22 bool DtoIsReturnedInArg(Type* type); 22 bool DtoIsReturnedInArg(Type* type);
23 23
24 unsigned DtoShouldExtend(Type* type); 24 unsigned DtoShouldExtend(Type* type);
25
26 // tuple helper
27 // takes a arguments list and makes a struct type out of them
28 //const LLType* DtoStructTypeFromArguments(Arguments* arguments);
25 29
26 // delegate helpers 30 // delegate helpers
27 const LLStructType* DtoDelegateType(Type* t); 31 const LLStructType* DtoDelegateType(Type* t);
28 LLValue* DtoDelegateEquals(TOK op, LLValue* lhs, LLValue* rhs); 32 LLValue* DtoDelegateEquals(TOK op, LLValue* lhs, LLValue* rhs);
29 33