mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-11-24 18:03:53 +01:00
[svn r222] Forgot to remove volatile ATTENTION.
Fixed a few comment types. Forgot to add makefile for the basic GC.
This commit is contained in:
+2
-4
@@ -1157,9 +1157,7 @@ void VolatileStatement::toIR(IRState* p)
|
||||
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 @@ void VolatileStatement::toIR(IRState* p)
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user