Fixed some problems with the addZeros forward declarations having type mismatches.

This commit is contained in:
Tomas Lindquist Olsen
2008-11-29 20:57:52 +01:00
parent 3a2e29d434
commit 4da2cf066e
5 changed files with 7 additions and 11 deletions

View File

@@ -2277,8 +2277,6 @@ LLConstant* ArrayLiteralExp::toConstElem(IRState* p)
//////////////////////////////////////////////////////////////////////////////////////////
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 @@ DValue* StructLiteralExp::toElem(IRState* p)
//////////////////////////////////////////////////////////////////////////////////////////
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());