diff gen/toir.cpp @ 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 69a5e4a6fc0f
line wrap: on
line diff
--- a/gen/toir.cpp	Sat Nov 29 18:28:32 2008 +0100
+++ b/gen/toir.cpp	Sat Nov 29 20:57:52 2008 +0100
@@ -2277,8 +2277,6 @@
 
 //////////////////////////////////////////////////////////////////////////////////////////
 
-void addZeros(std::vector<llvm::Value*>& inits, unsigned pos, unsigned offset);
-
 DValue* StructLiteralExp::toElem(IRState* p)
 {
     Logger::print("StructLiteralExp::toElem: %s | %s\n", toChars(), type->toChars());
@@ -2362,8 +2360,6 @@
 
 //////////////////////////////////////////////////////////////////////////////////////////
 
-void addZeros(std::vector<llvm::Constant*>& inits, unsigned pos, unsigned offset);
-
 LLConstant* StructLiteralExp::toConstElem(IRState* p)
 {
     Logger::print("StructLiteralExp::toConstElem: %s | %s\n", toChars(), type->toChars());