Add some no-op virtual destructors to silence GCC warning.

This commit is contained in:
David Nadlinger
2013-06-11 23:22:50 +02:00
parent 9a016a1002
commit 5b5ad8e0f7
2 changed files with 5 additions and 0 deletions

View File

@@ -139,6 +139,7 @@ int AsmStatement::comeFrom()
struct AsmParserCommon
{
virtual ~AsmParserCommon() {}
virtual void run(Scope* sc, AsmStatement* asmst) = 0;
virtual std::string getRegName(int i) = 0;
};