[svn r235] rough port of GDC's inline assembler code, unfinished

This commit is contained in:
Christian Kamm
2008-06-05 19:22:37 +02:00
parent d72ed8f5eb
commit 68d5150c1b
6 changed files with 3092 additions and 14 deletions
+4 -3
View File
@@ -1111,12 +1111,13 @@ void SynchronizedStatement::toIR(IRState* p)
//////////////////////////////////////////////////////////////////////////////
/* this has moved to asmstmt.cpp
void AsmStatement::toIR(IRState* p)
{
Logger::println("AsmStatement::toIR(): %s", loc.toChars());
LOG_SCOPE;
error("%s: inline asm is not yet implemented", loc.toChars());
fatal();
// error("%s: inline asm is not yet implemented", loc.toChars());
// fatal();
assert(!asmcode && !asmalign && !refparam && !naked && !regs);
@@ -1142,7 +1143,7 @@ void AsmStatement::toIR(IRState* p)
assert(0);
}
*/
//////////////////////////////////////////////////////////////////////////////
void VolatileStatement::toIR(IRState* p)