Mercurial > projects > ldc
diff gen/toir.cpp @ 866:cd87b3f15ccf
Automated merge with http://hg.dsource.org/projects/ldc
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 20 Dec 2008 09:15:46 +0100 |
parents | 2025c9a24efd |
children | af7a6faf9406 |
line wrap: on
line diff
--- a/gen/toir.cpp Thu Dec 18 19:24:33 2008 +0100 +++ b/gen/toir.cpp Sat Dec 20 09:15:46 2008 +0100 @@ -2712,7 +2712,7 @@ STUB(SymbolExp); #endif -#define CONSTSTUB(x) LLConstant* x::toConstElem(IRState * p) {error("const Exp type "#x" not implemented: '%s' type: '%s'", toChars(), type->toChars()); fatal(); return NULL; } +#define CONSTSTUB(x) LLConstant* x::toConstElem(IRState * p) {error("non-const expression '%s' or const Exp type "#x" not implemented", toChars()); fatal(); return NULL; } CONSTSTUB(Expression); CONSTSTUB(GEPExp); CONSTSTUB(SliceExp);