Mercurial > projects > ldc
comparison dmd/expression.c @ 1151:3cf0066e6faf
- Versioned Expresssion::toElem with #if IN_DMD/IN_LLVM.
- Eliminated the DLRValue DValue.
- Implemented proactive handling of l-value CastExpS.
- Minor tweak in runtime memory.d .
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Sat, 28 Mar 2009 05:00:43 +0100 |
parents | 1860414bf3b7 |
children | ab186e535e72 |
comparison
equal
deleted
inserted
replaced
1150:2a687353c84d | 1151:3cf0066e6faf |
---|---|
885 //printf("Expression::Expression(op = %d) this = %p\n", op, this); | 885 //printf("Expression::Expression(op = %d) this = %p\n", op, this); |
886 this->loc = loc; | 886 this->loc = loc; |
887 this->op = op; | 887 this->op = op; |
888 this->size = size; | 888 this->size = size; |
889 type = NULL; | 889 type = NULL; |
890 | |
891 #if IN_LLVM | |
892 cachedLvalue = NULL; | |
893 #endif | |
890 } | 894 } |
891 | 895 |
892 Expression *Expression::syntaxCopy() | 896 Expression *Expression::syntaxCopy() |
893 { | 897 { |
894 //printf("Expression::syntaxCopy()\n"); | 898 //printf("Expression::syntaxCopy()\n"); |