Constant fold structliteral.member again.

This commit is contained in:
Christian Kamm
2008-09-12 12:39:06 +02:00
parent bba1994b05
commit f0abdf860a
3 changed files with 47 additions and 0 deletions

View File

@@ -825,6 +825,11 @@ struct DotVarExp : UnaExp
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