Mercurial > projects > ldc
diff gen/toir.cpp @ 1367:8026319762be
Merged DMD 1.045 !!!
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Sat, 16 May 2009 22:21:31 +0200 |
parents | 8d501abecd24 |
children | 229e02867307 |
line wrap: on
line diff
--- a/gen/toir.cpp Sat May 16 18:37:16 2009 +0200 +++ b/gen/toir.cpp Sat May 16 22:21:31 2009 +0200 @@ -1632,7 +1632,7 @@ LLValue* mem = DtoNew(newtype); // init TypeStruct* ts = (TypeStruct*)ntype; - if (ts->isZeroInit()) { + if (ts->isZeroInit(ts->sym->loc)) { DtoAggrZeroInit(mem); } else { @@ -2662,7 +2662,6 @@ #define STUB(x) DValue *x::toElem(IRState * p) {error("Exp type "#x" not implemented: %s", toChars()); fatal(); return 0; } STUB(Expression); -STUB(TypeDotIdExp); STUB(ScopeExp); STUB(TupleExp);