Mercurial > projects > ldc
diff dmd/expression.h @ 588:870652a9af23
Constant fold structliteral.member again.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Fri, 12 Sep 2008 12:39:06 +0200 |
parents | fbb1a366cfbc |
children | 4435f57956e7 |
line wrap: on
line diff
--- a/dmd/expression.h Thu Sep 11 21:10:15 2008 +0200 +++ b/dmd/expression.h Fri Sep 12 12:39:06 2008 +0200 @@ -825,6 +825,11 @@ void toCBuffer(OutBuffer *buf, HdrGenState *hgs); void dump(int indent); elem *toElem(IRState *irs); + + //LLVMDC: since we don't convert abc.def -> *(&abc + ABC.def.offsetof) + // these are needed + Expression *optimize(int result); + Expression *interpret(InterState *istate); }; struct DotTemplateInstanceExp : UnaExp