mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
Reverted some changes in the Tango patch, splitting asm block is simply not supported by llvm.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user