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:
@@ -232,8 +232,8 @@ Statement Parser::parseStatement()
|
||||
}
|
||||
else
|
||||
{
|
||||
solAssert(elementary.type() == typeid(Instruction), "Invalid elementary operation.");
|
||||
return boost::get<Instruction>(elementary);
|
||||
solAssert(false, "Invalid elementary operation.");
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user