Mercurial > projects > ldc
diff gen/toir.cpp @ 219:761c8352f494 trunk
[svn r235] rough port of GDC's inline assembler code, unfinished
author | ChristianK |
---|---|
date | Thu, 05 Jun 2008 19:22:37 +0200 |
parents | df641a27e9fd |
children | 0db62b770a49 |
line wrap: on
line diff
--- a/gen/toir.cpp Thu Jun 05 06:43:34 2008 +0200 +++ b/gen/toir.cpp Thu Jun 05 19:22:37 2008 +0200 @@ -3148,6 +3148,7 @@ void obj_includelib(char*){} +/* this has moved to asmstmt.cpp AsmStatement::AsmStatement(Loc loc, Token *tokens) : Statement(loc) { @@ -3155,9 +3156,9 @@ } Statement *AsmStatement::syntaxCopy() { - /*error("%s: inline asm is not yet implemented", loc.toChars()); - fatal(); - assert(0);*/ + //error("%s: inline asm is not yet implemented", loc.toChars()); + //fatal(); + //assert(0); return 0; } @@ -3174,11 +3175,12 @@ int AsmStatement::comeFrom() { - /*error("%s: inline asm is not yet implemented", loc.toChars()); - fatal(); - assert(0);*/ + //error("%s: inline asm is not yet implemented", loc.toChars()); + //fatal(); + //assert(0); return 0; } +*/ void backend_init()