Mercurial > projects > ldc
diff ir/irstruct.h @ 802:28ce72c60a21
Fixed some problems with the addZeros forward declarations having type mismatches.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sat, 29 Nov 2008 20:57:52 +0100 |
parents | 340acf1535d0 |
children | 96b404ba7eb0 |
line wrap: on
line diff
--- a/ir/irstruct.h Sat Nov 29 18:28:32 2008 +0100 +++ b/ir/irstruct.h Sat Nov 29 20:57:52 2008 +0100 @@ -8,6 +8,10 @@ struct IrInterface; +void addZeros(std::vector<const llvm::Type*>& inits, size_t pos, size_t offset); +void addZeros(std::vector<llvm::Constant*>& inits, size_t pos, size_t offset); +void addZeros(std::vector<llvm::Value*>& inits, size_t pos, size_t offset); + ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////