Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
801:c8d9b30a0dc2 | 802:28ce72c60a21 |
---|---|
5 | 5 |
6 #include <vector> | 6 #include <vector> |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 struct IrInterface; | 9 struct IrInterface; |
10 | |
11 void addZeros(std::vector<const llvm::Type*>& inits, size_t pos, size_t offset); | |
12 void addZeros(std::vector<llvm::Constant*>& inits, size_t pos, size_t offset); | |
13 void addZeros(std::vector<llvm::Value*>& inits, size_t pos, size_t offset); | |
10 | 14 |
11 ////////////////////////////////////////////////////////////////////////////// | 15 ////////////////////////////////////////////////////////////////////////////// |
12 ////////////////////////////////////////////////////////////////////////////// | 16 ////////////////////////////////////////////////////////////////////////////// |
13 ////////////////////////////////////////////////////////////////////////////// | 17 ////////////////////////////////////////////////////////////////////////////// |
14 | 18 |