Remove superfluous Dsymbol::codegen overload.

This commit is contained in:
David Nadlinger
2013-10-12 23:14:07 +02:00
parent 7dff0bbe4b
commit e1abb01e55
2 changed files with 1 additions and 13 deletions

View File

@@ -189,11 +189,6 @@ struct Declaration : Dsymbol
enum PROT prot();
Declaration *isDeclaration() { return this; }
#if IN_LLVM
/// Codegen traversal
virtual void codegen(Ir* ir);
#endif
};
/**************************************************************/

View File

@@ -27,14 +27,7 @@
void Dsymbol::codegen(Ir*)
{
Logger::println("Ignoring Dsymbol::codegen for %s", toChars());
}
/* ================================================================== */
void Declaration::codegen(Ir*)
{
Logger::println("Ignoring Declaration::codegen for %s", toChars());
Logger::println("Ignoring Dsymbol::codegen for %s", toPrettyChars());
}
/* ================================================================== */