mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-11-03 15:47:26 +01:00
[svn r235] rough port of GDC's inline assembler code, unfinished
This commit is contained in:
+4
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user