Reverted some changes in the Tango patch, splitting asm block is simply not supported by llvm.

This commit is contained in:
Tomas Lindquist Olsen
2008-08-24 16:51:17 +02:00
parent fa6f277bdd
commit b41a80cefc
2 changed files with 54 additions and 32 deletions

View File

@@ -177,6 +177,9 @@ AsmStatement::toIR(IRState * irs)
Logger::println("AsmStatement::toIR(): %s", loc.toChars());
LOG_SCOPE;
// sanity check
assert(irs->func()->decl->inlineAsm);
// get asm block
IRAsmBlock* asmblock = irs->asmBlock;
assert(asmblock);