Remove last traces of AsmBlockStatement

This commit is contained in:
kai 2015-03-01 17:33:08 +01:00
parent b39aa068fc
commit 0551f613e4
6 changed files with 1 additions and 21 deletions

View file

@ -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.

View file

@ -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);

View file

@ -41,9 +41,6 @@ class CompoundStatement;
class Parameter;
class StaticAssert;
class AsmStatement;
#if IN_LLVM
class AsmBlockStatement;
#endif
class GotoStatement;
class ScopeStatement;
class TryCatchStatement;

View file

@ -52,9 +52,6 @@ class DebugStatement;
class GotoStatement;
class LabelStatement;
class AsmStatement;
#if IN_LLVM
class AsmBlockStatement;
#endif
class CompoundAsmStatement;
class ImportStatement;

View file

@ -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

View file

@ -259,7 +259,6 @@ public:
}
void visit(AsmStatement *s) { }
void visit(ImportStatement *s) { }
void visit(AsmBlockStatement *s) { }
};
//////////////////////////////////////////////////////////////////////////////