mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-06-07 01:04:10 +02:00
[svn r325] Removed dead code.
Added license info to code from GDC (David Friedman permitted us to use the files under the Artistic License). Added asmLabel check to DtoGoto to avoid jumping into inline asm. Doesn't work currently as LabelDsymbol::asmLabel is never set to true.
This commit is contained in:
@@ -1045,7 +1045,6 @@ void LabelStatement::toIR(IRState* p)
|
||||
if (p->asmBlock)
|
||||
{
|
||||
IRAsmStmt* a = new IRAsmStmt;
|
||||
// a->code = ".LDASM_";
|
||||
a->code += ident->toChars();
|
||||
a->code += ":";
|
||||
p->asmBlock->s.push_back(a);
|
||||
|
||||
Reference in New Issue
Block a user