Mercurial > projects > ldc
diff gen/statements.cpp @ 875:330f999ade44
Merged DMD 1.038
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 06 Jan 2009 16:33:51 +0100 |
parents | 7e59caf41433 |
children | 545f54041d91 |
line wrap: on
line diff
--- a/gen/statements.cpp Tue Jan 06 15:54:48 2009 +0100 +++ b/gen/statements.cpp Tue Jan 06 16:33:51 2009 +0100 @@ -1375,7 +1375,7 @@ statement->toIR(p); // no point in a unreachable barrier, terminating statements must insert this themselves. - if (statement->fallOffEnd()) + if (statement->blockExit() & BEfallthru) { // store-load DtoMemoryBarrier(false, false, true, false);