Mercurial > projects > ldc
diff gen/rttibuilder.h @ 1376:a5d0e04298a8
Cleaned up TypeInfo_Tuple generation.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Sun, 17 May 2009 05:07:51 +0200 |
parents | 63f4afd01036 |
children | a0a4d4dac1a4 |
line wrap: on
line diff
--- a/gen/rttibuilder.h Sun May 17 04:41:10 2009 +0200 +++ b/gen/rttibuilder.h Sun May 17 05:07:51 2009 +0200 @@ -6,6 +6,7 @@ struct ClassDeclaration; struct TypeClass; +struct Type; struct IrStruct; @@ -29,8 +30,9 @@ void push_typeinfo(Type* t); void push_classinfo(ClassDeclaration* cd); void push_funcptr(FuncDeclaration* fd); - void push_void_array(size_t dim, llvm::Constant* ptr); - void push_void_array(llvm::Constant* CI, Type* valtype, Dsymbol* sym); + void push_void_array(uint64_t dim, llvm::Constant* ptr); + void push_void_array(llvm::Constant* CI, Type* valtype, Dsymbol* mangle_sym); + void push_array(llvm::Constant* CI, uint64_t dim, Type* valtype, Dsymbol* mangle_sym); /// Creates the initializer constant and assigns it to the global. void finalize(IrGlobal* tid);