diff 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
line wrap: on
line diff
--- a/gen/tollvm.h	Sat Oct 04 23:28:49 2008 +0200
+++ b/gen/tollvm.h	Sun Oct 05 11:47:47 2008 +0200
@@ -23,6 +23,10 @@
 
 unsigned DtoShouldExtend(Type* type);
 
+// tuple helper
+// takes a arguments list and makes a struct type out of them
+//const LLType* DtoStructTypeFromArguments(Arguments* arguments);
+
 // delegate helpers
 const LLStructType* DtoDelegateType(Type* t);
 LLValue* DtoDelegateEquals(TOK op, LLValue* lhs, LLValue* rhs);