libyul: AST cleanup, eliminating dead Instruction AST type.

This commit is contained in:
Christian Parpart
2019-11-01 12:32:25 +01:00
parent 42b8c98567
commit 112e63fe15
12 changed files with 3 additions and 37 deletions
-7
View File
@@ -39,13 +39,6 @@ using namespace yul;
//@TODO source locations
string AsmPrinter::operator()(yul::Instruction const& _instruction) const
{
solAssert(!m_yul, "");
solAssert(isValidInstruction(_instruction.instruction), "Invalid instruction");
return boost::to_lower_copy(instructionInfo(_instruction.instruction).name);
}
string AsmPrinter::operator()(Literal const& _literal) const
{
switch (_literal.kind)