mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 07:00:46 +03:00
Remove last traces of AsmBlockStatement
This commit is contained in:
parent
b39aa068fc
commit
0551f613e4
6 changed files with 1 additions and 21 deletions
|
@ -193,9 +193,6 @@ public:
|
|||
}
|
||||
void visit(AsmStatement *s) { }
|
||||
void visit(ImportStatement *s) { }
|
||||
#if IN_LLVM
|
||||
void visit(AsmBlockStatement *s) { }
|
||||
#endif
|
||||
};
|
||||
|
||||
/* Tweak all return statements and dtor call for nrvo_var, for correct NRVO.
|
||||
|
|
|
@ -681,16 +681,6 @@ public:
|
|||
// we can't compile asm statements
|
||||
}
|
||||
|
||||
#if IN_LLVM
|
||||
void visit(AsmBlockStatement *s)
|
||||
{
|
||||
#if LOGCOMPILE
|
||||
printf("%s AsmBlockStatement::ctfeCompile\n", s->loc.toChars());
|
||||
#endif
|
||||
// we can't compile asm statements
|
||||
}
|
||||
#endif
|
||||
|
||||
void ctfeCompile(Statement *s)
|
||||
{
|
||||
s->accept(this);
|
||||
|
|
|
@ -41,9 +41,6 @@ class CompoundStatement;
|
|||
class Parameter;
|
||||
class StaticAssert;
|
||||
class AsmStatement;
|
||||
#if IN_LLVM
|
||||
class AsmBlockStatement;
|
||||
#endif
|
||||
class GotoStatement;
|
||||
class ScopeStatement;
|
||||
class TryCatchStatement;
|
||||
|
|
|
@ -52,9 +52,6 @@ class DebugStatement;
|
|||
class GotoStatement;
|
||||
class LabelStatement;
|
||||
class AsmStatement;
|
||||
#if IN_LLVM
|
||||
class AsmBlockStatement;
|
||||
#endif
|
||||
class CompoundAsmStatement;
|
||||
class ImportStatement;
|
||||
|
||||
|
|
|
@ -482,7 +482,7 @@ static void remap_inargs(std::string& insnt, size_t nargs, size_t idx)
|
|||
|
||||
void CompoundAsmStatement_toIR(CompoundAsmStatement *stmt, IRState* p)
|
||||
{
|
||||
IF_LOG Logger::println("AsmBlockStatement::toIR(): %s", stmt->loc.toChars());
|
||||
IF_LOG Logger::println("CompoundAsmStatement::toIR(): %s", stmt->loc.toChars());
|
||||
LOG_SCOPE;
|
||||
|
||||
// disable inlining by default
|
||||
|
|
|
@ -259,7 +259,6 @@ public:
|
|||
}
|
||||
void visit(AsmStatement *s) { }
|
||||
void visit(ImportStatement *s) { }
|
||||
void visit(AsmBlockStatement *s) { }
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue