Mercurial > projects > ldc
diff gen/statements.cpp @ 206:cd2c9f4010e4 trunk
[svn r222] Forgot to remove volatile ATTENTION.
Fixed a few comment types.
Forgot to add makefile for the basic GC.
author | lindquist |
---|---|
date | Tue, 13 May 2008 18:07:03 +0200 |
parents | 9d44ec83acd1 |
children | 7816aafeea3c |
line wrap: on
line diff
--- a/gen/statements.cpp Tue May 13 17:58:11 2008 +0200 +++ b/gen/statements.cpp Tue May 13 18:07:03 2008 +0200 @@ -1157,9 +1157,7 @@ Logger::println("VolatileStatement::toIR(): %s", loc.toChars()); LOG_SCOPE; - Logger::attention(loc, "volatile is currently ignored. only the body will be emitted"); - - // mark in volate + // mark in-volatile bool old = gIR->func()->inVolatile; gIR->func()->inVolatile = true; @@ -1172,7 +1170,7 @@ // do statement statement->toIR(p); - // not point in a unreachable barrier, terminating statements should insert this themselves. + // no point in a unreachable barrier, terminating statements should insert this themselves. if (statement->fallOffEnd()) { // store-load