Mercurial > projects > ldc
diff dmd/optimize.c @ 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 | e961851fb8be |
children | df11cdec45a2 |
line wrap: on
line diff
--- a/dmd/optimize.c Sat May 16 18:37:16 2009 +0200 +++ b/dmd/optimize.c Sat May 16 22:21:31 2009 +0200 @@ -292,7 +292,7 @@ if (vf) { e = sle->getField(type, vf->offset); - if (e != EXP_CANT_INTERPRET) + if (e && e != EXP_CANT_INTERPRET) return e; } } @@ -305,7 +305,7 @@ if (vf) { Expression *e = sle->getField(type, vf->offset); - if (e != EXP_CANT_INTERPRET) + if (e && e != EXP_CANT_INTERPRET) return e; } }