mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
libyul: AST cleanup, eliminating dead Instruction AST type.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user