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
+1 -2
View File
@@ -27,7 +27,6 @@
namespace yul
{
struct Instruction;
struct Literal;
struct Label;
struct Identifier;
@@ -49,6 +48,6 @@ struct Block;
struct TypedName;
using Expression = boost::variant<FunctionalInstruction, FunctionCall, Identifier, Literal>;
using Statement = boost::variant<ExpressionStatement, Instruction, Assignment, VariableDeclaration, FunctionDefinition, If, Switch, ForLoop, Break, Continue, Leave, Block>;
using Statement = boost::variant<ExpressionStatement, Assignment, VariableDeclaration, FunctionDefinition, If, Switch, ForLoop, Break, Continue, Leave, Block>;
}