Temporary fixes for #60 and #59 until ldc1 frontend is not updated to the latest version

This commit is contained in:
Alexey Prokhin
2012-01-10 22:08:46 +04:00
parent 43365105ef
commit 43057c64ec
3 changed files with 4 additions and 4 deletions

View File

@@ -157,7 +157,7 @@ Module::Module(char *filename, Identifier *ident, int doDocComment, int doHdrGen
this->doDocComment = doDocComment;
this->doHdrGen = doHdrGen;
this->isRoot = false;
this->arrayfuncs = 0;
//this->arrayfuncs = 0;
#endif
}

View File

@@ -106,8 +106,8 @@ enum TY
Ttuple,
Tslice,
Treturn,
Tnull,
TMAX
TMAX,
Tnull
};
#define Tascii Tchar

View File

@@ -22,7 +22,7 @@ IrType::IrType(Type* dt, LLType* lt)
{
assert(dt && "null D Type");
assert(lt && "null LLVM Type");
#if !DMDV2
#if 0
// FIXME: For some reason the assert fails
assert(dt->irtype == NULL && "already has IrType");
#endif